Class ContinuousDistribution
Represents a continuous (real-valued) parameter distribution.
public class ContinuousDistribution : ParameterDistribution
- Inheritance
-
ContinuousDistribution
- Inherited Members
Properties
DistributionType
Gets the type of distribution.
public override string DistributionType { get; }
Property Value
LogScale
Gets or sets whether to use log scale for sampling.
public bool LogScale { get; set; }
Property Value
Remarks
For Beginners: Log scale is useful for parameters that span several orders of magnitude, like learning rate (0.0001 to 0.1). It ensures you sample evenly across the range.
Max
Gets or sets the maximum value.
public double Max { get; set; }
Property Value
Min
Gets or sets the minimum value.
public double Min { get; set; }
Property Value
Methods
Sample(Random)
Samples a value from this distribution.
public override object Sample(Random random)
Parameters
randomRandom