weka.core
Interface OptionHandler

All Known Implementing Classes:
AbstractTimeSeries, ActiveDecorate, ActiveFeatureAcquisitionCVResultProducer, ActiveLearningCurveCVResultProducer, AdaBoostM1, Add, AddCluster, AddExpression, AdditiveRegression, AddNoise, ADTree, AffineMetric, AffineProbMetric, Apriori, AttrEvalMetricLearner, AttributeSelectedClassifier, AttributeSelection, AveragingResultProducer, Bagging, BarHillelMetric, BarHillelMetricMatlab, BasicDeduper, BayesNet, BestFirst, BIRCHCluster, Blocking, BVDecompose, CfsSubsetEval, CheckClassifier, ChiSquaredAttributeEval, ClassificationViaRegression, ClassifierInstanceMetric, ClassifierMetricLearner, ClassifierSplitEvaluator, ClassifierSubsetEval, ClassOrder, ClusteringExtractor, Cobweb, ConjunctiveRule, Copy, CostSensitiveClassifier, Crate, CrossValidationResultProducer, CSVResultListener, CVParameterSelection, DatabaseResultProducer, DEC, DecisionTable, Decorate, DeduperSplitEvaluator, DedupingPRCurveCVResultProducer, DedupingPRCurveCVResultProducerSplit, Discretize, Discretize, DistributionMetaClassifier, DistributionMetaClusterer, EM, ExhaustiveSearch, Experiment, ExtractionResultProducer, ExtractionSplitEvaluator, Fable, FarthestFirst, FilteredClassifier, FirstOrder, ForwardSelection, GainRatioAttributeEval, GDMetricLearner, GeneticSearch, HAC, HardPairwiseSelector, IBk, IBkMetric, InfoGainAttributeEval, InstanceQuery, J48, JaccardMetric, JRip, KDTree, KernelVSMetric, KL, KStar, LearningCurveCrossValidationResultProducer, LearningRateResultProducer, LeastMedSq, LinearRegression, Logistic, LogitBoost, LWR, M5Base, MakeIndicator, MatlabICA, MatlabNMF, MatlabPCA, MergeTwoValues, MetaCost, MPCKMeans, MPCKMeansAssigner, MultiBoostAB, MultiClassClassifier, MultiScheme, NaiveBayes, NaiveBayesSimple, NaiveBayesSimpleSoft, NaiveBayesSimpleSparse, NaiveBayesSimpleSparseSoft, NeuralNetwork, NGramTokenizer, NoiseCurveCrossValidationResultProducer, NominalToBinary, NominalToBinary, NumericTransform, OneR, OrdinalClassClassifier, PaceRegression, PairedTTester, PairwiseSelector, PART, PCKMeans, PCSoftKMeans, PrincipalComponents, Prototype, PrototypeMetric, QBag, QBoost, RacedIncrementalLogitBoost, RaceSearch, RandomForest, Randomize, RandomPairwiseSelector, RandomSearch, RandomSplitResultProducer, RandomTree, Ranker, RankSearch, RDG1, RegressionBVDecompose, RegressionByDiscretization, RegressionSplitEvaluator, ReliefFAttributeEval, Remove, RemoveFolds, RemoveMisclassified, RemovePercentage, RemoveRange, RemoveType, RemoveUseless, RemoveWithValues, REPTree, Resample, Resample, Ridor, SeededKMeans, SemiSupClustererSplitEvaluator, SemiSupCrossValidationResultProducer, SemiSupDecorate, SemiSupEM, SemiSupIncompleteLabelCurveCVResultProducer, SemiSupLearningCurveCVResultProducer, SemiSupPairActiveCurveCVResultProducer, SemiSupPointActiveCurveCVResultProducer, SimpleKMeans, SMO, SpreadSubsample, Stacking, StratifiedRemoveFolds, StringToNominal, StringToWordVector, SumInstanceMetric, SVMAttributeEval, SVMlight, SwapValues, SymmetricalUncertAttributeEval, TextSource, ThresholdSelector, VectorSpaceMetric, VFI, VotedPerceptron, WeightedDotP, WeightedEuclidean, WeightedMahalanobis, Winnow, WordTokenizer, WrapperSubsetEval, XingMetric, XMeans

public interface OptionHandler

Interface to something that understands options.


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.
 

Method Detail

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