public class NaiveBayesModelEvaluator extends ModelEvaluator<org.dmg.pmml.naive_bayes.NaiveBayesModel>
DEFAULT_TARGET_NAME| Constructor and Description |
|---|
NaiveBayesModelEvaluator(org.dmg.pmml.PMML pmml) |
NaiveBayesModelEvaluator(org.dmg.pmml.PMML pmml,
org.dmg.pmml.naive_bayes.NaiveBayesModel naiveBayesModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<org.dmg.pmml.FieldName,?> |
evaluate(ModelEvaluationContext context) |
protected List<org.dmg.pmml.naive_bayes.BayesInput> |
getBayesInputs() |
protected Map<org.dmg.pmml.FieldName,Map<String,Double>> |
getFieldCountSums() |
String |
getSummary()
Gets a short description of the
Model. |
configure, createInputFields, createInputFields, createMiningSchemaException, createOutputFields, createTargetFields, ensureScorableModel, ensureValueFactory, evaluate, getActiveFields, getConfiguration, getDataField, getDataField, getDefineFunction, getDerivedField, getInputFields, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getPMML, getTarget, getTargetField, getTargetFieldName, getTargetFields, getValue, getValue, getValueFactory, isPrimitive, resolveDerivedField, resolveField, verifypublic NaiveBayesModelEvaluator(org.dmg.pmml.PMML pmml)
public NaiveBayesModelEvaluator(org.dmg.pmml.PMML pmml,
org.dmg.pmml.naive_bayes.NaiveBayesModel naiveBayesModel)
public String getSummary()
Evaluator
Gets a short description of the Model.
public Map<org.dmg.pmml.FieldName,?> evaluate(ModelEvaluationContext context)
evaluate in class ModelEvaluator<org.dmg.pmml.naive_bayes.NaiveBayesModel>protected List<org.dmg.pmml.naive_bayes.BayesInput> getBayesInputs()
Copyright © 2018. All rights reserved.