public static class _RandomForest.Prediction extends Object
| Modifier and Type | Field | Description |
|---|---|---|
String |
label |
The class label of the prediction, e.g.
|
int |
numNeg |
The number of votes for OTHER labels
|
int |
numPos |
The number of votes FOR this label
|
double |
p |
Probability - how certain the classifier is that the prediction is correct
|
int |
total |
The total number of votes
|
| Constructor | Description |
|---|---|
Prediction(String label,
double numPositive,
double numNegative) |
Creates a new instance of a Prediction object
|
public String label
public int numPos
public int numNeg
public int total
public double p
public Prediction(String label, double numPositive, double numNegative)
label - The class label of the prediction, e.g. 'picked'numPositive - The number of votes FOR this labelnumNegative - The number of votes for OTHER labelsCopyright © 2019. All rights reserved.