Categorical Constructor |
Name | Description | |
---|---|---|
Categorical(Double) | Initializes a new instance of the Categorical class. | |
Categorical(Histogram) | Initializes a new instance of the Categorical class from a histogram. The distribution will not be automatically updated when the histogram changes. The categorical distribution will have one value for each bucket and a probability for that value proportional to the bucket count. | |
Categorical(Double, Random) | Initializes a new instance of the Categorical class. |