public class GaussianEstimator extends AbstractMOAObject
| Modifier and Type | Field and Description |
|---|---|
protected double |
mean |
static double |
NORMAL_CONSTANT |
protected double |
varianceSum |
protected double |
weightSum |
| Constructor and Description |
|---|
GaussianEstimator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addObservation(double value,
double weight) |
void |
addObservations(GaussianEstimator obs) |
double[] |
estimatedWeight_LessThan_EqualTo_GreaterThan_Value(double value) |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
double |
getMean() |
double |
getStdDev() |
double |
getTotalWeightObserved() |
double |
getVariance() |
double |
probabilityDensity(double value) |
copy, copy, measureByteSize, measureByteSize, toStringprotected double weightSum
protected double mean
protected double varianceSum
public static final double NORMAL_CONSTANT
public void addObservation(double value,
double weight)
public void addObservations(GaussianEstimator obs)
public double getTotalWeightObserved()
public double getMean()
public double getStdDev()
public double getVariance()
public double probabilityDensity(double value)
public double[] estimatedWeight_LessThan_EqualTo_GreaterThan_Value(double value)
public void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.sb - the stringbuilder to add the descriptionindent - the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.