effective_number_of_events

probnum.filtsmooth.particle.effective_number_of_events(categ_rv)[source]

Approximate effective number of events in the support of a categorical random variable.

In a particle filter, this is used as the effective number of particles which may indicate the need for resampling.

Parameters:

categ_rv (Categorical) –

Return type:

float