Random Variables

A set of random variable classes with sampling methods.

RandomVariable

class autolab_core.RandomVariable(num_prealloc_samples=0)

Abstract base class for random variables.

BernoulliRV

class autolab_core.BernoulliRV(p, *args, **kwargs)

A Bernoulli random variable.

GaussianRV

class autolab_core.GaussianRV(mu, sigma, *args, **kwargs)

A Gaussian random variable.

ArtificialRV

class autolab_core.ArtificialRV(obj, *args, **kwargs)

A fake RV that deterministically returns the given object.

ArtificialSingleRV

class autolab_core.ArtificialSingleRV(obj, *args, **kwargs)

A single ArtificialRV.