net6.0-windows
namespace Microsoft.ML.Probabilistic.Distributions
{
[DataContract]
[Quality(QualityBand.Mature)]
public struct Bernoulli : CanGetAverageLog<Bernoulli>, CanGetLogAverageOf<Bernoulli>, CanGetLogAverageOfPower<Bernoulli>, CanGetLogNormalizer, CanGetLogProb<bool>, CanGetMean<double>, CanGetMode<bool>, CanGetVariance<double>, CanSetMean<double>, HasPoint<bool>, IDistribution, IDistribution<bool>, Sampleable<bool>, SettableToUniform, Diffable, SettableTo<Bernoulli>, SettableToPower<Bernoulli>, SettableToProduct<Bernoulli>, SettableToProduct<Bernoulli, Bernoulli>, SettableToRatio<Bernoulli>, SettableToRatio<Bernoulli, Bernoulli>, SettableToWeightedSum<Bernoulli>, SettableToWeightedSumExact<Bernoulli>, ICloneable
{
[Stochastic]
public static bool Sample(double probTrue);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assembly | Microsoft.ML.Probabilistic , Version=0.4.2403.801, PublicKeyToken=e4813102a62778da |
Referencing | Your project needs a package reference to |
Package | Microsoft.ML.Probabilistic (0.4.2403.801) netstandard2.0 |
Platform Restrictions | This API is supported on all platforms. |