This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### to reset permissions on a Mac OS X user folder: | |
# clear the immutable flag | |
sudo chflags -Rvv nouchg . | |
# remove ACLs and change owner to yourself | |
sudo chown -RN <your user name here> . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -rbase64 -pe '$_ = Base64.decode64($_)+$/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a version of the Sprinkler Bayesian Network example from | |
https://healthyalgorithms.com/2011/11/23/causal-modeling-in-python-bayesian-networks-in-pymc/ | |
translated from pymc to pymc3. | |
""" | |
from pymc3 import Model, Bernoulli, sample, traceplot | |
from pymc3.math import switch | |
from matplotlib.pyplot import savefig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Synopsis | |
## ======== | |
## | |
## Standalone R-Script to convert geostatistical population raster | |
## data (in CSV format) from Statistics Autria into MAT and CSV files. | |
## | |
## License | |
## ======= | |
## | |
## Copyright (c) 2015 Markus Strauss |
OlderNewer