public class NearestNeighborModelEvaluator extends ModelEvaluator<NearestNeighborModel>
| Constructor and Description |
|---|
NearestNeighborModelEvaluator(PMML pmml) |
NearestNeighborModelEvaluator(PMML pmml,
NearestNeighborModel nearestNeighborModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<FieldName,?> |
evaluate(Map<FieldName,?> arguments) |
String |
getSummary() |
getValue, preparegetActiveFields, getGroupFields, getMiningField, getMiningFields, getMiningSchema, getModel, getOrCreateLocalTransformations, getOrCreateOutput, getOrCreateTargets, getOutputField, getOutputFields, getPredictedFields, getTarget, getTargetField, resolveFieldfind, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModels, getOrCreateTransformationDictionary, getPMML, resolveFunctionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveFields, getDataField, getGroupFields, getMiningField, getOutputField, getOutputFields, getPredictedFields, getTargetFieldpublic NearestNeighborModelEvaluator(PMML pmml)
public NearestNeighborModelEvaluator(PMML pmml, NearestNeighborModel nearestNeighborModel)
public String getSummary()
getSummary in interface ConsumergetSummary in class ModelManager<NearestNeighborModel>public Map<FieldName,?> evaluate(Map<FieldName,?> arguments)
arguments - Map of active field values.predicted field and output field values.
Simple values are represented using the Java equivalents of PMML data types (eg. String, Integer, Float, Double etc.).
Complex values are represented as instances of Computable that return simple values.ComputableCopyright © 2013 University of Tartu. All Rights Reserved.