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) |
DefaultDataField |
getDefaultDataField() |
String |
getSummary()
Gets a short description of the
Model. |
assessParentCompatibility, assessPurity, configure, createClassification, createEvaluationContext, ensureConfiguration, ensureModelEvaluatorFactory, ensureOutputFilter, ensureValueFactory, ensureValueFactoryFactory, evaluate, evaluateAssociationRules, evaluateInternal, evaluateSequences, evaluateTimeSeries, filterInputFields, filterOutputFields, filterTargetFields, getConfiguration, getInputMapper, getNumberOfVisibleFields, getResultMapper, isParentCompatible, isPure, processArguments, processResults, verifyaddResultFeatures, collectResultFeatures, collectSegmentResultFeatures, createInputFields, createInputFields, createMiningSchemaException, createOutputFields, createTargetFields, getActiveFields, getDataField, getInputFields, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getResultFeatures, getTarget, getTargetField, getTargetFields, getTargetName, getVisibleFields, hasLocalDerivedFields, hasOutputFields, hasResultFeature, resetInputFields, resetResultFields, resolveField, setDefaultDataFieldgetDefineFunction, getDerivedField, getPMML, toImmutableListMap, toImmutableMapMap, toImmutableSetMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMiningFunctiongetInputFieldsgetActiveFieldsgetOutputFields, getTargetFieldspublic 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.
public DefaultDataField getDefaultDataField()
getDefaultDataField in class ModelManager<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>DataField element describing the default target field.protected <V extends Number> Map<String,AffinityDistribution<V>> evaluateRegression(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateRegression in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>protected <V extends Number> Map<String,AffinityDistribution<V>> evaluateClassification(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateClassification in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>protected <V extends Number> Map<String,AffinityDistribution<V>> evaluateMixed(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateMixed in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>protected <V extends Number> Map<String,AffinityDistribution<V>> evaluateClustering(ValueFactory<V> valueFactory, EvaluationContext context)
evaluateClustering in class ModelEvaluator<org.dmg.pmml.nearest_neighbor.NearestNeighborModel>Copyright © 2022. All rights reserved.