public class NaiveBayesModelEvaluator extends ModelEvaluator<NaiveBayesModel>
| Constructor and Description |
|---|
NaiveBayesModelEvaluator(PMML pmml) |
NaiveBayesModelEvaluator(PMML pmml,
NaiveBayesModel naiveBayesModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<FieldName,?> |
evaluate(Map<FieldName,?> arguments) |
protected Map<FieldName,Map<String,Double>> |
getCountsMap() |
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 String getSummary()
getSummary in interface ConsumergetSummary in class ModelManager<NaiveBayesModel>public Map<FieldName,?> evaluate(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.ComputableCopyright © 2013 University of Tartu. All Rights Reserved.