Package de.jungblut.math
Class MathUtils.PredictionOutcomePair
- java.lang.Object
-
- de.jungblut.math.MathUtils.PredictionOutcomePair
-
- All Implemented Interfaces:
java.lang.Comparable<MathUtils.PredictionOutcomePair>
- Enclosing class:
- MathUtils
public static class MathUtils.PredictionOutcomePair extends java.lang.Object implements java.lang.Comparable<MathUtils.PredictionOutcomePair>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MathUtils.PredictionOutcomePair o)static MathUtils.PredictionOutcomePairfrom(int outcomeClass, double prediction)intgetOutcomeClass()doublegetPrediction()
-
-
-
Method Detail
-
from
public static MathUtils.PredictionOutcomePair from(int outcomeClass, double prediction)
-
compareTo
public int compareTo(MathUtils.PredictionOutcomePair o)
- Specified by:
compareToin interfacejava.lang.Comparable<MathUtils.PredictionOutcomePair>
-
getOutcomeClass
public int getOutcomeClass()
-
getPrediction
public double getPrediction()
-
-