weka.core
Interface OptionHandler
- All Known Implementing Classes:
- AbstractTimeSeries, Add, AddCluster, AddExpression, AdditiveRegression, AddNoise, ADTree, AltDist_IBk, AODE, Apriori, AttributeSelectedClassifier, AttributeSelection, AveragingResultProducer, BayesNet, BestFirst, BIRCHCluster, BVDecompose, BVDecomposeSegCVSub, CalculateLoss, CfsSubsetEval, CheckClassifier, ChiSquaredAttributeEval, Classifier, ClassifierSplitEvaluator, ClassifierSubsetEval, ClassOrder, ClusterMembership, Cobweb, ComplementNaiveBayes, ConjunctiveRule, Copy, CostSensitiveClassifier, CreateReliabilityCurve, CreateROCCurve, CrossValidationResultProducer, CSVResultListener, DatabaseResultProducer, DataToArff, DecisionTable, Decorate, Discretize, Discretize, EM, ExhaustiveSearch, Experiment, FarthestFirst, FirstOrder, ForwardSelection, GainRatioAttributeEval, GeneticSearch, IBk, InfoGainAttributeEval, InstanceQuery, J48, JRip, LearningRateResultProducer, LeastMedSq, LinearRegression, LMT, Logistic, M5Base, MakeDensityBasedClusterer, MakeIndicator, MergeTwoValues, MultiClassClassifier, MultilayerPerceptron, NaiveBayes, NNge, NominalToBinary, NominalToBinary, NumericTransform, OneR, OneRAttributeEval, OrdinalClassClassifier, PaceRegression, PairedTTester, PART, 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, SimpleKMeans, SimpleLogistic, SMOreg, SpreadSubsample, StackingC, StratifiedRemoveFolds, StringToNominal, StringToWordVector, SVMAttributeEval, SVMToArff, SwapValues, SymmetricalUncertAttributeEval, TCMBartsRMI, TCMKNearestNeighbours, Tertius, ThresholdSelector, USMWavDistance, VFI, VotedPerceptron, VPMBartsRMI, VPMBartsRMI2, VPMDistMetaLearner, VPMKNearestNeighbours, VPMMDLEntropyTypeDistMetaLearner, VPMNaiveBayes, VPMSimpleTypeDistMetaLearner, WrapperSubsetEval
- public interface OptionHandler
Interface to something that understands options.
- Version:
- $Revision: 1.6 $
- 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
Copyright (c)
2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London