public interface BatchPredictor
Modifier and Type | Method and Description |
---|---|
double[][] |
distributionsForInstances(Instances insts)
Batch scoring method
|
java.lang.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(java.lang.String size)
Set the batch size to use.
|
void setBatchSize(java.lang.String size)
size
- the batch size to usejava.lang.String getBatchSize()
double[][] distributionsForInstances(Instances insts) throws java.lang.Exception
insts
- the instances to get predictions forjava.lang.Exception
- if a problem occursboolean implementsMoreEfficientBatchPrediction()