Class EnKFParameterEstimator.EnKFResult
java.lang.Object
neqsim.process.calibration.EnKFParameterEstimator.EnKFResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
EnKFParameterEstimator
Result of an EnKF update step.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final double[]private final double[]private final double[]private final doubleprivate static final longprivate final intprivate final double[] -
Constructor Summary
ConstructorsConstructorDescriptionEnKFResult(int step, double[] estimates, double[] uncertainties, double[] measurements, double[] predictions, boolean anomalyDetected) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]Gets 95% confidence interval lower bounds.double[]Gets 95% confidence interval upper bounds.double[]Gets parameter estimates.double[]Gets the measurements used in this update.double[]Gets the model predictions.doublegetRMSE()Gets the RMSE of predictions vs measurements.intgetStep()Gets the update step number.double[]Gets parameter uncertainties (standard deviations).booleanReturns true if anomaly was detected.toCalibrationResult(String[] parameterNames) Converts to a CalibrationResult for compatibility with existing API.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
step
private final int step -
estimates
private final double[] estimates -
uncertainties
private final double[] uncertainties -
measurements
private final double[] measurements -
predictions
private final double[] predictions -
rmse
private final double rmse -
anomalyDetected
private final boolean anomalyDetected
-
-
Constructor Details
-
EnKFResult
public EnKFResult(int step, double[] estimates, double[] uncertainties, double[] measurements, double[] predictions, boolean anomalyDetected) Constructor.- Parameters:
step- update step numberestimates- parameter estimatesuncertainties- parameter uncertainties (std dev)measurements- observed measurementspredictions- model predictionsanomalyDetected- whether anomaly was detected
-
-
Method Details
-
getStep
public int getStep()Gets the update step number.- Returns:
- the step number
-
getEstimates
public double[] getEstimates()Gets parameter estimates.- Returns:
- array of parameter estimates
-
getUncertainties
public double[] getUncertainties()Gets parameter uncertainties (standard deviations).- Returns:
- array of parameter standard deviations
-
getConfidenceIntervalLower
public double[] getConfidenceIntervalLower()Gets 95% confidence interval lower bounds.- Returns:
- array of lower confidence bounds
-
getConfidenceIntervalUpper
public double[] getConfidenceIntervalUpper()Gets 95% confidence interval upper bounds.- Returns:
- array of upper confidence bounds
-
getMeasurements
public double[] getMeasurements()Gets the measurements used in this update.- Returns:
- array of measurement values
-
getPredictions
public double[] getPredictions()Gets the model predictions.- Returns:
- array of model predictions
-
getRMSE
public double getRMSE()Gets the RMSE of predictions vs measurements.- Returns:
- the root mean square error
-
isAnomalyDetected
public boolean isAnomalyDetected()Returns true if anomaly was detected.- Returns:
- true if anomaly was detected
-
toCalibrationResult
Converts to a CalibrationResult for compatibility with existing API.- Parameters:
parameterNames- names for the parameters- Returns:
- CalibrationResult
-