|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproper.util.MilkHelper
public class MilkHelper
A little Helper class for handling MILK stuff...
| Constructor Summary | |
|---|---|
MilkHelper()
|
|
| Method Summary | |
|---|---|
static milk.classifiers.MIClassifier |
getClassifierInstance(java.lang.String classname)
returns an instance of a MILK classifier from the given complete class name, can be NULL if it doesn't succeed |
static weka.filters.Filter |
getFilterInstance(java.lang.String classname)
returns an instance of a filter specified by the classname (it only calls the method from WekaHelper) |
static boolean |
setOptions(java.lang.Object obj,
java.lang.String args)
sets the options if the class supports the setting of options, i.e. |
static boolean |
setOptions(java.lang.Object obj,
java.lang.String[] args)
sets the options if the class supports the setting of options, i.e. |
static Cells |
toCells(weka.core.Instances instances)
transfers the instances into a Cells object and returns that |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MilkHelper()
| Method Detail |
|---|
public static boolean setOptions(java.lang.Object obj,
java.lang.String args)
OptionHandler, returns TRUE if it succeeds.
(it only calls the method from WekaHelper)
public static boolean setOptions(java.lang.Object obj,
java.lang.String[] args)
OptionHandler, returns TRUE if it succeeds
(it only calls the method from WekaHelper)
public static milk.classifiers.MIClassifier getClassifierInstance(java.lang.String classname)
classname - the filename of the classifier to instantiate
public static weka.filters.Filter getFilterInstance(java.lang.String classname)
WekaHelper)
WekaHelperpublic static Cells toCells(weka.core.Instances instances)
WekaHelper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||