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, setNumDecimalPlacespublic java.lang.String globalInfo()
public weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.classifiers.ClassifiergetCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class weka.classifiers.AbstractClassifierpublic void buildClassifier(weka.core.Instances insts)
throws java.lang.Exception
java.lang.Exceptionpublic double[] distributionForInstance(weka.core.Instance inst)
throws java.lang.Exception
distributionForInstance in interface weka.classifiers.ClassifierdistributionForInstance in class weka.classifiers.AbstractClassifierjava.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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.OptionHandlerlistOptions in class weka.classifiers.AbstractClassifierpublic 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.OptionHandlersetOptions in class weka.classifiers.AbstractClassifieroptions - 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.OptionHandlergetOptions in class weka.classifiers.AbstractClassifierpublic java.lang.String getRevision()
getRevision in interface weka.core.RevisionHandlergetRevision in class weka.classifiers.AbstractClassifierpublic static void main(java.lang.String[] argv)
argv - the options