public class SupportVectorMachineModel extends PMMLClassifier implements Serializable
NUM_DECIMAL_PLACES_DEFAULT| Constructor and Description |
|---|
SupportVectorMachineModel(Element model,
Instances dataDictionary,
MiningSchema miningSchema)
Construct a new SupportVectorMachineModel encapsulating the information provided
in the PMML document.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
distributionForInstance(Instance inst)
Classifies the given test instance.
|
String |
getRevision()
Returns the revision string.
|
String |
toString()
Get a textual description of this SupportVectorMachineModel
|
buildClassifier, done, getCreatorApplication, getDataDictionary, getFieldsMappingString, getLog, getMiningSchema, getPMMLVersion, mapToMiningSchema, setCreatorApplication, setLog, setPMMLVersionbatchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getCapabilities, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, getOptions, implementsMoreEfficientBatchPrediction, listOptions, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces, setOptionspublic SupportVectorMachineModel(Element model, Instances dataDictionary, MiningSchema miningSchema) throws Exception
model - the SVM element from the PMML documentdataDictionary - the data dictionaryminingSchema - the mining schemaException - if the model can't be constructed from the PMMLpublic 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 getRevision()
AbstractClassifiergetRevision in interface RevisionHandlergetRevision in class AbstractClassifierCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.