sequince.steps.transition
=========================

.. py:module:: sequince.steps.transition


Classes
-------

.. autoapisummary::

   sequince.steps.transition.ImportanceTransition


Module Contents
---------------

.. py:class:: ImportanceTransition(kernel, *, normalize_after = True)

   Bases: :py:obj:`sequince.steps.base.SMCStep`


   Propagate particles and apply a joint importance-weight correction.

   The supplied :class:`~sequince.filtering.ImportanceKernel` samples one
   child per parent and computes the associated importance log-weight
   increment from the parent and child populations.

   The transition is one-to-one: it must preserve the particle population
   size. Moving particles invalidates any cached target evaluation while
   preserving their existing ancestry indices.


   .. py:property:: kernel
      :type: sequince.filtering.ImportanceKernel


      The transition kernel applied by this step.


   .. py:method:: apply(state, context, rng)


