View effective-scan-and-while_loop-in-tf-and-jax-solutions.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View effective-scan-and-while_loop-in-tf-and-jax.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bayesian-time-series-analysis-with-tfp-on-jax-part-2.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bayesian-time-series-analysis-with-tfp-on-jax-part-1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View -pymcon-missing-value-handling.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View theano-jax-test-drive.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View fastest-em-estimation-for-gmm-in-python.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View mixture_tfp.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View tfp_nuts_demo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Dirichlet_random_area_plot.py
This file contains 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
import numpy as np | |
import scipy.stats as st | |
import matplotlib.pyplot as plt | |
plt.style.use('ggplot') | |
pmat = np.vstack([np.linspace(1, 20, 20), | |
np.linspace(2, 10, 20), | |
np.linspace(3, 5, 20)]).T | |
p = np.asarray([st.dirichlet.rvs(p_, 200) for p_ in pmat]) |
NewerOlder