Class CategoricalDistribution
Represents a categorical (discrete choice) parameter distribution.
public class CategoricalDistribution : ParameterDistribution
- Inheritance
-
CategoricalDistribution
- Inherited Members
Properties
Choices
Gets or sets the list of possible choices.
public List<object> Choices { get; set; }
Property Value
DistributionType
Gets the type of distribution.
public override string DistributionType { get; }
Property Value
Methods
Sample(Random)
Samples a value from this distribution.
public override object Sample(Random random)
Parameters
randomRandom