public interface BatchPredictor
Modifier and Type | Method and Description |
---|---|
double[][] |
distributionsForInstances(Instances insts)
Batch scoring method
|
String |
getBatchSize()
Get the batch size to use.
|
boolean |
implementsMoreEfficientBatchPrediction()
Returns true if this BatchPredictor can generate batch predictions
in an efficient manner.
|
void |
setBatchSize(String size)
Set the batch size to use.
|
void setBatchSize(String size)
size
- the batch size to useString getBatchSize()
double[][] distributionsForInstances(Instances insts) throws Exception
insts
- the instances to get predictions forException
- if a problem occursboolean implementsMoreEfficientBatchPrediction()
Copyright © 2017 University of Waikato, Hamilton, NZ. All Rights Reserved.