|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.Classifier
weka.classifiers.pmml.consumer.PMMLClassifier
public abstract class PMMLClassifier
Abstract base class for all PMML classifiers.
| Method Summary | |
|---|---|
void |
buildClassifier(Instances data)
Throw an exception - PMML models are pre-built. |
void |
done()
Signal that a scoring run has been completed. |
java.lang.String |
getCreatorApplication()
Get the name of the application that created this model |
Instances |
getDataDictionary()
Get the data dictionary. |
java.lang.String |
getFieldsMappingString()
Get a textual description of the mapping between mining schema fields and incoming data fields. |
Logger |
getLog()
Get the logger. |
MiningSchema |
getMiningSchema()
Get the mining schema for this model. |
java.lang.String |
getPMMLVersion()
Get the PMML version used for this model. |
void |
mapToMiningSchema(Instances dataSet)
Map mining schema to incoming instances. |
void |
setCreatorApplication(org.w3c.dom.Document doc)
Set the name of the application (if specified) that created this model |
void |
setLog(Logger log)
Set a logger to use. |
void |
setPMMLVersion(org.w3c.dom.Document doc)
Set the version of PMML used for this model. |
| Methods inherited from class weka.classifiers.Classifier |
|---|
classifyInstance, debugTipText, distributionForInstance, forName, getCapabilities, getDebug, getOptions, getRevision, listOptions, makeCopies, makeCopy, setDebug, setOptions |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setPMMLVersion(org.w3c.dom.Document doc)
setPMMLVersion in interface PMMLModeldoc - the Document encapsulating the pmmlpublic void setCreatorApplication(org.w3c.dom.Document doc)
setCreatorApplication in interface PMMLModeldoc - the Document encapsulating the pmmlpublic Instances getDataDictionary()
public MiningSchema getMiningSchema()
getMiningSchema in interface PMMLModelpublic java.lang.String getPMMLVersion()
getPMMLVersion in interface PMMLModelpublic java.lang.String getCreatorApplication()
getCreatorApplication in interface PMMLModelpublic void setLog(Logger log)
setLog in interface PMMLModellog - the logger to usepublic Logger getLog()
getLog in interface PMMLModel
public void buildClassifier(Instances data)
throws java.lang.Exception
buildClassifier in class Classifierdata - the Instances to learn from
java.lang.Exception - if something goes wrongpublic void done()
public void mapToMiningSchema(Instances dataSet)
throws java.lang.Exception
dataSet - the structure of the incoming Instances
java.lang.Exception - if something goes wrongpublic java.lang.String getFieldsMappingString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||