Skip to main content
Back to top
Ctrl
+
K
Search
Ctrl
+
K
Guides
Model Building (liesel.model)
Var
Var.info
Var.auto_transform
Var.dist_node
Var.groups
Var.has_dist
Var.log_prob
Var.model
Var.name
Var.nodes
Var.observed
Var.parameter
Var.role
Var.strong
Var.value
Var.value_node
Var.var_value_node
Var.weak
Dist
Dist.at
Dist.distribution
Dist.groups
Dist.inputs
Dist.kwinputs
Dist.log_prob
Dist.model
Dist.name
Dist.needs_seed
Dist.outdated
Dist.outputs
Dist.per_obs
Dist.state
Dist.value
Dist.var
Dist.monitor
Model
Model.auto_update
Model.log_lik
Model.log_prior
Model.log_prob
Model.node_graph
Model.nodes
Model.state
Model.var_graph
Model.vars
plot_vars()
GraphBuilder
GraphBuilder.log_lik_node
GraphBuilder.log_prior_node
GraphBuilder.log_prob_node
GraphBuilder.nodes
GraphBuilder.vars
plot_nodes()
MCMC Sampling (liesel.goose)
LieselInterface
DataclassInterface
DictInterface
NamedTupleInterface
PyMCInterface
OptimResult
EngineBuilder
EngineBuilder.add_kernel()
EngineBuilder.add_quantity_generator()
EngineBuilder.build()
EngineBuilder.set_duration()
EngineBuilder.set_engine_seed()
EngineBuilder.set_epochs()
EngineBuilder.set_initial_values()
EngineBuilder.set_jitter_fns()
EngineBuilder.set_model()
EngineBuilder.engine_seed
EngineBuilder.epochs
EngineBuilder.jitter_fns
EngineBuilder.kernels
EngineBuilder.model_state
EngineBuilder.quantity_generators
EngineBuilder.show_progress
EngineBuilder.positions_included
EngineBuilder.positions_excluded
Engine
Engine.current_epoch
RWKernel
RWKernel.error_book
RWKernel.identifier
RWKernel.needs_history
RWKernel.position_keys
IWLSKernel
IWLSKernel.error_book
IWLSKernel.identifier
IWLSKernel.needs_history
IWLSKernel.position_keys
HMCKernel
HMCKernel.error_book
HMCKernel.identifier
HMCKernel.needs_history
HMCKernel.position_keys
NUTSKernel
NUTSKernel.error_book
NUTSKernel.identifier
NUTSKernel.needs_history
NUTSKernel.position_keys
GibbsKernel
GibbsKernel.error_book
GibbsKernel.identifier
GibbsKernel.needs_history
GibbsKernel.position_keys
SamplingResults
SamplingResults.positions
SamplingResults.transition_infos
SamplingResults.generated_quantities
SamplingResults.tuning_infos
SamplingResults.kernel_states
SamplingResults.full_model_states
SamplingResults.kernel_classes
SamplingResults.kernels_by_pos_key
Summary
Summary.per_chain
Summary.quantities
Summary.config
Summary.sample_info
Summary.error_summary
Summary.kernels_by_pos_key
plot_param()
plot_trace()
plot_density()
plot_pairs()
plot_cor()
Tutorials
Linear regression
Parameter transformations
Location-scale regression
GEV responses
Comparing samplers
Reproducibility
PyMC and Liesel: Spike and Slab
Advanced Group Usage
API Reference
liesel.model
liesel.model.distreg
beta_jitter_fn()
dist_reg_mcmc()
tau2_gibbs_kernel()
tau2_jitter_fn()
DistRegBuilder
DistRegBuilder.log_lik_node
DistRegBuilder.log_prior_node
DistRegBuilder.log_prob_node
DistRegBuilder.response
DistRegBuilder.nodes
DistRegBuilder.vars
liesel.model.goose
finite_discrete_gibbs_kernel()
GooseModel
liesel.model.legacy
Addition()
Bijector()
ColumnStack()
DesignMatrix()
Hyperparameter()
InverseLink()
Obs()
PIT()
Param()
Parameter()
Predictor()
RegressionCoef()
Response()
Smooth()
SmoothingParam()
PITCalc
PITCalc.groups
PITCalc.inputs
PITCalc.kwinputs
PITCalc.model
PITCalc.name
PITCalc.needs_seed
PITCalc.outdated
PITCalc.outputs
PITCalc.state
PITCalc.value
PITCalc.var
PITCalc.monitor
liesel.model.model
load_model()
save_model()
GraphBuilder
GraphBuilder.log_lik_node
GraphBuilder.log_prior_node
GraphBuilder.log_prob_node
GraphBuilder.nodes
GraphBuilder.vars
Model
Model.auto_update
Model.log_lik
Model.log_prior
Model.log_prob
Model.node_graph
Model.nodes
Model.state
Model.var_graph
Model.vars
liesel.model.nodes
obs()
param()
add_group()
Calc
Calc.function
Calc.groups
Calc.inputs
Calc.kwinputs
Calc.model
Calc.name
Calc.needs_seed
Calc.outdated
Calc.outputs
Calc.state
Calc.value
Calc.var
Calc.monitor
Value
Value.groups
Value.inputs
Value.kwinputs
Value.model
Value.name
Value.needs_seed
Value.outdated
Value.outputs
Value.state
Value.value
Value.var
Value.monitor
Dist
Dist.at
Dist.distribution
Dist.groups
Dist.inputs
Dist.kwinputs
Dist.log_prob
Dist.model
Dist.name
Dist.needs_seed
Dist.outdated
Dist.outputs
Dist.per_obs
Dist.state
Dist.value
Dist.var
Dist.monitor
Group
Group.name
Group.nodes
Group.nodes_and_vars
Group.vars
InputGroup
InputGroup.groups
InputGroup.inputs
InputGroup.kwinputs
InputGroup.model
InputGroup.name
InputGroup.needs_seed
InputGroup.outdated
InputGroup.outputs
InputGroup.state
InputGroup.value
InputGroup.var
InputGroup.monitor
Node
Node.groups
Node.inputs
Node.kwinputs
Node.model
Node.name
Node.needs_seed
Node.outdated
Node.outputs
Node.state
Node.value
Node.var
Node.monitor
NodeState
NodeState.extra
NodeState.outdated
NodeState.value
TransientCalc
TransientCalc.function
TransientCalc.groups
TransientCalc.inputs
TransientCalc.kwinputs
TransientCalc.model
TransientCalc.name
TransientCalc.needs_seed
TransientCalc.outdated
TransientCalc.outputs
TransientCalc.state
TransientCalc.value
TransientCalc.var
TransientCalc.monitor
TransientDist
TransientDist.at
TransientDist.distribution
TransientDist.groups
TransientDist.inputs
TransientDist.kwinputs
TransientDist.log_prob
TransientDist.model
TransientDist.name
TransientDist.needs_seed
TransientDist.outdated
TransientDist.outputs
TransientDist.per_obs
TransientDist.state
TransientDist.value
TransientDist.var
TransientDist.monitor
TransientIdentity
TransientIdentity.function
TransientIdentity.groups
TransientIdentity.inputs
TransientIdentity.kwinputs
TransientIdentity.model
TransientIdentity.name
TransientIdentity.needs_seed
TransientIdentity.outdated
TransientIdentity.outputs
TransientIdentity.state
TransientIdentity.value
TransientIdentity.var
TransientIdentity.monitor
TransientNode
TransientNode.groups
TransientNode.inputs
TransientNode.kwinputs
TransientNode.model
TransientNode.name
TransientNode.needs_seed
TransientNode.outdated
TransientNode.outputs
TransientNode.state
TransientNode.value
TransientNode.var
TransientNode.monitor
Var
Var.info
Var.auto_transform
Var.dist_node
Var.groups
Var.has_dist
Var.log_prob
Var.model
Var.name
Var.nodes
Var.observed
Var.parameter
Var.role
Var.strong
Var.value
Var.value_node
Var.var_value_node
Var.weak
liesel.model.viz
plot_nodes()
plot_vars()
liesel.goose
history_to_df()
plot_cor()
plot_density()
plot_param()
plot_trace()
plot_scatter()
plot_pairs()
stan_epochs()
optim_flat()
DictInterface
DictInterface.extract_position()
DictInterface.log_prob()
DictInterface.update_state()
DataclassInterface
DataclassInterface.extract_position()
DataclassInterface.log_prob()
DataclassInterface.update_state()
DictModel
DictModel.extract_position()
DictModel.log_prob()
DictModel.update_state()
DataClassModel
DataClassModel.extract_position()
DataClassModel.log_prob()
DataClassModel.update_state()
LieselInterface
LieselInterface.extract_position()
LieselInterface.log_prob()
LieselInterface.update_state()
Engine
Engine.append_epoch()
Engine.get_results()
Engine.is_sampling_done()
Engine.sample_all_epochs()
Engine.sample_next_epoch()
Engine.current_epoch
EngineBuilder
EngineBuilder.add_kernel()
EngineBuilder.add_quantity_generator()
EngineBuilder.build()
EngineBuilder.set_duration()
EngineBuilder.set_engine_seed()
EngineBuilder.set_epochs()
EngineBuilder.set_initial_values()
EngineBuilder.set_jitter_fns()
EngineBuilder.set_model()
EngineBuilder.engine_seed
EngineBuilder.epochs
EngineBuilder.jitter_fns
EngineBuilder.kernels
EngineBuilder.model_state
EngineBuilder.quantity_generators
EngineBuilder.show_progress
EngineBuilder.positions_included
EngineBuilder.positions_excluded
EpochConfig
EpochConfig.to_state()
EpochConfig.type
EpochConfig.duration
EpochConfig.thinning
EpochConfig.optional
EpochType
EpochType.conjugate()
EpochType.bit_length()
EpochType.bit_count()
EpochType.to_bytes()
EpochType.from_bytes()
EpochType.as_integer_ratio()
EpochType.is_adaptation()
EpochType.is_warmup()
EpochType.real
EpochType.imag
EpochType.numerator
EpochType.denominator
EpochType.INITIAL_VALUES
EpochType.FAST_ADAPTATION
EpochType.SLOW_ADAPTATION
EpochType.BURNIN
EpochType.POSTERIOR
GibbsKernel
GibbsKernel.end_epoch()
GibbsKernel.end_warmup()
GibbsKernel.has_model()
GibbsKernel.init_state()
GibbsKernel.log_prob_fn()
GibbsKernel.position()
GibbsKernel.set_model()
GibbsKernel.start_epoch()
GibbsKernel.transition()
GibbsKernel.tune()
GibbsKernel.error_book
GibbsKernel.identifier
GibbsKernel.model
GibbsKernel.needs_history
GibbsKernel.position_keys
HMCKernel
HMCKernel.end_epoch()
HMCKernel.end_warmup()
HMCKernel.has_model()
HMCKernel.init_state()
HMCKernel.log_prob_fn()
HMCKernel.position()
HMCKernel.set_model()
HMCKernel.start_epoch()
HMCKernel.transition()
HMCKernel.tune()
HMCKernel.error_book
HMCKernel.identifier
HMCKernel.model
HMCKernel.needs_history
HMCKernel.position_keys
IWLSKernel
IWLSKernel.end_epoch()
IWLSKernel.end_warmup()
IWLSKernel.has_model()
IWLSKernel.init_state()
IWLSKernel.log_prob_fn()
IWLSKernel.position()
IWLSKernel.set_model()
IWLSKernel.start_epoch()
IWLSKernel.transition()
IWLSKernel.tune()
IWLSKernel.error_book
IWLSKernel.identifier
IWLSKernel.model
IWLSKernel.needs_history
IWLSKernel.position_keys
MHKernel
MHKernel.end_epoch()
MHKernel.end_warmup()
MHKernel.has_model()
MHKernel.init_state()
MHKernel.log_prob_fn()
MHKernel.position()
MHKernel.set_model()
MHKernel.start_epoch()
MHKernel.transition()
MHKernel.tune()
MHKernel.error_book
MHKernel.identifier
MHKernel.model
MHKernel.needs_history
MHKernel.position_keys
MHProposal
MHProposal.count()
MHProposal.index()
MHProposal.log_correction
MHProposal.position
ModelInterface
ModelInterface.extract_position()
ModelInterface.log_prob()
ModelInterface.update_state()
NamedTupleInterface
NamedTupleInterface.extract_position()
NamedTupleInterface.log_prob()
NamedTupleInterface.update_state()
NUTSKernel
NUTSKernel.end_epoch()
NUTSKernel.end_warmup()
NUTSKernel.has_model()
NUTSKernel.init_state()
NUTSKernel.log_prob_fn()
NUTSKernel.position()
NUTSKernel.set_model()
NUTSKernel.start_epoch()
NUTSKernel.transition()
NUTSKernel.tune()
NUTSKernel.error_book
NUTSKernel.identifier
NUTSKernel.model
NUTSKernel.needs_history
NUTSKernel.position_keys
Stopper
Stopper.continue_()
Stopper.stop_early()
Stopper.stop_now()
Stopper.which_best_in_recent_history()
Stopper.atol
Stopper.rtol
Stopper.max_iter
Stopper.patience
RWKernel
RWKernel.end_epoch()
RWKernel.end_warmup()
RWKernel.has_model()
RWKernel.init_state()
RWKernel.log_prob_fn()
RWKernel.position()
RWKernel.set_model()
RWKernel.start_epoch()
RWKernel.transition()
RWKernel.tune()
RWKernel.error_book
RWKernel.identifier
RWKernel.model
RWKernel.needs_history
RWKernel.position_keys
Summary
Summary.error_df()
Summary.from_result()
Summary.from_results()
Summary.to_dataframe()
Summary.per_chain
Summary.quantities
Summary.config
Summary.sample_info
Summary.error_summary
Summary.kernels_by_pos_key
SamplingResults
SamplingResults.get_error_log()
SamplingResults.get_kernels_by_pos_key()
SamplingResults.get_posterior_samples()
SamplingResults.get_posterior_transition_infos()
SamplingResults.get_samples()
SamplingResults.get_tuning_times()
SamplingResults.pkl_load()
SamplingResults.pkl_save()
SamplingResults.positions
SamplingResults.transition_infos
SamplingResults.generated_quantities
SamplingResults.tuning_infos
SamplingResults.kernel_states
SamplingResults.full_model_states
SamplingResults.kernel_classes
SamplingResults.kernels_by_pos_key
OptimResult
OptimResult.model_state
OptimResult.position
OptimResult.iteration
OptimResult.iteration_best
OptimResult.history
OptimResult.max_iter
OptimResult.n_train
OptimResult.n_validation
liesel.contrib
liesel.contrib.splines
basis_matrix()
equidistant_knots()
pspline_penalty()
liesel.distributions
liesel.distributions.copulas
GaussianCopula
liesel.distributions.mvn_degen
MultivariateNormalDegenerate
MultivariateNormalDegenerate.eig
MultivariateNormalDegenerate.loc
MultivariateNormalDegenerate.log_pdet
MultivariateNormalDegenerate.prec
MultivariateNormalDegenerate.rank
liesel.bijectors
liesel.bijectors.algebraic_sigmoid
AlgebraicSigmoid
Experimental API
liesel.experimental
liesel.experimental.arviz
to_arviz_inference_data()
liesel.experimental.pymc
PyMCInterface
.rst
.pdf
tau2_jitter_fn()
Contents
tau2_jitter_fn()
tau2_jitter_fn()
#
liesel.model.distreg.
tau2_jitter_fn
(
key
,
val
)
#
Contents
tau2_jitter_fn()