leaspy.algo.fit.mcmc_saem¶
This module defines the TensorMCMCSAEM class.
Classes¶
Main algorithm for MCMC-SAEM. |
Module Contents¶
- class TensorMcmcSaemAlgorithm(settings)[source]¶
Bases:
leaspy.algo.algo_with_device.AlgorithmWithDeviceMixin,leaspy.algo.algo_with_annealing.AlgorithmWithAnnealingMixin,leaspy.algo.algo_with_samplers.AlgorithmWithSamplersMixin,leaspy.algo.fit.base.FitAlgorithm[leaspy.models.McmcSaemCompatibleModel,leaspy.variables.state.State]Main algorithm for MCMC-SAEM.
- Parameters:
- settings
AlgorithmSettings MCMC fit algorithm settings
- settings
- Attributes:
- samplers
dict[str,AbstractSampler] Dictionary of samplers per each variable
- random_order_variables
bool(default True) This attribute controls whether we randomize the order of variables at each iteration. Article gives a reason on why we should activate this flag.
- temperature
float - temperature_inv
float Temperature and its inverse are modified during algorithm if annealing is used
- samplers
- Parameters:
settings (AlgorithmSettings)
See also
- name: AlgorithmName¶