public abstract class ArchiveBatch extends Object implements Batch
| Constructor and Description |
|---|
ArchiveBatch(String name,
String dataset,
Predicate<org.dmg.pmml.FieldName> predicate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getDataset() |
Evaluator |
getEvaluator() |
List<Map<org.dmg.pmml.FieldName,String>> |
getInput()
Input data records.
|
String |
getName() |
List<Map<org.dmg.pmml.FieldName,String>> |
getOutput()
Expected output data records.
|
org.dmg.pmml.PMML |
getPMML() |
Predicate<org.dmg.pmml.FieldName> |
getPredicate()
Predicate for selecting columns that will be checked for equivalence
(between expected and actual output data records).
|
protected org.dmg.pmml.PMML |
loadPMML(String path) |
protected List<Map<org.dmg.pmml.FieldName,String>> |
loadRecords(String path) |
abstract InputStream |
open(String path) |
public abstract InputStream open(String path)
public Evaluator getEvaluator() throws Exception
getEvaluator in interface BatchExceptionpublic List<Map<org.dmg.pmml.FieldName,String>> getInput() throws IOException
BatchInput data records.
getInput in interface BatchIOExceptionHasInputFields.getInputFields()public List<Map<org.dmg.pmml.FieldName,String>> getOutput() throws IOException
BatchExpected output data records.
getOutput in interface BatchIOExceptionHasResultFields.getTargetFields(),
HasResultFields.getOutputFields()public void close()
throws Exception
close in interface AutoCloseableExceptionprotected List<Map<org.dmg.pmml.FieldName,String>> loadRecords(String path) throws IOException
IOExceptionpublic String getName()
public String getDataset()
public Predicate<org.dmg.pmml.FieldName> getPredicate()
BatchPredicate for selecting columns that will be checked for equivalence (between expected and actual output data records).
getPredicate in interface BatchCopyright © 2019. All rights reserved.