Package com.irurueta.numerical
Class AccurateMaximumLikelihoodEstimator.EvaluatorListener
java.lang.Object
com.irurueta.numerical.AccurateMaximumLikelihoodEstimator.EvaluatorListener
- All Implemented Interfaces:
SingleDimensionFunctionEvaluatorListener
- Enclosing class:
- AccurateMaximumLikelihoodEstimator
private class AccurateMaximumLikelihoodEstimator.EvaluatorListener
extends Object
implements SingleDimensionFunctionEvaluatorListener
Internal class used by the BrentSingleOptimizer in order to evaluate
the aggregation of Gaussians for all the samples in input data array with
a high degree of precision.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(double point) Evaluates the aggregation of Gaussians for all the samples in input data array, by assuming that each sample has an associated small Gaussian centered at the sample value and with a small sigma value.
-
Constructor Details
-
EvaluatorListener
private EvaluatorListener()
-
-
Method Details
-
evaluate
public double evaluate(double point) Evaluates the aggregation of Gaussians for all the samples in input data array, by assuming that each sample has an associated small Gaussian centered at the sample value and with a small sigma value. The aggregation of Gaussians will generate the averaged PDF function of all the input values.- Specified by:
evaluate
in interfaceSingleDimensionFunctionEvaluatorListener
- Parameters:
point
- Point where the aggregation of Gaussians will be evaluated- Returns:
- The value of the aggregation of samples at provided point.
-