public class FLDA
extends weka.classifiers.AbstractClassifier
-R The ridge parameter. (default is 1e-6)
-output-debug-info If set, classifier is run in debug mode and may output additional info to the console
-do-not-check-capabilities If set, classifier capabilities are not checked before classifier is built (use with caution).
Constructor and Description |
---|
FLDA() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances insts)
Builds the classifier.
|
double[] |
distributionForInstance(weka.core.Instance inst)
Output class "probabilities".
|
weka.core.Capabilities |
getCapabilities()
Returns default capabilities of the classifier.
|
java.lang.String[] |
getOptions()
Gets the current settings of IBk.
|
java.lang.String |
getRevision()
Returns the revision string.
|
double |
getRidge()
Get the value of Ridge.
|
java.lang.String |
globalInfo()
Global info for this classifier.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(java.lang.String[] argv)
Generates an FLDA classifier.
|
java.lang.String |
ridgeTipText()
Returns the tip text for this property
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setRidge(double newRidge)
Set the value of Ridge.
|
java.lang.String |
toString()
Outputs description of classifier as a string.
|
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
public java.lang.String globalInfo()
public weka.core.Capabilities getCapabilities()
getCapabilities
in interface weka.classifiers.Classifier
getCapabilities
in interface weka.core.CapabilitiesHandler
getCapabilities
in class weka.classifiers.AbstractClassifier
public void buildClassifier(weka.core.Instances insts) throws java.lang.Exception
java.lang.Exception
public double[] distributionForInstance(weka.core.Instance inst) throws java.lang.Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class weka.classifiers.AbstractClassifier
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String ridgeTipText()
public double getRidge()
public void setRidge(double newRidge)
newRidge
- Value to assign to Ridge.public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class weka.classifiers.AbstractClassifier
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-R The ridge parameter. (default is 1e-6)
-output-debug-info If set, classifier is run in debug mode and may output additional info to the console
-do-not-check-capabilities If set, classifier capabilities are not checked before classifier is built (use with caution).
setOptions
in interface weka.core.OptionHandler
setOptions
in class weka.classifiers.AbstractClassifier
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class weka.classifiers.AbstractClassifier
public java.lang.String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class weka.classifiers.AbstractClassifier
public static void main(java.lang.String[] argv)
argv
- the options