|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.AbstractClassifier
weka.classifiers.pmml.consumer.PMMLClassifier
weka.classifiers.pmml.consumer.SupportVectorMachineModel
public class SupportVectorMachineModel
Implements a PMML SupportVectorMachineModel
| Constructor Summary | |
|---|---|
SupportVectorMachineModel(Element model,
Instances dataDictionary,
MiningSchema miningSchema)
Construct a new SupportVectorMachineModel encapsulating the information provided in the PMML document. |
|
| Method Summary | |
|---|---|
double[] |
distributionForInstance(Instance inst)
Classifies the given test instance. |
String |
getRevision()
Returns the revision string. |
String |
toString()
Get a textual description of this SupportVectorMachineModel |
| Methods inherited from class weka.classifiers.pmml.consumer.PMMLClassifier |
|---|
buildClassifier, done, getCreatorApplication, getDataDictionary, getFieldsMappingString, getLog, getMiningSchema, getPMMLVersion, mapToMiningSchema, setCreatorApplication, setLog, setPMMLVersion |
| Methods inherited from class weka.classifiers.AbstractClassifier |
|---|
classifyInstance, debugTipText, forName, getCapabilities, getDebug, getOptions, listOptions, makeCopies, makeCopy, runClassifier, setDebug, setOptions |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SupportVectorMachineModel(Element model,
Instances dataDictionary,
MiningSchema miningSchema)
throws Exception
model - the SVM element from the PMML documentdataDictionary - the data dictionaryminingSchema - the mining schema
Exception - if the model can't be constructed from the PMML| Method Detail |
|---|
public double[] distributionForInstance(Instance inst)
throws Exception
distributionForInstance in interface ClassifierdistributionForInstance in class AbstractClassifierinst - the instance to be classified
Exception - if an error occurred during the predictionpublic String getRevision()
AbstractClassifier
getRevision in interface RevisionHandlergetRevision in class AbstractClassifierpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||