|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Prediction | |
|---|---|
| classification | |
| Uses of Prediction in classification |
|---|
| Methods in classification that return Prediction | |
|---|---|
Prediction |
PredictionSet.getPrediction(int instance,
java.lang.String attrName,
boolean isData)
Retrieves a prediction for the specified instance and attribute from the indicated section of the set. |
| Methods in classification that return types with arguments of type Prediction | |
|---|---|
java.util.List<Prediction> |
PredictionSet.getDataPredictions(java.lang.String attrName)
Retrieves all predictions for the specified attribute from the data section of the set. |
java.util.List<Prediction> |
PredictionSet.getTestPredictions(java.lang.String attrName)
Retrieves all predictions for the specified attribute from the test section of the set. |
| Methods in classification with parameters of type Prediction | |
|---|---|
void |
PredictionSet.add(Prediction p,
boolean isData)
Adds a prediction to this set. |
boolean |
DataValue.judgePrediction(Prediction p)
Checks if a given prediction matches the data value. |
boolean |
DataSet.judgePrediction(Prediction p,
boolean forData)
Checks if a given prediction matches its corresponding value in the data set. |
| Method parameters in classification with type arguments of type Prediction | |
|---|---|
static double |
Prediction.getMeanConfidence(java.util.Collection<Prediction> predictions)
Determines the average confidence in a collection of predictions, and sets all list members with AVERAGE_CONFIDENCE to have that confidence. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||