Class RiskMLInterface.ModelPerformanceMetrics
java.lang.Object
neqsim.process.safety.risk.ml.RiskMLInterface.ModelPerformanceMetrics
- All Implemented Interfaces:
Serializable
- Enclosing class:
RiskMLInterface
Model performance metrics.
- Version:
- 1.0
- Author:
- NeqSim Development Team
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate doubleprivate Stringprivate doubleprivate static final longprivate intprivate int -
Constructor Summary
ConstructorsConstructorDescriptionModelPerformanceMetrics(String modelId, List<RiskMLInterface.PredictionRecord> validated) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
modelId
-
totalPredictions
private int totalPredictions -
validatedPredictions
private int validatedPredictions -
meanAbsoluteError
private double meanAbsoluteError -
rootMeanSquareError
private double rootMeanSquareError -
meanAbsolutePercentageError
private double meanAbsolutePercentageError
-
-
Constructor Details
-
ModelPerformanceMetrics
-
-
Method Details
-
getModelId
-
getValidatedPredictions
public int getValidatedPredictions() -
getMeanAbsoluteError
public double getMeanAbsoluteError() -
getRootMeanSquareError
public double getRootMeanSquareError() -
getMeanAbsolutePercentageError
public double getMeanAbsolutePercentageError() -
toMap
-