meld.system.param_sampling.DiscreteParameter

class meld.system.param_sampling.DiscreteParameter(name, index, sampler, prior)[source]

Bases: Parameter[int]

__init__(name, index, sampler, prior)[source]

Methods

__init__(name, index, sampler, prior)

is_valid(value)

rtype

bool

log_prior(value, alpha)

rtype

float

sample(value)

rtype

int

Attributes

max

min