API Reference

Study types

Study
HyperStudy
ChangepointStudy
OnlineStudy

Note

These Study classes are imported directly into the module namespace for convenient access.

import bayesloop as bl
S = bl.Study()

Observation models

SymPy
SciPy
NumPy
Bernoulli
Poisson
Gaussian
GaussianMean
WhiteNoise
AR1
ScaledAR1

Note

You can use the short-form om to access all observation models:

import bayesloop as bl
L = bl.om.SymPy(...)

Transition models

Static
Deterministic
GaussianRandomWalk
AlphaStableRandomWalk
ChangePoint
RegimeSwitch
Independent
NotEqual
CombinedTransitionModel
SerialTransitionModel

Note

You can use the short-form tm to access all transition models:

import bayesloop as bl
T = bl.tm.ChangePoint(...)

File I/O

Note

Both file I/O functions are imported directly into the module namespace for convenient access.

import bayesloop as bl
S = bl.Study()
...
bl.save('test.bl', S)
...
S = bl.load('test.bl')

Probability Parser