Interface SettableToPartialUniform<TDist>
Whether the distribution can be set to be uniform over the support of another distribution.
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface SettableToPartialUniform<in TDist>
Type Parameters
| Name | Description |
|---|---|
| TDist |
Methods
IsPartialUniform()
Checks whether the distribution is uniform over its support.
Declaration
bool IsPartialUniform()
Returns
| Type | Description |
|---|---|
| Boolean | True if the distribution is uniform over its support, false otherwise. |
SetToPartialUniform()
Sets the distribution to be uniform over its support.
Declaration
void SetToPartialUniform()
SetToPartialUniformOf(TDist)
Sets the distribution to be uniform over the support of a given distribution.
Declaration
void SetToPartialUniformOf(TDist dist)
Parameters
| Type | Name | Description |
|---|---|---|
| TDist | dist | The distribution which support will be used to setup the current distribution. |