Class 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 Detail

      • SingleTargetRegressionPrediction

        public SingleTargetRegressionPrediction​(java.lang.Object predicted)
    • Method Detail

      • getPrediction

        public java.lang.Double getPrediction()
        Specified by:
        getPrediction in interface org.api4.java.ai.ml.core.evaluation.IPrediction
        Specified by:
        getPrediction in interface org.api4.java.ai.ml.regression.evaluation.IRegressionPrediction
        Overrides:
        getPrediction in class Prediction
      • getDoublePrediction

        public double getDoublePrediction()
        Specified by:
        getDoublePrediction in interface org.api4.java.ai.ml.regression.evaluation.IRegressionPrediction