public class RuleSetModel extends PMMLClassifier
| Constructor and Description |
|---|
RuleSetModel(Element model,
Instances dataDictionary,
MiningSchema miningSchema)
Constructor for a RuleSetModel
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
distributionForInstance(Instance inst)
Classifies the given test instance.
|
String |
getRevision()
Get the revision string for this class
|
String |
toString()
Return a textual description of this model.
|
buildClassifier, done, getCreatorApplication, getDataDictionary, getFieldsMappingString, getLog, getMiningSchema, getPMMLVersion, mapToMiningSchema, setCreatorApplication, setLog, setPMMLVersionclassifyInstance, debugTipText, forName, getCapabilities, getDebug, getOptions, listOptions, makeCopies, makeCopy, runClassifier, setDebug, setOptionspublic RuleSetModel(Element model, Instances dataDictionary, MiningSchema miningSchema) throws Exception
model - the XML element encapsulating the RuleSetModeldataDictionary - the data dictionary to useminingSchema - the mining schema to useException - if something goes wrongpublic double[] distributionForInstance(Instance inst) throws Exception
distributionForInstance in interface ClassifierdistributionForInstance in class AbstractClassifierinst - the instance to be classifiedException - if an error occurred during the predictionpublic String toString()
public String getRevision()
getRevision in interface RevisionHandlergetRevision in class AbstractClassifierCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.