Class PoissonEstimator
Estimates a Poisson distribution from samples.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class PoissonEstimator : Estimator<Poisson>, Accumulator<Poisson>, Accumulator<double>, SettableTo<PoissonEstimator>, ICloneable
Methods
Add(Poisson)
Add a distribution sample to the estimator
Declaration
public void Add(Poisson item)
Parameters
| Type | Name | Description |
|---|---|---|
| Poisson | item | The item to add |
Remarks
Assumes a Com-Poisson precision of 1.0
Add(Double)
Add a domain sample to the estimator
Declaration
public void Add(double item)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | item |
Add(Double, Double)
Declaration
public void Add(double item, double weight)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | item | |
| Double | weight |
Clear()
Clear the estimator
Declaration
public void Clear()
Clone()
Clone this estimator
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| Object |
GetDistribution(Poisson)
Retrieves an estimation of the distribution
Declaration
public Poisson GetDistribution(Poisson result)
Parameters
| Type | Name | Description |
|---|---|---|
| Poisson | result |
Returns
| Type | Description |
|---|---|
| Poisson |
SetTo(PoissonEstimator)
Set this estimator to another
Declaration
public void SetTo(PoissonEstimator value)
Parameters
| Type | Name | Description |
|---|---|---|
| PoissonEstimator | value |