Handy shortcut for using inference methods in functional way.
number of iterations
string name is case insensitive in:
‘advi’ for ADVI
‘fullrank_advi’ for FullRankADVI
‘svgd’ for Stein Variational Gradient Descent
‘asvgd’ for Amortized Stein Variational Gradient Descent
PyMC model for inference
additional kwargs passed to Inference
starting point for inference
starting standard deviation for inference, only available for method ‘advi’
Approximation
evaluate loss on each iteration or not
calls provided functions after each iteration step
whether to show progressbar or not
Custom theme for the progress bar
Number of monte carlo samples used for approximation of objective gradients
Number of monte carlo samples used for approximation of test function gradients
Optimizer that is used for objective params
Optimizer that is used for test function params
Add custom params for objective optimizer
Add custom params for test function optimizer
Add custom updates to resulting updates
Bounds gradient norm, prevents exploding gradient problem
Add kwargs to pytensor.function (e.g. {‘profile’: True})
Apply custom replacements before calculating gradients
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4