@@ -18,13 +18,13 @@ in core TF.
18
18
19
19
__ Layer 1: Statistical Building Blocks__
20
20
21
- * Distributions ([ ` tfp.distributions ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/distributions ) ):
21
+ * Distributions ([ ` tfp.distributions ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/distributions ) ):
22
22
A large collection of probability
23
23
distributions and related statistics with batch and
24
24
[ broadcasting] ( https://docs.scipy.org/doc/numpy/user/basics.broadcasting.html )
25
25
semantics. See the
26
- [ Distributions Tutorial] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/TensorFlow_Distributions_Tutorial.ipynb ) .
27
- * Bijectors ([ ` tfp.bijectors ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/bijectors ) ):
26
+ [ Distributions Tutorial] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/TensorFlow_Distributions_Tutorial.ipynb ) .
27
+ * Bijectors ([ ` tfp.bijectors ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/bijectors ) ):
28
28
Reversible and composable transformations of random variables. Bijectors
29
29
provide a rich class of transformed distributions, from classical examples
30
30
like the
@@ -34,71 +34,71 @@ __Layer 1: Statistical Building Blocks__
34
34
35
35
__ Layer 2: Model Building__
36
36
37
- * Joint Distributions (e.g., [ ` tfp.distributions.JointDistributionSequential ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/distributions/joint_distribution_sequential.py ) ):
37
+ * Joint Distributions (e.g., [ ` tfp.distributions.JointDistributionSequential ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/distributions/joint_distribution_sequential.py ) ):
38
38
Joint distributions over one or more possibly-interdependent distributions.
39
39
For an introduction to modeling with TFP's ` JointDistribution ` s, check out
40
- [ this colab] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Modeling_with_JointDistribution.ipynb )
41
- * Probabilistic Layers ([ ` tfp.layers ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/layers ) ):
40
+ [ this colab] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Modeling_with_JointDistribution.ipynb )
41
+ * Probabilistic Layers ([ ` tfp.layers ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/layers ) ):
42
42
Neural network layers with uncertainty over the functions they represent,
43
43
extending TensorFlow Layers.
44
44
45
45
__ Layer 3: Probabilistic Inference__
46
46
47
- * Markov chain Monte Carlo ([ ` tfp.mcmc ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/mcmc ) ):
47
+ * Markov chain Monte Carlo ([ ` tfp.mcmc ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/mcmc ) ):
48
48
Algorithms for approximating integrals via sampling. Includes
49
49
[ Hamiltonian Monte Carlo] ( https://en.wikipedia.org/wiki/Hamiltonian_Monte_Carlo ) ,
50
50
random-walk Metropolis-Hastings, and the ability to build custom transition
51
51
kernels.
52
- * Variational Inference ([ ` tfp.vi ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/vi ) ):
52
+ * Variational Inference ([ ` tfp.vi ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/vi ) ):
53
53
Algorithms for approximating integrals via optimization.
54
- * Optimizers ([ ` tfp.optimizer ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/python/optimizer ) ):
54
+ * Optimizers ([ ` tfp.optimizer ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/python/optimizer ) ):
55
55
Stochastic optimization methods, extending TensorFlow Optimizers. Includes
56
56
[ Stochastic Gradient Langevin Dynamics] ( http://www.icml-2011.org/papers/398_icmlpaper.pdf ) .
57
- * Monte Carlo ([ ` tfp.monte_carlo ` ] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/python/monte_carlo ) ):
57
+ * Monte Carlo ([ ` tfp.monte_carlo ` ] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/python/monte_carlo ) ):
58
58
Tools for computing Monte Carlo expectations.
59
59
60
60
TensorFlow Probability is under active development. Interfaces may change at any
61
61
time.
62
62
63
63
## Examples
64
64
65
- See [ ` tensorflow_probability/examples/ ` ] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/ )
65
+ See [ ` tensorflow_probability/examples/ ` ] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/ )
66
66
for end-to-end examples. It includes tutorial notebooks such as:
67
67
68
- * [ Linear Mixed Effects Models] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Linear_Mixed_Effects_Models.ipynb ) .
68
+ * [ Linear Mixed Effects Models] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Linear_Mixed_Effects_Models.ipynb ) .
69
69
A hierarchical linear model for sharing statistical strength across examples.
70
- * [ Eight Schools] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Eight_Schools.ipynb ) .
70
+ * [ Eight Schools] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Eight_Schools.ipynb ) .
71
71
A hierarchical normal model for exchangeable treatment effects.
72
- * [ Hierarchical Linear Models] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/HLM_TFP_R_Stan.ipynb ) .
72
+ * [ Hierarchical Linear Models] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/HLM_TFP_R_Stan.ipynb ) .
73
73
Hierarchical linear models compared among TensorFlow Probability, R, and Stan.
74
- * [ Bayesian Gaussian Mixture Models] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Bayesian_Gaussian_Mixture_Model.ipynb ) .
74
+ * [ Bayesian Gaussian Mixture Models] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Bayesian_Gaussian_Mixture_Model.ipynb ) .
75
75
Clustering with a probabilistic generative model.
76
- * [ Probabilistic Principal Components Analysis] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Probabilistic_PCA.ipynb ) .
76
+ * [ Probabilistic Principal Components Analysis] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Probabilistic_PCA.ipynb ) .
77
77
Dimensionality reduction with latent variables.
78
- * [ Gaussian Copulas] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Gaussian_Copula.ipynb ) .
78
+ * [ Gaussian Copulas] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Gaussian_Copula.ipynb ) .
79
79
Probability distributions for capturing dependence across random variables.
80
- * [ TensorFlow Distributions: A Gentle Introduction] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/TensorFlow_Distributions_Tutorial.ipynb ) .
80
+ * [ TensorFlow Distributions: A Gentle Introduction] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/TensorFlow_Distributions_Tutorial.ipynb ) .
81
81
Introduction to TensorFlow Distributions.
82
- * [ Understanding TensorFlow Distributions Shapes] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/Understanding_TensorFlow_Distributions_Shapes.ipynb ) .
82
+ * [ Understanding TensorFlow Distributions Shapes] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/Understanding_TensorFlow_Distributions_Shapes.ipynb ) .
83
83
How to distinguish between samples, batches, and events for arbitrarily shaped
84
84
probabilistic computations.
85
- * [ TensorFlow Probability Case Study: Covariance Estimation] ( https://github.com/tensorflow/probability/blob/master /tensorflow_probability/examples/jupyter_notebooks/TensorFlow_Probability_Case_Study_Covariance_Estimation.ipynb ) .
85
+ * [ TensorFlow Probability Case Study: Covariance Estimation] ( https://github.com/tensorflow/probability/blob/main /tensorflow_probability/examples/jupyter_notebooks/TensorFlow_Probability_Case_Study_Covariance_Estimation.ipynb ) .
86
86
A user's case study in applying TensorFlow Probability to estimate covariances.
87
87
88
88
It also includes example scripts such as:
89
89
90
- * [ Variational Autoencoders] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/vae.py ) .
90
+ * [ Variational Autoencoders] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/vae.py ) .
91
91
Representation learning with a latent code and variational inference.
92
- * [ Vector-Quantized Autoencoder] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/vq_vae.py ) .
92
+ * [ Vector-Quantized Autoencoder] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/vq_vae.py ) .
93
93
Discrete representation learning with vector quantization.
94
- * [ Disentangled Sequential Variational Autoencoder] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/disentangled_vae.py )
94
+ * [ Disentangled Sequential Variational Autoencoder] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/disentangled_vae.py )
95
95
Disentangled representation learning over sequences with variational inference.
96
96
* Latent Dirichlet Allocation
97
- ([ Distributions version] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/latent_dirichlet_allocation_distributions.py ) ,
97
+ ([ Distributions version] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/latent_dirichlet_allocation_distributions.py ) ,
98
98
Mixed membership modeling for capturing topics in a document.
99
- * [ Bayesian Neural Networks] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/bayesian_neural_network.py ) .
99
+ * [ Bayesian Neural Networks] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/bayesian_neural_network.py ) .
100
100
Neural networks with uncertainty over their weights.
101
- * [ Bayesian Logistic Regression] ( https://github.com/tensorflow/probability/tree/master /tensorflow_probability/examples/logistic_regression.py ) .
101
+ * [ Bayesian Logistic Regression] ( https://github.com/tensorflow/probability/tree/main /tensorflow_probability/examples/logistic_regression.py ) .
102
102
Bayesian inference for binary classification.
103
103
104
104
## Installation
0 commit comments