Package weka
Class Run
java.lang.Object
weka.Run
Helper class that executes Weka schemes from the command line. Performs
Suffix matching on the scheme name entered by the user - e.g.
java weka.Run NaiveBayes
will prompt the user to choose among weka.classifiers.bayes.ComplementNaiveBayes, weka.classifiers.bayes.NaiveBayes, weka.classifiers.bayes.NaiveBayesMultinomial, weka.classifiers.bayes.NaiveBayesMultinomialUpdateable, weka.classifiers.bayes.NaiveBayesSimple, weka.classifiers.bayes.NaiveBayesUpdateable
java weka.Run NaiveBayes
will prompt the user to choose among weka.classifiers.bayes.ComplementNaiveBayes, weka.classifiers.bayes.NaiveBayes, weka.classifiers.bayes.NaiveBayesMultinomial, weka.classifiers.bayes.NaiveBayesMultinomialUpdateable, weka.classifiers.bayes.NaiveBayesSimple, weka.classifiers.bayes.NaiveBayesUpdateable
- Version:
- $Revision: 13476 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindSchemeMatch
(Class<?> classType, String schemeToFind, boolean matchAnywhere, boolean notJustRunnables) Find a scheme that matches the supplied suffixfindSchemeMatch
(String schemeToFind, boolean matchAnywhere) Find a scheme that matches the supplied suffixstatic void
Main method for this class.
-
Constructor Details
-
Run
public Run()
-
-
Method Details
-
findSchemeMatch
public static List<String> findSchemeMatch(Class<?> classType, String schemeToFind, boolean matchAnywhere, boolean notJustRunnables) Find a scheme that matches the supplied suffix- Parameters:
classType
- matching schemes must be of this class typeschemeToFind
- the name of the scheme to findmatchAnywhere
- if true, the name is matched anywhere in the non-package part of candidate schemes- Returns:
- a list of fully qualified matching scheme names
-
findSchemeMatch
Find a scheme that matches the supplied suffix- Parameters:
schemeToFind
- the name of the scheme to findmatchAnywhere
- if true, the name is matched anywhere in the non-package part of candidate schemes- Returns:
- a list of fully qualified matching scheme names
-
main
Main method for this class. -help or -h prints usage info.- Parameters:
args
-
-