public class ClojureClassifier extends weka.classifiers.AbstractClassifier implements weka.core.OptionHandler, Serializable
-N <namespace> Namespace of the Clojure classifier to use.
| Constructor and Description |
|---|
ClojureClassifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildClassifier(weka.core.Instances insts) |
double[] |
distributionForInstance(weka.core.Instance inst) |
Object |
getModel()
Get the model learned by the Clojure classifier
|
String |
getNamespace()
Get the namespace of the Clojure classifier to use
|
String[] |
getOptions() |
String |
getSchemeOptions()
Get the options to pass to the Clojure classifier
|
String |
globalInfo() |
Enumeration<weka.core.Option> |
listOptions() |
static void |
main(String[] args)
Main method for testing this class.
|
String |
namespaceTipText()
Tip text for displaying in the GUI
|
String |
schemeOptionsTipText()
Tip text for displaying in the GUI
|
void |
setModel(Object model)
Set the model learned by the Clojure classifier
|
void |
setNamespace(String ns)
Set the namespace of the Clojure classifier to use
|
void |
setOptions(String[] options) |
void |
setSchemeOptions(String s)
Set the options to pass to the Clojure classifier
|
String |
toString() |
public String globalInfo()
public Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class weka.classifiers.AbstractClassifierpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandlersetOptions in class weka.classifiers.AbstractClassifierExceptionpublic String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class weka.classifiers.AbstractClassifierpublic String namespaceTipText()
public void setNamespace(String ns)
ns - the namspace of the Clojure classifierpublic String getNamespace()
public String schemeOptionsTipText()
public void setSchemeOptions(String s)
s - the options (as a string) to pass to the Clojure classifierpublic String getSchemeOptions()
public void setModel(Object model)
model - the model learned by the clojure classifierpublic Object getModel()
public void buildClassifier(weka.core.Instances insts)
throws Exception
buildClassifier in interface weka.classifiers.ClassifierExceptionpublic double[] distributionForInstance(weka.core.Instance inst)
throws Exception
distributionForInstance in interface weka.classifiers.ClassifierdistributionForInstance in class weka.classifiers.AbstractClassifierExceptionpublic static void main(String[] args)
argv - the optionsCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.