Package weka.classifiers.functions
Class BoundaryKernelClassifier
java.lang.Object
weka.classifiers.AbstractClassifier
weka.classifiers.SingleClassifierEnhancer
weka.classifiers.functions.SingleClassifierEnhancerBoundary
weka.classifiers.functions.BoundaryKernelClassifier
- All Implemented Interfaces:
Serializable
,Cloneable
,weka.classifiers.Classifier
,weka.core.BatchPredictor
,weka.core.CapabilitiesHandler
,weka.core.CapabilitiesIgnorer
,weka.core.CommandlineRunnable
,weka.core.OptionHandler
,weka.core.RevisionHandler
,weka.tools.GlobalInfoHandler
- Direct Known Subclasses:
BoundaryKernelClassifierWithPlaneProjectionsAbstract
,BoundaryKernelClassifierWithPlaneProjectionsGauss
,BoundaryKernelClassifierWithPlaneProjectionsNB
,BoundaryKernelClassifierWithPlaneProjectionsNB2
public class BoundaryKernelClassifier
extends SingleClassifierEnhancerBoundary
implements weka.tools.GlobalInfoHandler
- Since:
- 2.2.0
- Version:
- 2.3.0
- Author:
- pawel trajdos
- See Also:
-
Field Summary
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 data) double[]
distributionForInstance
(weka.core.Instance instance) weka.estimators.density.DensityEstimator
String[]
boolean
boolean
boolean
Enumeration<weka.core.Option>
void
setEstimProto
(weka.estimators.density.DensityEstimator estimProto) void
setNormalize
(boolean normalize) void
setOptions
(String[] options) void
setPreNormalize
(boolean preNormalize) void
setUsePriorProbs
(boolean usePriorProbs) Methods inherited from class weka.classifiers.functions.SingleClassifierEnhancerBoundary
getCapabilities, setClassifier
Methods inherited from class weka.classifiers.SingleClassifierEnhancer
classifierTipText, getClassifier, postExecution, preExecution
Methods inherited from class weka.classifiers.AbstractClassifier
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, getRevision, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
-
Constructor Details
-
BoundaryKernelClassifier
-
BoundaryKernelClassifier
public BoundaryKernelClassifier()
-
-
Method Details
-
buildClassifier
- Specified by:
buildClassifier
in interfaceweka.classifiers.Classifier
- Throws:
Exception
-
distributionForInstance
- Specified by:
distributionForInstance
in interfaceweka.classifiers.Classifier
- Overrides:
distributionForInstance
in classweka.classifiers.AbstractClassifier
- Throws:
Exception
-
listOptions
- Specified by:
listOptions
in interfaceweka.core.OptionHandler
- Overrides:
listOptions
in classweka.classifiers.SingleClassifierEnhancer
-
setOptions
- Specified by:
setOptions
in interfaceweka.core.OptionHandler
- Overrides:
setOptions
in classweka.classifiers.SingleClassifierEnhancer
- Throws:
Exception
-
getOptions
- Specified by:
getOptions
in interfaceweka.core.OptionHandler
- Overrides:
getOptions
in classweka.classifiers.SingleClassifierEnhancer
-
getEstimProto
public weka.estimators.density.DensityEstimator getEstimProto()- Returns:
- the estimProto
-
setEstimProto
public void setEstimProto(weka.estimators.density.DensityEstimator estimProto) - Parameters:
estimProto
- the estimProto to set
-
estimProtoTipText
-
globalInfo
- Specified by:
globalInfo
in interfaceweka.tools.GlobalInfoHandler
-
isNormalize
public boolean isNormalize()- Returns:
- the normalize
-
setNormalize
public void setNormalize(boolean normalize) - Parameters:
normalize
- the normalize to set
-
normalizeTipText
-
isUsePriorProbs
public boolean isUsePriorProbs()- Returns:
- the usePriorProbs
-
setUsePriorProbs
public void setUsePriorProbs(boolean usePriorProbs) - Parameters:
usePriorProbs
- the usePriorProbs to set
-
usePriorProbsTipText
-
isPreNormalize
public boolean isPreNormalize()- Returns:
- the preNormalize
-
setPreNormalize
public void setPreNormalize(boolean preNormalize) - Parameters:
preNormalize
- the preNormalize to set
-
preNormalizeTipText
-