Extends FullRunningAverage to add a running standard deviation computation.
Uses Welford's method, as described at http://www.johndcook.com/standard_deviation.html
Inheritance Hierarchy
NReco.CF.Taste.Impl.Common FullRunningAverage
NReco.CF.Taste.Impl.Common FullRunningAverageAndStdDev
Namespace: NReco.CF.Taste.Impl.Common
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The FullRunningAverageAndStdDev type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FullRunningAverageAndStdDev | Initializes a new instance of the FullRunningAverageAndStdDev class | |
FullRunningAverageAndStdDev(Int32, Double, Double, Double) | Initializes a new instance of the FullRunningAverageAndStdDev class |
Methods
Name | Description | |
---|---|---|
AddDatum | (Overrides FullRunningAverage AddDatum(Double).) | |
ChangeDatum | (Overrides FullRunningAverage ChangeDatum(Double).) | |
Equals | (Inherited from Object.) | |
GetAverage | (Inherited from FullRunningAverage.) | |
GetCount | (Inherited from FullRunningAverage.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
getMk | ||
getSk | ||
GetStandardDeviation | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Inverse | ||
RemoveDatum | (Overrides FullRunningAverage RemoveDatum(Double).) | |
ToString | (Overrides FullRunningAverage ToString .) |
See Also