Class RiskMLInterface.PredictionRecord
java.lang.Object
neqsim.process.safety.risk.ml.RiskMLInterface.PredictionRecord
- All Implemented Interfaces:
Serializable
- Enclosing class:
RiskMLInterface
Prediction record for history tracking.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPredictionRecord(String modelId, Map<String, Double> features, double prediction) Creates a prediction record with auto-generated timestamp.Creates a prediction record with specified timestamp. -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
modelId
-
timestamp
-
features
-
prediction
private double prediction -
actualValue
-
validated
private boolean validated
-
-
Constructor Details
-
PredictionRecord
-
PredictionRecord
-
-
Method Details
-
setActualValue
public void setActualValue(double actual) -
getPredictionError
public double getPredictionError() -
getModelId
-
getTimestamp
-
getPrediction
public double getPrediction() -
getActualValue
-
isValidated
public boolean isValidated()
-