Class SingleTargetRegressionPrediction
- java.lang.Object
-
- ai.libs.jaicore.ml.core.evaluation.Prediction
-
- ai.libs.jaicore.ml.regression.singlelabel.SingleTargetRegressionPrediction
-
- All Implemented Interfaces:
org.api4.java.ai.ml.core.evaluation.IPrediction,org.api4.java.ai.ml.regression.evaluation.IRegressionPrediction
public class SingleTargetRegressionPrediction extends Prediction implements org.api4.java.ai.ml.regression.evaluation.IRegressionPrediction
-
-
Constructor Summary
Constructors Constructor Description SingleTargetRegressionPrediction(java.lang.Object predicted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetDoublePrediction()java.lang.DoublegetPrediction()-
Methods inherited from class ai.libs.jaicore.ml.core.evaluation.Prediction
getClassConfidence, getClassDistribution, getLabelWithHighestProbability, getProbabilityOfLabel
-
-
-
-
Method Detail
-
getPrediction
public java.lang.Double getPrediction()
- Specified by:
getPredictionin interfaceorg.api4.java.ai.ml.core.evaluation.IPrediction- Specified by:
getPredictionin interfaceorg.api4.java.ai.ml.regression.evaluation.IRegressionPrediction- Overrides:
getPredictionin classPrediction
-
getDoublePrediction
public double getDoublePrediction()
- Specified by:
getDoublePredictionin interfaceorg.api4.java.ai.ml.regression.evaluation.IRegressionPrediction
-
-