public class BatchUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<Conflict> |
evaluate(Batch batch,
Set<org.dmg.pmml.FieldName> ignoredFields,
double precision,
double zeroThreshold) |
static Object |
evaluateDefault(Batch batch)
Evaluates the model using empty arguments.
|
static List<List<String>> |
formatRecords(List<Map<org.dmg.pmml.FieldName,?>> records,
List<org.dmg.pmml.FieldName> names,
com.google.common.base.Function<Object,String> function) |
static List<Map<org.dmg.pmml.FieldName,String>> |
parseRecords(List<List<String>> table,
com.google.common.base.Function<String,String> function) |
public static List<Conflict> evaluate(Batch batch, Set<org.dmg.pmml.FieldName> ignoredFields, double precision, double zeroThreshold) throws Exception
Exceptionpublic static Object evaluateDefault(Batch batch) throws Exception
Evaluates the model using empty arguments.
Exceptionpublic static List<Map<org.dmg.pmml.FieldName,String>> parseRecords(List<List<String>> table, com.google.common.base.Function<String,String> function)
Copyright © 2016. All Rights Reserved.