|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.estimation.AbstractEstimator
@Deprecated public abstract class AbstractEstimator
Base class for implementing estimators.
This base class handles the boilerplates methods associated to thresholds settings, jacobian and error estimation.
Field Summary | |
---|---|
static int |
DEFAULT_MAX_COST_EVALUATIONS
Deprecated. Default maximal number of cost evaluations allowed. |
Method Summary | |
---|---|
abstract void |
estimate(EstimationProblem problem)
Deprecated. Solve an estimation problem. |
double |
getChiSquare(EstimationProblem problem)
Deprecated. Get the Chi-Square value. |
int |
getCostEvaluations()
Deprecated. Get the number of cost evaluations. |
double[][] |
getCovariances(EstimationProblem problem)
Deprecated. Get the covariance matrix of unbound estimated parameters. |
int |
getJacobianEvaluations()
Deprecated. Get the number of jacobian evaluations. |
double |
getRMS(EstimationProblem problem)
Deprecated. Get the Root Mean Square value. |
double[] |
guessParametersErrors(EstimationProblem problem)
Deprecated. Guess the errors in unbound estimated parameters. |
void |
setMaxCostEval(int maxCostEval)
Deprecated. Set the maximal number of cost evaluations allowed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_MAX_COST_EVALUATIONS
Method Detail |
---|
public final void setMaxCostEval(int maxCostEval)
maxCostEval
- maximal number of cost evaluations allowedestimate(org.apache.commons.math.estimation.EstimationProblem)
public final int getCostEvaluations()
public final int getJacobianEvaluations()
public double getRMS(EstimationProblem problem)
getRMS
in interface Estimator
problem
- estimation problem
Estimator.guessParametersErrors(EstimationProblem)
public double getChiSquare(EstimationProblem problem)
problem
- estimation problem
public double[][] getCovariances(EstimationProblem problem) throws EstimationException
getCovariances
in interface Estimator
problem
- estimation problem
EstimationException
- if the covariance matrix
cannot be computed (singular problem)public double[] guessParametersErrors(EstimationProblem problem) throws EstimationException
Guessing is covariance-based, it only gives rough order of magnitude.
guessParametersErrors
in interface Estimator
problem
- estimation problem
EstimationException
- if the covariances matrix cannot be computed
or the number of degrees of freedom is not positive (number of measurements
lesser or equal to number of parameters)Estimator.getRMS(EstimationProblem)
public abstract void estimate(EstimationProblem problem) throws EstimationException
The method should set the parameters of the problem to several
trial values until it reaches convergence. If this method returns
normally (i.e. without throwing an exception), then the best
estimate of the parameters can be retrieved from the problem
itself, through the EstimationProblem.getAllParameters
method.
estimate
in interface Estimator
problem
- estimation problem to solve
EstimationException
- if the problem cannot be solved
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |