Package weka.classifiers.functions
Class BoundaryAndCentroidClassifier2
java.lang.Object
weka.classifiers.AbstractClassifier
weka.classifiers.SingleClassifierEnhancer
weka.classifiers.functions.SingleClassifierEnhancerBoundary
weka.classifiers.functions.BoundaryAndCentroidClassifier2
- 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
- Since:
- 2.5.0
- Version:
- 2.5.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) double
getEps()
double
double
int
String[]
double
weka.classifiers.functions.nearestCentroid.IClusterPrototype
double
getQuant()
double
boolean
boolean
Enumeration<weka.core.Option>
void
setEps
(double eps) void
setMaxSearch
(double maxSearch) void
setMinSearch
(double minSearch) void
setNormalize
(boolean normalize) void
setNumIterations
(int numIterations) void
setOptions
(String[] options) void
setPotFunction
(PotentialFunction potFunction) void
setProportion
(double proportion) void
setPrototypeProto
(weka.classifiers.functions.nearestCentroid.IClusterPrototype prototypeProto) void
setQuant
(double quant) void
setQuantPotentialValue
(double quantPotentialValue) void
setUsePriors
(boolean usePriors) 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
-
BoundaryAndCentroidClassifier2
-
BoundaryAndCentroidClassifier2
public BoundaryAndCentroidClassifier2()
-
-
Method Details
-
buildClassifier
- Throws:
Exception
-
distributionForInstance
- Specified by:
distributionForInstance
in interfaceweka.classifiers.Classifier
- Overrides:
distributionForInstance
in classweka.classifiers.AbstractClassifier
- Throws:
Exception
-
globalInfo
-
getPrototypeProto
public weka.classifiers.functions.nearestCentroid.IClusterPrototype getPrototypeProto()- Returns:
- the prototypeProto
-
setPrototypeProto
public void setPrototypeProto(weka.classifiers.functions.nearestCentroid.IClusterPrototype prototypeProto) - Parameters:
prototypeProto
- the prototypeProto to set
-
prototypeProtoTipText
-
getPotFunction
- Returns:
- the potFunction
-
setPotFunction
- Parameters:
potFunction
- the potFunction to set
-
potFunctionTipText
-
getProportion
public double getProportion()- Returns:
- the proportion
-
setProportion
public void setProportion(double proportion) - Parameters:
proportion
- the proportion to set
-
proportionTipText
-
getEps
public double getEps()- Returns:
- the eps
-
setEps
public void setEps(double eps) - Parameters:
eps
- the eps to set
-
epsTipText
-
isNormalize
public boolean isNormalize()- Returns:
- the normalize
-
setNormalize
public void setNormalize(boolean normalize) - Parameters:
normalize
- the normalize to set
-
normalizeTipText
-
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
-
isUsePriors
public boolean isUsePriors()- Returns:
- the usePriors
-
setUsePriors
public void setUsePriors(boolean usePriors) - Parameters:
usePriors
- the usePriors to set
-
usePriorsTipText
-
quantTipText
-
getQuant
public double getQuant() -
setQuant
public void setQuant(double quant) -
quantPotentialValueTipText
-
getQuantPotentialValue
public double getQuantPotentialValue() -
setQuantPotentialValue
public void setQuantPotentialValue(double quantPotentialValue) -
minSearchTipText
-
getMinSearch
public double getMinSearch() -
setMinSearch
public void setMinSearch(double minSearch) -
maxSearchTipText
-
getMaxSearch
public double getMaxSearch() -
setMaxSearch
public void setMaxSearch(double maxSearch) -
numIterationsTipText
-
getNumIterations
public int getNumIterations() -
setNumIterations
public void setNumIterations(int numIterations)
-