Package org.jpmml.evaluator.scorecard
Class ScorecardEvaluator
- java.lang.Object
-
- org.jpmml.evaluator.PMMLManager
-
- org.jpmml.evaluator.ModelManager<M>
-
- org.jpmml.evaluator.ModelEvaluator<org.dmg.pmml.scorecard.Scorecard>
-
- org.jpmml.evaluator.scorecard.ScorecardEvaluator
-
- All Implemented Interfaces:
java.io.Serializable,Evaluator,HasActiveFields,HasInputFields,HasModel<org.dmg.pmml.scorecard.Scorecard>,HasPMML,HasResultFields
public class ScorecardEvaluator extends ModelEvaluator<org.dmg.pmml.scorecard.Scorecard>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.jpmml.evaluator.Evaluator
DEFAULT_TARGET_NAME
-
-
Constructor Summary
Constructors Constructor Description ScorecardEvaluator(org.dmg.pmml.PMML pmml)ScorecardEvaluator(org.dmg.pmml.PMML pmml, org.dmg.pmml.scorecard.Scorecard scorecard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <V extends java.lang.Number>
java.util.Map<java.lang.String,?>evaluateRegression(ValueFactory<V> valueFactory, EvaluationContext context)java.lang.StringgetSummary()Gets a short description of theModel.-
Methods inherited from class org.jpmml.evaluator.ModelEvaluator
assessParentCompatibility, assessPurity, configure, createClassification, createEvaluationContext, ensureConfiguration, ensureModelEvaluatorFactory, ensureOutputFilter, ensureValueFactory, ensureValueFactoryFactory, evaluate, evaluateAssociationRules, evaluateClassification, evaluateClustering, evaluateInternal, evaluateMixed, evaluateOutput, evaluateSequences, evaluateTimeSeries, filterInputFields, filterOutputFields, filterTargetFields, getConfiguration, getInputMapper, getNumberOfVisibleFields, getResultMapper, isParentCompatible, isPure, processArguments, processResults, verify
-
Methods inherited from class org.jpmml.evaluator.ModelManager
addResultFeatures, collectResultFeatures, collectSegmentResultFeatures, createInputFields, createInputFields, createMiningSchemaException, createOutputFields, createTargetFields, getActiveFields, getDataField, getDefaultDataField, getInputFields, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getResultFeatures, getTarget, getTargetField, getTargetFields, getTargetName, getVisibleFields, hasLocalDerivedFields, hasOutputFields, hasResultFeature, resetInputFields, resetResultFields, resolveField, setDefaultDataField
-
Methods inherited from class org.jpmml.evaluator.PMMLManager
getDefineFunction, getDerivedField, getPMML, toImmutableListMap, toImmutableMapMap, toImmutableSetMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jpmml.evaluator.Evaluator
getMiningFunction
-
Methods inherited from interface org.jpmml.evaluator.HasActiveFields
getActiveFields
-
Methods inherited from interface org.jpmml.evaluator.HasInputFields
getInputFields
-
Methods inherited from interface org.jpmml.evaluator.HasResultFields
getOutputFields, getTargetFields
-
-
-
-
Method Detail
-
getSummary
public java.lang.String getSummary()
Description copied from interface:EvaluatorGets a short description of the
Model.
-
evaluateRegression
protected <V extends java.lang.Number> java.util.Map<java.lang.String,?> evaluateRegression(ValueFactory<V> valueFactory, EvaluationContext context)
- Overrides:
evaluateRegressionin classModelEvaluator<org.dmg.pmml.scorecard.Scorecard>
-
-