Click or drag to resize
Accord.NET (logo)

BernoulliDistribution Constructor (Double)

Creates a new Bernoulli distribution.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
public BernoulliDistribution(
	[UnitAttribute] double mean
)
Request Example View Source

Parameters

mean
Type: SystemDouble
The probability of an observation being equal to 1. Default is 0.5
See Also