weka.core
Interface OptionHandler
- All Known Subinterfaces:
- CARuleMiner
- All Known Implementing Classes:
- AbstractFileSaver, AbstractTimeSeries, Add, AddCluster, AddExpression, AdditiveRegression, AddNoise, ADTree, AODE, Apriori, AttributeSelectedClassifier, AttributeSelection, AveragingResultProducer, BayesNet, BayesNetEstimator, BestFirst, BIRCHCluster, BVDecompose, BVDecomposeSegCVSub, C45Saver, CfsSubsetEval, ChangeDateFormat, CheckClassifier, ChiSquaredAttributeEval, Classifier, ClassifierSplitEvaluator, ClassifierSubsetEval, ClassOrder, ClusterMembership, Cobweb, ComplementNaiveBayes, ConjunctiveRule, Copy, CostSensitiveClassifier, CrossValidationResultProducer, CSVResultListener, DatabaseLoader, DatabaseResultProducer, DatabaseSaver, DecisionTable, Decorate, Discretize, Discretize, EM, ExhaustiveSearch, Experiment, FarthestFirst, FirstOrder, GainRatioAttributeEval, GeneticSearch, GreedyStepwise, IBk, InfoGainAttributeEval, InstanceQuery, J48, JRip, LearningRateResultProducer, LeastMedSq, LinearRegression, LMT, Logistic, M5Base, MakeDensityBasedClusterer, MakeIndicator, MergeTwoValues, MultiClassClassifier, MultilayerPerceptron, NaiveBayes, NNge, NominalToBinary, NominalToBinary, Normalize, NumericTransform, OneR, OneRAttributeEval, OrdinalClassClassifier, PaceRegression, PairedTTester, PART, PredictiveApriori, PrincipalComponents, RacedIncrementalLogitBoost, RaceSearch, RandomForest, Randomize, RandomProjection, RandomSearch, RandomSplitResultProducer, RandomTree, Ranker, RankSearch, RBFNetwork, RDG1, RegressionSplitEvaluator, ReliefFAttributeEval, Remove, RemoveFolds, RemoveMisclassified, RemovePercentage, RemoveRange, RemoveType, RemoveUseless, RemoveWithValues, REPTree, Resample, Resample, Ridor, SearchAlgorithm, SimpleKMeans, SimpleLogistic, SMOreg, SpreadSubsample, StackingC, StratifiedRemoveFolds, StringToNominal, StringToWordVector, SVMAttributeEval, SwapValues, SymmetricalUncertAttributeEval, Tertius, ThresholdSelector, VFI, VotedPerceptron, WrapperSubsetEval
- public interface OptionHandler
Interface to something that understands options.
- Version:
- $Revision: 1.7 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz), Len Trigg (trigg@cs.waikato.ac.nz)
Method Summary |
java.lang.String[] |
getOptions()
Gets the current option settings for the OptionHandler. |
java.util.Enumeration |
listOptions()
Returns an enumeration of all the available options.. |
void |
setOptions(java.lang.String[] options)
Sets the OptionHandler's options using the given list. |
listOptions
public java.util.Enumeration listOptions()
- Returns an enumeration of all the available options..
- Returns:
- an enumeration of all available options.
setOptions
public void setOptions(java.lang.String[] options)
throws java.lang.Exception
- Sets the OptionHandler's options using the given list. All options
will be set (or reset) during this call (i.e. incremental setting
of options is not possible).
- Parameters:
options
- the list of options as an array of strings
- Throws:
java.lang.Exception
- if an option is not supported
getOptions
public java.lang.String[] getOptions()
- Gets the current option settings for the OptionHandler.
- Returns:
- the list of current option settings as an array of strings