public static class MathUtils.PredictionOutcomePair extends Object implements Comparable<MathUtils.PredictionOutcomePair>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MathUtils.PredictionOutcomePair o) |
static MathUtils.PredictionOutcomePair |
from(int outcomeClass,
double prediction) |
int |
getOutcomeClass() |
double |
getPrediction() |
public static MathUtils.PredictionOutcomePair from(int outcomeClass, double prediction)
public int compareTo(MathUtils.PredictionOutcomePair o)
compareTo in interface Comparable<MathUtils.PredictionOutcomePair>public int getOutcomeClass()
public double getPrediction()
Copyright © 2016. All rights reserved.