public class NearestNeighborModelEvaluator extends ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>
DEFAULT_TARGET_NAME| Constructor and Description |
|---|
NearestNeighborModelEvaluator(org.dmg.pmml.PMML pmml) |
NearestNeighborModelEvaluator(org.dmg.pmml.PMML pmml,
org.dmg.pmml.nearest_neighbor.NearestNeighborModel nearestNeighborModel) |
| Modifier and Type | Method and Description |
|---|---|
protected <V extends Number> |
evaluateClassification(ValueFactory<V> valueFactory,
EvaluationContext context) |
protected <V extends Number> |
evaluateClustering(ValueFactory<V> valueFactory,
EvaluationContext context) |
protected <V extends Number> |
evaluateMixed(ValueFactory<V> valueFactory,
EvaluationContext context) |
protected <V extends Number> |
evaluateRegression(ValueFactory<V> valueFactory,
EvaluationContext context) |
protected org.dmg.pmml.DataField |
getDataField() |
String |
getSummary()
Gets a short description of the
Model. |
assessParentCompatibility, assessPurity, collectResultFeatures, configure, createClassification, createEvaluationContext, createInputFields, createInputFields, createMiningSchemaException, createOutputFields, createTargetFields, ensureConfiguration, ensureModelEvaluatorFactory, ensureOutputFilter, ensureValueFactory, ensureValueFactoryFactory, evaluate, evaluateAssociationRules, evaluateInternal, evaluateSequences, evaluateTimeSeries, getActiveFields, getConfiguration, getDataField, getDefineFunction, getDerivedField, getInputFields, getInputMapper, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getPMML, getResultFeatures, getResultMapper, getTarget, getTargetField, getTargetFields, getTargetName, getValue, getValue, hasResultFeature, isParentCompatible, isPure, processArguments, processResults, resolveField, verifypublic NearestNeighborModelEvaluator(org.dmg.pmml.PMML pmml)
public NearestNeighborModelEvaluator(org.dmg.pmml.PMML pmml,
org.dmg.pmml.nearest_neighbor.NearestNeighborModel nearestNeighborModel)
public String getSummary()
Evaluator
Gets a short description of the Model.
protected org.dmg.pmml.DataField getDataField()
getDataField in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>DataField element describing the default target field.protected <V extends Number> Map<org.dmg.pmml.FieldName,AffinityDistribution<V>> evaluateRegression(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateRegression in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>protected <V extends Number> Map<org.dmg.pmml.FieldName,AffinityDistribution<V>> evaluateClassification(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateClassification in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>protected <V extends Number> Map<org.dmg.pmml.FieldName,AffinityDistribution<V>> evaluateMixed(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateMixed in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>protected <V extends Number> Map<org.dmg.pmml.FieldName,AffinityDistribution<V>> evaluateClustering(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateClustering in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>Copyright © 2019. All rights reserved.