Class SimpleEstimationProblem
java.lang.Object
org.apache.commons.math.estimation.SimpleEstimationProblem
- All Implemented Interfaces:
EstimationProblem
Deprecated.
as of 2.0, everything in package org.apache.commons.math.estimation has
been deprecated and replaced by package org.apache.commons.math.optimization.general
Simple implementation of the
EstimationProblem
interface for boilerplate data handling.
This class only handles parameters and measurements
storage and unbound parameters filtering. It does not compute
anything by itself. It should either be used with measurements
implementation that are smart enough to know about the
various parameters in order to compute the partial derivatives
appropriately. Since the problem-specific logic is mainly related to
the various measurements models, the simplest way to use this class
is by extending it and using one internal class extending
WeightedMeasurement
for each measurement
type. The instances of the internal classes would have access to the
various parameters and their current estimate.
- Since:
- 1.2
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Build an empty instance without parameters nor measurements. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get all the parameters of the problem.Deprecated.Get the measurements of an estimation problem.Deprecated.Get the unbound parameters of the problem.
-
Constructor Details
-
SimpleEstimationProblem
public SimpleEstimationProblem()Deprecated.Build an empty instance without parameters nor measurements.
-
-
Method Details
-
getAllParameters
Deprecated.Get all the parameters of the problem.- Specified by:
getAllParameters
in interfaceEstimationProblem
- Returns:
- parameters
-
getUnboundParameters
Deprecated.Get the unbound parameters of the problem.- Specified by:
getUnboundParameters
in interfaceEstimationProblem
- Returns:
- unbound parameters
-
getMeasurements
Deprecated.Get the measurements of an estimation problem.- Specified by:
getMeasurements
in interfaceEstimationProblem
- Returns:
- measurements
-