public class BoundaryAndCentroidClassifier extends SingleClassifierEnhancerBoundary
Constructor and Description |
---|
BoundaryAndCentroidClassifier() |
BoundaryAndCentroidClassifier(ClassifierWithBoundaries boundClassifier) |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances data) |
double[] |
distributionForInstance(weka.core.Instance instance) |
String |
epsTipText() |
double |
getEps() |
String[] |
getOptions() |
PotentialFunction |
getPotFunction() |
double |
getProportion() |
weka.classifiers.functions.nearestCentroid.IClusterPrototype |
getPrototypeProto() |
String |
globalInfo() |
boolean |
isNormalize() |
Enumeration<weka.core.Option> |
listOptions() |
String |
normalizeTipText() |
String |
potFunctionTipText() |
String |
proportionTipText() |
String |
prototypeProtoTipText() |
void |
setEps(double eps) |
void |
setNormalize(boolean normalize) |
void |
setOptions(String[] options) |
void |
setPotFunction(PotentialFunction potFunction) |
void |
setProportion(double proportion) |
void |
setPrototypeProto(weka.classifiers.functions.nearestCentroid.IClusterPrototype prototypeProto) |
getCapabilities, setClassifier
classifierTipText, getClassifier, postExecution, preExecution
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, getRevision, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
public BoundaryAndCentroidClassifier(ClassifierWithBoundaries boundClassifier)
public BoundaryAndCentroidClassifier()
public void buildClassifier(weka.core.Instances data) throws Exception
Exception
public double[] distributionForInstance(weka.core.Instance instance) throws Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class weka.classifiers.AbstractClassifier
Exception
public String globalInfo()
public weka.classifiers.functions.nearestCentroid.IClusterPrototype getPrototypeProto()
public void setPrototypeProto(weka.classifiers.functions.nearestCentroid.IClusterPrototype prototypeProto)
prototypeProto
- the prototypeProto to setpublic String prototypeProtoTipText()
public PotentialFunction getPotFunction()
public void setPotFunction(PotentialFunction potFunction)
potFunction
- the potFunction to setpublic String potFunctionTipText()
public double getProportion()
public void setProportion(double proportion)
proportion
- the proportion to setpublic String proportionTipText()
public double getEps()
public void setEps(double eps)
eps
- the eps to setpublic String epsTipText()
public boolean isNormalize()
public void setNormalize(boolean normalize)
normalize
- the normalize to setpublic String normalizeTipText()
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class weka.classifiers.SingleClassifierEnhancer
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class weka.classifiers.SingleClassifierEnhancer
Exception
public String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class weka.classifiers.SingleClassifierEnhancer
Copyright © 2019. All Rights Reserved.