Source code for ConfigSpace.api.distributions

from dataclasses import dataclass

[docs]@dataclass class Distribution: """Base distribution type""" pass
[docs]@dataclass class Uniform(Distribution): """A uniform distribution""" pass
[docs]@dataclass class Normal(Distribution): """Represents a normal distribution. Parameters ---------- mu: float The mean of the distribution sigma: float The standard deviation of the float """ mu: float sigma: float
[docs]@dataclass class Beta(Distribution): """Represents a beta distribution. Parameters ---------- alpha: float The alpha parameter of a beta distribution beta: float The beta parameter of a beta distribution """ alpha: float beta: float