Class LibSVMSVCCLinearBoundary
java.lang.Object
weka.classifiers.AbstractClassifier
weka.classifiers.RandomizableClassifier
weka.classifiers.functions.LibSVM
weka.classifiers.functions.explicitboundaries.models.LibSVMSVCCLinearBoundary
- All Implemented Interfaces:
Serializable
,Cloneable
,weka.classifiers.Classifier
,ClassifierWithBoundaries
,weka.core.BatchPredictor
,weka.core.CapabilitiesHandler
,weka.core.CapabilitiesIgnorer
,weka.core.CommandlineRunnable
,weka.core.OptionHandler
,weka.core.Randomizable
,weka.core.RevisionHandler
,weka.core.TechnicalInformationHandler
public class LibSVMSVCCLinearBoundary
extends weka.classifiers.functions.LibSVM
implements ClassifierWithBoundaries
Class
- Since:
- 2.5.0
- Version:
- 2.5.0
- Author:
- pawel trajdos
- See Also:
-
Field Summary
Fields inherited from class weka.classifiers.functions.LibSVM
KERNELTYPE_LINEAR, KERNELTYPE_POLYNOMIAL, KERNELTYPE_RBF, KERNELTYPE_SIGMOID, SVMTYPE_C_SVC, SVMTYPE_EPSILON_SVR, SVMTYPE_NU_SVC, SVMTYPE_NU_SVR, SVMTYPE_ONE_CLASS_SVM, TAGS_KERNELTYPE, TAGS_SVMTYPE
Fields inherited from class weka.classifiers.AbstractClassifier
BATCH_SIZE_DEFAULT, NUM_DECIMAL_PLACES_DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildClassifier
(weka.core.Instances insts) double[]
distributionForInstance
(weka.core.Instance inst) Returns decision boundaries of the classifierweka.core.Capabilities
void
setDebug
(boolean debug) void
setKernelType
(weka.core.SelectedTag value) void
setNormalize
(boolean value) void
setSVMType
(weka.core.SelectedTag value) Methods inherited from class weka.classifiers.functions.LibSVM
cacheSizeTipText, coef0TipText, costTipText, degreeTipText, doNotReplaceMissingValuesTipText, epsTipText, gammaTipText, getCacheSize, getCoef0, getCost, getDegree, getDoNotReplaceMissingValues, getEps, getGamma, getKernelType, getLoss, getModelFile, getNormalize, getNu, getOptions, getProbabilityEstimates, getRevision, getShrinking, getSVMType, getTechnicalInformation, getWeights, globalInfo, kernelTypeTipText, listOptions, lossTipText, main, modelFileTipText, normalizeTipText, nuTipText, probabilityEstimatesTipText, setCacheSize, setCoef0, setCost, setDegree, setDoNotReplaceMissingValues, setEps, setGamma, setLoss, setModelFile, setNu, setOptions, setProbabilityEstimates, setShrinking, setWeights, shrinkingTipText, SVMTypeTipText, toString, weightsTipText
Methods inherited from class weka.classifiers.RandomizableClassifier
getSeed, seedTipText, setSeed
Methods inherited from class weka.classifiers.AbstractClassifier
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDoNotCheckCapabilities, setNumDecimalPlaces
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface weka.classifiers.Classifier
classifyInstance
-
Constructor Details
-
LibSVMSVCCLinearBoundary
public LibSVMSVCCLinearBoundary()
-
-
Method Details
-
getBoundary
Description copied from interface:ClassifierWithBoundaries
Returns decision boundaries of the classifier- Specified by:
getBoundary
in interfaceClassifierWithBoundaries
- Returns:
- Decision boundaries
- Throws:
Exception
-
buildClassifier
- Specified by:
buildClassifier
in interfaceweka.classifiers.Classifier
- Overrides:
buildClassifier
in classweka.classifiers.functions.LibSVM
- Throws:
Exception
-
setNormalize
public void setNormalize(boolean value) - Overrides:
setNormalize
in classweka.classifiers.functions.LibSVM
-
setSVMType
public void setSVMType(weka.core.SelectedTag value) - Overrides:
setSVMType
in classweka.classifiers.functions.LibSVM
-
setKernelType
public void setKernelType(weka.core.SelectedTag value) - Overrides:
setKernelType
in classweka.classifiers.functions.LibSVM
-
getCapabilities
public weka.core.Capabilities getCapabilities()- Specified by:
getCapabilities
in interfaceweka.core.CapabilitiesHandler
- Specified by:
getCapabilities
in interfaceweka.classifiers.Classifier
- Overrides:
getCapabilities
in classweka.classifiers.functions.LibSVM
-
setDebug
public void setDebug(boolean debug) - Overrides:
setDebug
in classweka.classifiers.AbstractClassifier
-
distributionForInstance
- Specified by:
distributionForInstance
in interfaceweka.classifiers.Classifier
- Overrides:
distributionForInstance
in classweka.classifiers.functions.LibSVM
- Throws:
Exception
-