public class NaiveBayesModelEvaluator extends ModelEvaluator<NaiveBayesModel>
| Constructor and Description |
|---|
NaiveBayesModelEvaluator(PMML pmml) |
NaiveBayesModelEvaluator(PMML pmml,
NaiveBayesModel naiveBayesModel) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<FieldName,?> |
evaluate(java.util.Map<FieldName,?> arguments) |
protected java.util.Map<FieldName,java.util.Map<java.lang.String,java.lang.Double>> |
getCountsMap() |
java.lang.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 NaiveBayesModelEvaluator(PMML pmml)
public NaiveBayesModelEvaluator(PMML pmml, NaiveBayesModel naiveBayesModel)
public java.lang.String getSummary()
getSummary in interface ConsumergetSummary in class ModelManager<NaiveBayesModel>public java.util.Map<FieldName,?> evaluate(java.util.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.
A missing result is represented by null.Computableprotected java.util.Map<FieldName,java.util.Map<java.lang.String,java.lang.Double>> getCountsMap()
Copyright © 2013 University of Tartu. All Rights Reserved.