public class ClojureClassifier extends AbstractClassifier implements OptionHandler, java.io.Serializable
-N <namespace> Namespace of the Clojure classifier to use.
Constructor and Description |
---|
ClojureClassifier() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(Instances insts) |
double[] |
distributionForInstance(Instance inst) |
java.lang.Object |
getModel()
Get the model learned by the Clojure classifier
|
java.lang.String |
getNamespace()
Get the namespace of the Clojure classifier to use
|
java.lang.String[] |
getOptions() |
java.lang.String |
getSchemeOptions()
Get the options to pass to the Clojure classifier
|
java.lang.String |
globalInfo() |
java.util.Enumeration |
listOptions() |
static void |
main(java.lang.String[] args)
Main method for testing this class.
|
java.lang.String |
namespaceTipText()
Tip text for displaying in the GUI
|
java.lang.String |
schemeOptionsTipText()
Tip text for displaying in the GUI
|
void |
setModel(java.lang.Object model)
Set the model learned by the Clojure classifier
|
void |
setNamespace(java.lang.String ns)
Set the namespace of the Clojure classifier to use
|
void |
setOptions(java.lang.String[] options) |
void |
setSchemeOptions(java.lang.String s)
Set the options to pass to the Clojure classifier
|
java.lang.String |
toString() |
classifyInstance, debugTipText, forName, getCapabilities, getDebug, getRevision, makeCopies, makeCopy, runClassifier, setDebug
public java.lang.String globalInfo()
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class AbstractClassifier
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class AbstractClassifier
java.lang.Exception
public java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class AbstractClassifier
public java.lang.String namespaceTipText()
public void setNamespace(java.lang.String ns)
ns
- the namspace of the Clojure classifierpublic java.lang.String getNamespace()
public java.lang.String schemeOptionsTipText()
public void setSchemeOptions(java.lang.String s)
s
- the options (as a string) to pass to the Clojure classifierpublic java.lang.String getSchemeOptions()
public void setModel(java.lang.Object model)
model
- the model learned by the clojure classifierpublic java.lang.Object getModel()
public void buildClassifier(Instances insts) throws java.lang.Exception
buildClassifier
in interface Classifier
java.lang.Exception
public double[] distributionForInstance(Instance inst) throws java.lang.Exception
distributionForInstance
in interface Classifier
distributionForInstance
in class AbstractClassifier
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
argv
- the options