Uses of Interface
weka.core.OptionHandler
-
-
Uses of OptionHandler in weka.associations
Subinterfaces of OptionHandler in weka.associations Modifier and Type Interface Description interfaceCARuleMinerInterface for learning class association rules.Classes in weka.associations that implement OptionHandler Modifier and Type Class Description classAbstractAssociatorAbstract scheme for learning associations.classAprioriClass implementing an Apriori-type algorithm.classCheckAssociatorClass for examining the capabilities and finding problems with associators.classFilteredAssociatorClass for running an arbitrary associator on data that has been passed through an arbitrary filter.classFPGrowthClass implementing the FP-growth algorithm for finding large item sets without candidate generation.classSingleAssociatorEnhancerAbstract utility class for handling settings common to meta associators that use a single base associator. -
Uses of OptionHandler in weka.attributeSelection
Classes in weka.attributeSelection that implement OptionHandler Modifier and Type Class Description classASEvaluationAbstract attribute selection evaluation classclassASSearchAbstract attribute selection search class.classAttributeSetEvaluatorAbstract attribute set evaluator.classBestFirstBestFirst:
Searches the space of attribute subsets by greedy hillclimbing augmented with a backtracking facility.classCfsSubsetEvalCfsSubsetEval :
Evaluates the worth of a subset of attributes by considering the individual predictive ability of each feature along with the degree of redundancy between them.
Subsets of features that are highly correlated with the class while having low intercorrelation are preferred.
For more information see:
M.classCheckAttributeSelectionClass for examining the capabilities and finding problems with attribute selection schemes.classClassifierAttributeEvalClassifierAttributeEval :
Evaluates the worth of an attribute by using a user-specified classifier.classClassifierSubsetEvalClassifier subset evaluator:
Evaluates attribute subsets on training data or a separate hold out testing set.classCorrelationAttributeEvalCorrelationAttributeEval :
Evaluates the worth of an attribute by measuring the correlation (Pearson's) between it and the class.
Nominal attributes are considered on a value by value basis by treating each value as an indicator.classGainRatioAttributeEvalGainRatioAttributeEval :
Evaluates the worth of an attribute by measuring the gain ratio with respect to the class.
GainR(Class, Attribute) = (H(Class) - H(Class | Attribute)) / H(Attribute).classGreedyStepwiseGreedyStepwise :
Performs a greedy forward or backward search through the space of attribute subsets.classHoldOutSubsetEvaluatorAbstract attribute subset evaluator capable of evaluating subsets with respect to a data set that is distinct from that used to initialize/ train the subset evaluator.classInfoGainAttributeEvalInfoGainAttributeEval :
Evaluates the worth of an attribute by measuring the information gain with respect to the class.
InfoGain(Class,Attribute) = H(Class) - H(Class | Attribute).classOneRAttributeEvalOneRAttributeEval :
Evaluates the worth of an attribute by using the OneR classifier.classPrincipalComponentsPerforms a principal components analysis and transformation of the data.classRankerRanker :
Ranks attributes by their individual evaluations.classReliefFAttributeEvalReliefFAttributeEval :
Evaluates the worth of an attribute by repeatedly sampling an instance and considering the value of the given attribute for the nearest instance of the same and different class.classSymmetricalUncertAttributeEvalSymmetricalUncertAttributeEval :
Evaluates the worth of an attribute by measuring the symmetrical uncertainty with respect to the class.classUnsupervisedAttributeEvaluatorAbstract unsupervised attribute evaluator.classUnsupervisedSubsetEvaluatorAbstract unsupervised attribute subset evaluator.classWrapperSubsetEvalWrapperSubsetEval:
Evaluates attribute sets by using a learning scheme. -
Uses of OptionHandler in weka.classifiers
Classes in weka.classifiers that implement OptionHandler Modifier and Type Class Description classAbstractClassifierAbstract classifier.classBVDecomposeClass for performing a Bias-Variance decomposition on any classifier using the method specified in:
Ron Kohavi, David H.classBVDecomposeSegCVSubThis class performs Bias-Variance decomposion on any classifier using the sub-sampled cross-validation procedure as specified in (1).
The Kohavi and Wolpert definition of bias and variance is specified in (2).
The Webb definition of bias and variance is specified in (3).
Geoffrey I.classCheckClassifierClass for examining the capabilities and finding problems with classifiers.classCheckSourceA simple class for checking the source generated from Classifiers implementing theweka.classifiers.Sourcableinterface.classIteratedSingleClassifierEnhancerAbstract utility class for handling settings common to meta classifiers that build an ensemble from a single base learner.classMultipleClassifiersCombinerAbstract utility class for handling settings common to meta classifiers that build an ensemble from multiple classifiers.classParallelIteratedSingleClassifierEnhancerAbstract utility class for handling settings common to meta classifiers that build an ensemble in parallel from a single base learner.classParallelMultipleClassifiersCombinerAbstract utility class for handling settings common to meta classifiers that build an ensemble in parallel using multiple classifiers.classRandomizableClassifierAbstract utility class for handling settings common to randomizable classifiers.classRandomizableIteratedSingleClassifierEnhancerAbstract utility class for handling settings common to randomizable meta classifiers that build an ensemble from a single base learner.classRandomizableMultipleClassifiersCombinerAbstract utility class for handling settings common to randomizable meta classifiers that build an ensemble from multiple classifiers based on a given random number seed.classRandomizableParallelIteratedSingleClassifierEnhancerAbstract utility class for handling settings common to randomizable meta classifiers that build an ensemble in parallel from a single base learner.classRandomizableParallelMultipleClassifiersCombinerAbstract utility class for handling settings common to meta classifiers that build an ensemble in parallel using multiple classifiers based on a given random number seed.classRandomizableSingleClassifierEnhancerAbstract utility class for handling settings common to randomizable meta classifiers that build an ensemble from a single base learner.classSingleClassifierEnhancerAbstract utility class for handling settings common to meta classifiers that use a single base learner. -
Uses of OptionHandler in weka.classifiers.bayes
Classes in weka.classifiers.bayes that implement OptionHandler Modifier and Type Class Description classBayesNetBayes Network learning using various search algorithms and quality measures.
Base class for a Bayes Network classifier.classNaiveBayesClass for a Naive Bayes classifier using estimator classes.classNaiveBayesMultinomialClass for building and using a multinomial Naive Bayes classifier.classNaiveBayesMultinomialTextMultinomial naive bayes for text data.classNaiveBayesMultinomialUpdateableClass for building and using an updateable multinomial Naive Bayes classifier.classNaiveBayesUpdateableClass for a Naive Bayes classifier using estimator classes. -
Uses of OptionHandler in weka.classifiers.bayes.net
Classes in weka.classifiers.bayes.net that implement OptionHandler Modifier and Type Class Description classBayesNetGeneratorBayes Network learning using various search algorithms and quality measures.
Base class for a Bayes Network classifier.classBIFReaderBuilds a description of a Bayes Net classifier stored in XML BIF 0.3 format.
For more details on XML BIF see:
Fabio Cozman, Marek Druzdzel, Daniel Garcia (1998).classEditableBayesNetBayes Network learning using various search algorithms and quality measures.
Base class for a Bayes Network classifier. -
Uses of OptionHandler in weka.classifiers.bayes.net.estimate
Classes in weka.classifiers.bayes.net.estimate that implement OptionHandler Modifier and Type Class Description classBayesNetEstimatorBayesNetEstimator is the base class for estimating the conditional probability tables of a Bayes network once the structure has been learned.classBMAEstimatorBMAEstimator estimates conditional probability tables of a Bayes network using Bayes Model Averaging (BMA).classDiscreteEstimatorBayesSymbolic probability estimator based on symbol counts and a prior.classDiscreteEstimatorFullBayesSymbolic probability estimator based on symbol counts and a prior.classMultiNomialBMAEstimatorMultinomial BMA Estimator.classSimpleEstimatorSimpleEstimator is used for estimating the conditional probability tables of a Bayes network once the structure has been learned. -
Uses of OptionHandler in weka.classifiers.bayes.net.search
Classes in weka.classifiers.bayes.net.search that implement OptionHandler Modifier and Type Class Description classSearchAlgorithmThis is the base class for all search algorithms for learning Bayes networks. -
Uses of OptionHandler in weka.classifiers.bayes.net.search.ci
Classes in weka.classifiers.bayes.net.search.ci that implement OptionHandler Modifier and Type Class Description classCISearchAlgorithmThe CISearchAlgorithm class supports Bayes net structure search algorithms that are based on conditional independence test (as opposed to for example score based of cross validation based search algorithms).classICSSearchAlgorithmThis Bayes Network learning algorithm uses conditional independence tests to find a skeleton, finds V-nodes and applies a set of rules to find the directions of the remaining arrows. -
Uses of OptionHandler in weka.classifiers.bayes.net.search.fixed
Classes in weka.classifiers.bayes.net.search.fixed that implement OptionHandler Modifier and Type Class Description classFromFileThe FromFile reads the structure of a Bayes net from a file in BIFF format.classNaiveBayesThe NaiveBayes class generates a fixed Bayes network structure with arrows from the class variable to each of the attribute variables. -
Uses of OptionHandler in weka.classifiers.bayes.net.search.global
Classes in weka.classifiers.bayes.net.search.global that implement OptionHandler Modifier and Type Class Description classGeneticSearchThis Bayes Network learning algorithm uses genetic search for finding a well scoring Bayes network structure.classGlobalScoreSearchAlgorithmThis Bayes Network learning algorithm uses cross validation to estimate classification accuracy.classHillClimberThis Bayes Network learning algorithm uses a hill climbing algorithm adding, deleting and reversing arcs.classK2This Bayes Network learning algorithm uses a hill climbing algorithm restricted by an order on the variables.
For more information see:
G.F.classRepeatedHillClimberThis Bayes Network learning algorithm repeatedly uses hill climbing starting with a randomly generated network structure and return the best structure of the various runs.classSimulatedAnnealingThis Bayes Network learning algorithm uses the general purpose search method of simulated annealing to find a well scoring network structure.
For more information see:
R.R.classTabuSearchThis Bayes Network learning algorithm uses tabu search for finding a well scoring Bayes network structure.classTANThis Bayes Network learning algorithm determines the maximum weight spanning tree and returns a Naive Bayes network augmented with a tree.
For more information see:
N. -
Uses of OptionHandler in weka.classifiers.bayes.net.search.local
Classes in weka.classifiers.bayes.net.search.local that implement OptionHandler Modifier and Type Class Description classGeneticSearchThis Bayes Network learning algorithm uses genetic search for finding a well scoring Bayes network structure.classHillClimberThis Bayes Network learning algorithm uses a hill climbing algorithm adding, deleting and reversing arcs.classK2This Bayes Network learning algorithm uses a hill climbing algorithm restricted by an order on the variables.
For more information see:
G.F.classLAGDHillClimberThis Bayes Network learning algorithm uses a Look Ahead Hill Climbing algorithm called LAGD Hill Climbing.classLocalScoreSearchAlgorithmThe ScoreBasedSearchAlgorithm class supports Bayes net structure search algorithms that are based on maximizing scores (as opposed to for example conditional independence based search algorithms).classRepeatedHillClimberThis Bayes Network learning algorithm repeatedly uses hill climbing starting with a randomly generated network structure and return the best structure of the various runs.classSimulatedAnnealingThis Bayes Network learning algorithm uses the general purpose search method of simulated annealing to find a well scoring network structure.
For more information see:
R.R.classTabuSearchThis Bayes Network learning algorithm uses tabu search for finding a well scoring Bayes network structure.classTANThis Bayes Network learning algorithm determines the maximum weight spanning tree and returns a Naive Bayes network augmented with a tree.
For more information see:
N. -
Uses of OptionHandler in weka.classifiers.evaluation.output.prediction
Classes in weka.classifiers.evaluation.output.prediction that implement OptionHandler Modifier and Type Class Description classAbstractOutputA superclass for outputting the classifications of a classifier.classCSVOutputs the predictions as CSV.classHTMLOutputs the predictions in HTML.classInMemory* Stores the predictions in memory for programmatic retrieval.
* Stores the instance, a prediction object and a map of attribute names with their associated values if an attribute was defined in a container per prediction.
* The list of predictions can get retrieved using the getPredictions() method.
* File output is disabled and buffer doesn't need to be supplied.classNullSuppresses all output.classPlainTextOutputs the predictions in plain text.classXMLOutputs the predictions in XML.
The following DTD is used:
<!DOCTYPE predictions
[
<!ELEMENT predictions (prediction*)>
<!ATTLIST predictions version CDATA "3.5.8">
<!ATTLIST predictions name CDATA #REQUIRED>
<!ELEMENT prediction ((actual_label,predicted_label,error,(prediction|distribution),attributes?)|(actual_value,predicted_value,error,attributes?))>
<!ATTLIST prediction index CDATA #REQUIRED>
<!ELEMENT actual_label ANY>
<!ATTLIST actual_label index CDATA #REQUIRED>
<!ELEMENT predicted_label ANY>
<!ATTLIST predicted_label index CDATA #REQUIRED>
<!ELEMENT error ANY>
<!ELEMENT prediction ANY>
<!ELEMENT distribution (class_label+)>
<!ELEMENT class_label ANY>
<!ATTLIST class_label index CDATA #REQUIRED>
<!ATTLIST class_label predicted (yes|no) "no">
<!ELEMENT actual_value ANY>
<!ELEMENT predicted_value ANY>
<!ELEMENT attributes (attribute+)>
<!ELEMENT attribute ANY>
<!ATTLIST attribute index CDATA #REQUIRED>
<!ATTLIST attribute name CDATA #REQUIRED>
<!ATTLIST attribute type (numeric|date|nominal|string|relational) #REQUIRED>
]
> -
Uses of OptionHandler in weka.classifiers.functions
Classes in weka.classifiers.functions that implement OptionHandler Modifier and Type Class Description classGaussianProcesses* Implements Gaussian processes for regression without hyperparameter-tuning.classLinearRegressionClass for using linear regression for prediction.classLogisticClass for building and using a multinomial logistic regression model with a ridge estimator.
There are some modifications, however, compared to the paper of leCessie and van Houwelingen(1992):
If there are k classes for n instances with m attributes, the parameter matrix B to be calculated will be an m*(k-1) matrix.
The probability for class j with the exception of the last class is
Pj(Xi) = exp(XiBj)/((sum[j=1..(k-1)]exp(Xi*Bj))+1)
The last class has probability
1-(sum[j=1..(k-1)]Pj(Xi))
= 1/((sum[j=1..(k-1)]exp(Xi*Bj))+1)
The (negative) multinomial log-likelihood is thus:
L = -sum[i=1..n]{
sum[j=1..(k-1)](Yij * ln(Pj(Xi)))
+(1 - (sum[j=1..(k-1)]Yij))
* ln(1 - sum[j=1..(k-1)]Pj(Xi))
} + ridge * (B^2)
In order to find the matrix B for which L is minimised, a Quasi-Newton Method is used to search for the optimized values of the m*(k-1) variables.classMultilayerPerceptronA classifier that uses backpropagation to learn a multi-layer perceptron to classify instances.classSGDImplements stochastic gradient descent for learning various linear models (binary class SVM, binary class logistic regression, squared loss, Huber loss and epsilon-insensitive loss linear regression).classSGDTextImplements stochastic gradient descent for learning a linear binary class SVM or binary class logistic regression on text data.classSimpleLinearRegressionLearns a simple linear regression model.classSimpleLogisticClassifier for building linear logistic regression models.classSMOImplements John Platt's sequential minimal optimization algorithm for training a support vector classifier.
This implementation globally replaces all missing values and transforms nominal attributes into binary ones.classSMOregSMOreg implements the support vector machine for regression.classVotedPerceptronImplementation of the voted perceptron algorithm by Freund and Schapire. -
Uses of OptionHandler in weka.classifiers.functions.supportVector
Classes in weka.classifiers.functions.supportVector that implement OptionHandler Modifier and Type Class Description classCachedKernelBase class for RBFKernel and PolyKernel that implements a simple LRU.classCheckKernelClass for examining the capabilities and finding problems with kernels.classKernelAbstract kernel.classNormalizedPolyKernelThe normalized polynomial kernel.
K(x,y) = <x,y>/sqrt(<x,x><y,y>) where <x,y> = PolyKernel(x,y)classPolyKernelThe polynomial kernel : K(x, y) = <x, y>^p or K(x, y) = (<x, y>+1)^pclassPrecomputedKernelMatrixKernelThis kernel is based on a static kernel matrix that is read from a file.classPukThe Pearson VII function-based universal kernel.
For more information see:
B.classRBFKernelThe RBF kernel : K(x, y) = exp(-gamma*(x-y)^2)
Valid options are:classRegOptimizerBase class implementation for learning algorithm of SMOreg Valid options are:classRegSMOImplementation of SMO for support vector regression as described in :
A.J.classRegSMOImprovedLearn SVM for regression using SMO with Shevade, Keerthi, et al.classStringKernelImplementation of the subsequence kernel (SSK) as described in [1] and of the subsequence kernel with lambda pruning (SSK-LP) as described in [2].
For more information, see
Huma Lodhi, Craig Saunders, John Shawe-Taylor, Nello Cristianini, Christopher J. -
Uses of OptionHandler in weka.classifiers.lazy
Classes in weka.classifiers.lazy that implement OptionHandler Modifier and Type Class Description classIBkK-nearest neighbours classifier.classKStarK* is an instance-based classifier, that is the class of a test instance is based upon the class of those training instances similar to it, as determined by some similarity function.classLWLLocally weighted learning. -
Uses of OptionHandler in weka.classifiers.meta
Classes in weka.classifiers.meta that implement OptionHandler Modifier and Type Class Description classAdaBoostM1Class for boosting a nominal class classifier using the Adaboost M1 method.classAdditiveRegressionMeta classifier that enhances the performance of a regression base classifier.classAttributeSelectedClassifierDimensionality of training and test data is reduced by attribute selection before being passed on to a classifier.classBaggingClass for bagging a classifier to reduce variance.classClassificationViaRegressionClass for doing classification using regression methods.classCostSensitiveClassifierA metaclassifier that makes its base classifier cost sensitive.classCVParameterSelectionClass for performing parameter selection by cross-validation for any classifier.
For more information, see:
R.classFilteredClassifierClass for running an arbitrary classifier on data that has been passed through an arbitrary filter.classIterativeClassifierOptimizerChooses the best number of iterations for an IterativeClassifier such as LogitBoost using cross-validation or a percentage split evaluation.classLogitBoostClass for performing additive logistic regression.classMultiClassClassifierA metaclassifier for handling multi-class datasets with 2-class classifiers.classMultiClassClassifierUpdateableA metaclassifier for handling multi-class datasets with 2-class classifiers.classMultiSchemeClass for selecting a classifier from among several using cross validation on the training data or the performance on the training data.classRandomCommitteeClass for building an ensemble of randomizable base classifiers.classRandomizableFilteredClassifierClass for running an arbitrary classifier on data that has been passed through an arbitrary filter.classRandomSubSpaceThis method constructs a decision tree based classifier that maintains highest accuracy on training data and improves on generalization accuracy as it grows in complexity.classRegressionByDiscretizationA regression scheme that employs any classifier on a copy of the data that has the class attribute (equal-width) discretized.classStackingCombines several classifiers using the stacking method.classVoteClass for combining classifiers.classWeightedInstancesHandlerWrapperGeneric wrapper around any classifier to enable weighted instances support.
Uses resampling with weights if the base classifier is not implementing the weka.core.WeightedInstancesHandler interface and there are instance weights other 1.0 present. -
Uses of OptionHandler in weka.classifiers.misc
Classes in weka.classifiers.misc that implement OptionHandler Modifier and Type Class Description classInputMappedClassifierWrapper classifier that addresses incompatible training and test data by building a mapping between the training data that a classifier has been built with and the incoming test instances' structure.classSerializedClassifierA wrapper around a serialized classifier model. -
Uses of OptionHandler in weka.classifiers.pmml.consumer
Classes in weka.classifiers.pmml.consumer that implement OptionHandler Modifier and Type Class Description classGeneralRegressionClass implementing import of PMML General Regression model.classNeuralNetworkClass implementing import of PMML Neural Network model.classPMMLClassifierAbstract base class for all PMML classifiers.classRegressionClass implementing import of PMML Regression model.classRuleSetModelClass implementing import of PMML RuleSetModel.classSupportVectorMachineModelImplements a PMML SupportVectorMachineModelclassTreeModelClass implementing import of PMML TreeModel. -
Uses of OptionHandler in weka.classifiers.rules
Classes in weka.classifiers.rules that implement OptionHandler Modifier and Type Class Description classDecisionTableClass for building and using a simple decision table majority classifier.
For more information see:
Ron Kohavi: The Power of Decision Tables.classJRipThis class implements a propositional rule learner, Repeated Incremental Pruning to Produce Error Reduction (RIPPER), which was proposed by William W.classM5RulesGenerates a decision list for regression problems using separate-and-conquer.classOneRClass for building and using a 1R classifier; in other words, uses the minimum-error attribute for prediction, discretizing numeric attributes.classPARTClass for generating a PART decision list.classZeroRClass for building and using a 0-R classifier. -
Uses of OptionHandler in weka.classifiers.trees
Classes in weka.classifiers.trees that implement OptionHandler Modifier and Type Class Description classDecisionStumpClass for building and using a decision stump.classHoeffdingTreeA Hoeffding tree (VFDT) is an incremental, anytime decision tree induction algorithm that is capable of learning from massive data streams, assuming that the distribution generating examples does not change over time.classJ48Class for generating a pruned or unpruned C4.5 decision tree.classLMTClassifier for building 'logistic model trees', which are classification trees with logistic regression functions at the leaves.classM5PM5Base.classRandomForestClass for constructing a forest of random trees.
For more information see:
Leo Breiman (2001).classRandomTreeClass for constructing a tree that considers K randomly chosen attributes at each node.classREPTreeFast decision tree learner. -
Uses of OptionHandler in weka.classifiers.trees.lmt
Classes in weka.classifiers.trees.lmt that implement OptionHandler Modifier and Type Class Description classLMTNodeClass for logistic model tree structure.classLogisticBaseBase/helper class for building logistic regression models with the LogitBoost algorithm. -
Uses of OptionHandler in weka.classifiers.trees.m5
Classes in weka.classifiers.trees.m5 that implement OptionHandler Modifier and Type Class Description classM5BaseM5Base.classPreConstructedLinearModelThis class encapsulates a linear regression function.classRuleNodeConstructs a node for use in an m5 tree or rule -
Uses of OptionHandler in weka.clusterers
Classes in weka.clusterers that implement OptionHandler Modifier and Type Class Description classAbstractClustererAbstract clusterer.classAbstractDensityBasedClustererAbstract clustering model that produces (for each test instance) an estimate of the membership in each cluster (ie.classCanopyCluster data using the capopy clustering algorithm, which requires just one pass over the data.classCheckClustererClass for examining the capabilities and finding problems with clusterers.classCobwebClass implementing the Cobweb and Classit clustering algorithms.
Note: the application of node operators (merging, splitting etc.) in terms of ordering and priority differs (and is somewhat ambiguous) between the original Cobweb and Classit papers.classEMSimple EM (expectation maximisation) class.
EM assigns a probability distribution to each instance which indicates the probability of it belonging to each of the clusters.classFarthestFirstCluster data using the FarthestFirst algorithm.
For more information see:
Hochbaum, Shmoys (1985).classFilteredClustererClass for running an arbitrary clusterer on data that has been passed through an arbitrary filter.classHierarchicalClustererHierarchical clustering class.classMakeDensityBasedClustererClass for wrapping a Clusterer to make it return a distribution and density.classRandomizableClustererAbstract utility class for handling settings common to randomizable clusterers.classRandomizableDensityBasedClustererAbstract utility class for handling settings common to randomizable clusterers.classRandomizableSingleClustererEnhancerAbstract utility class for handling settings common to randomizable clusterers.classSimpleKMeansCluster data using the k means algorithm.classSingleClustererEnhancerMeta-clusterer for enhancing a base clusterer. -
Uses of OptionHandler in weka.core
Subinterfaces of OptionHandler in weka.core Modifier and Type Interface Description interfaceDistanceFunctionInterface for any class that can compute and return distances between two instances.Classes in weka.core that implement OptionHandler Modifier and Type Class Description classAllJavadocApplies all known Javadoc-derived classes to a source file.classChebyshevDistanceImplements the Chebyshev distance.classCheckAbstract general class for testing in Weka.classCheckGOESimple command line checking of classes that are editable in the GOE.classCheckOptionHandlerSimple command line checking of classes that implement OptionHandler.classCheckSchemeAbstract general class for testing schemes in Weka.classDictionaryBuilderClass for building and maintaining a dictionary of terms.classEuclideanDistanceImplementing Euclidean distance (or similarity) function.
One object defines not one distance but the data model in which the distances between objects of that data model can be computed.
Attention: For efficiency reasons the use of consistency checks (like are the data models of the two instances exactly the same), is low.
For more information, see:
Wikipedia.classFilteredDistanceApplies the given filter before calling the given distance function.classFindWithCapabilitiesLocates all classes with certain capabilities.classGlobalInfoJavadocGenerates Javadoc comments from the class's globalInfo method.classJavadocAbstract superclass for classes that generate Javadoc comments and replace the content between certain comment tags.classListOptionsLists the options of an OptionHandlerclassManhattanDistanceImplements the Manhattan distance (or Taxicab geometry).classMinkowskiDistanceImplementing Minkowski distance (or similarity) function.
One object defines not one distance but the data model in which the distances between objects of that data model can be computed.
Attention: For efficiency reasons the use of consistency checks (like are the data models of the two instances exactly the same), is low.
For more information, see:
Wikipedia.classNormalizableDistanceRepresents the abstract ancestor for normalizable distance functions, like Euclidean or Manhattan distance.classOptionHandlerJavadocGenerates Javadoc comments from the OptionHandler's options.classTechnicalInformationHandlerJavadocGenerates Javadoc comments from the TechnicalInformationHandler's data.classTestInstancesGenerates artificial datasets for testing.Methods in weka.core that return OptionHandler Modifier and Type Method Description OptionHandlerCheckOptionHandler. getOptionHandler()Get the OptionHandler used in the tests.static OptionHandlerOptionHandler. makeCopy(OptionHandler toCopy)Creates an instance of the class that the given option handler belongs to and sets the options for this new instance by taking the option settings from the given option handler.Methods in weka.core with parameters of type OptionHandler Modifier and Type Method Description static OptionHandlerOptionHandler. makeCopy(OptionHandler toCopy)Creates an instance of the class that the given option handler belongs to and sets the options for this new instance by taking the option settings from the given option handler.voidCheckOptionHandler. setOptionHandler(OptionHandler value)Set the OptionHandler to work on.. -
Uses of OptionHandler in weka.core.converters
Classes in weka.core.converters that implement OptionHandler Modifier and Type Class Description classAbstractFileSaverAbstract class for Savers that save to a file Valid options are: -i input arff file
The input filw in arff format.classArffSaverWrites to a destination in arff text format.classC45SaverWrites to a destination that is in the format used by the C4.5 algorithm.
Therefore it outputs a names and a data file.classCSVLoaderReads a source that is in comma separated format (the default).classCSVSaverWrites to a destination that is in CSV (comma-separated values) format.classDatabaseLoaderReads Instances from a Database.classDatabaseSaverWrites to a database (tested with MySQL, InstantDB, HSQLDB).classDictionarySaverWrites a dictionary constructed from string attributes in incoming instances to a destination.classJSONSaverWrites to a destination that is in JSON format.
The data can be compressed with gzip, in order to save space.
For more information, see JSON homepage:
http://www.json.org/classLibSVMSaverWrites to a destination that is in libsvm format.
For more information about libsvm see:
http://www.csie.ntu.edu.tw/~cjlin/libsvm/classMatlabSaverWrites Matlab ASCII files, in single or double precision format.classSerializedInstancesSaverSerializes the instances to a file with extension bsi.classSVMLightSaverWrites to a destination that is in svm light format.
For more information about svm light see:
http://svmlight.joachims.org/classTextDirectoryLoaderLoads all text files in a directory and uses the subdirectory names as class labels.classXRFFSaverWrites to a destination that is in the XML version of the ARFF format. -
Uses of OptionHandler in weka.core.neighboursearch
Classes in weka.core.neighboursearch that implement OptionHandler Modifier and Type Class Description classBallTreeClass implementing the BallTree/Metric Tree algorithm for nearest neighbour search.
The connection to dataset is only a reference.classCoverTreeClass implementing the CoverTree datastructure.
The class is very much a translation of the c source code made available by the authors.
For more information and original source code see:
Alina Beygelzimer, Sham Kakade, John Langford: Cover trees for nearest neighbor.classFilteredNeighbourSearchApplies the given filter before calling the given neighbour search method.classKDTreeClass implementing the KDTree search algorithm for nearest neighbour search.
The connection to dataset is only a reference.classLinearNNSearchClass implementing the brute force search algorithm for nearest neighbour search.classNearestNeighbourSearchAbstract class for nearest neighbour search. -
Uses of OptionHandler in weka.core.neighboursearch.balltrees
Classes in weka.core.neighboursearch.balltrees that implement OptionHandler Modifier and Type Class Description classBallSplitterAbstract class for splitting a ball tree's BallNode.classBallTreeConstructorAbstract class for constructing a BallTree .classBottomUpConstructorThe class that constructs a ball tree bottom up.classMedianDistanceFromArbitraryPointClass that splits a BallNode of a ball tree using Uhlmann's described method.
For information see:
Jeffrey K.classMedianOfWidestDimensionClass that splits a BallNode of a ball tree based on the median value of the widest dimension of the points in the ball.classMiddleOutConstructorThe class that builds a BallTree middle out.
For more information see also:
Andrew W.classPointsClosestToFurthestChildrenImplements the Moore's method to split a node of a ball tree.
For more information please see section 2 of the 1st and 3.2.3 of the 2nd:
Andrew W.classTopDownConstructorThe class implementing the TopDown construction method of ball trees. -
Uses of OptionHandler in weka.core.neighboursearch.kdtrees
Classes in weka.core.neighboursearch.kdtrees that implement OptionHandler Modifier and Type Class Description classKDTreeNodeSplitterClass that splits up a KDTreeNode.classKMeansInpiredMethodThe class that splits a node into two such that the overall sum of squared distances of points to their centres on both sides of the (axis-parallel) splitting plane is minimum.
For more information see also:
Ashraf Masood Kibriya (2007).classMedianOfWidestDimensionThe class that splits a KDTree node based on the median value of a dimension in which the node's points have the widest spread.
For more information see also:
Jerome H.classMidPointOfWidestDimensionThe class that splits a KDTree node based on the midpoint value of a dimension in which the node's points have the widest spread.
For more information see also:
Andrew Moore (1991).classSlidingMidPointOfWidestSideThe class that splits a node into two based on the midpoint value of the dimension in which the node's rectangle is widest. -
Uses of OptionHandler in weka.core.stemmers
Classes in weka.core.stemmers that implement OptionHandler Modifier and Type Class Description classSnowballStemmerA wrapper class for the Snowball stemmers. -
Uses of OptionHandler in weka.core.stopwords
Classes in weka.core.stopwords that implement OptionHandler Modifier and Type Class Description classAbstractFileBasedStopwordsAncestor for file-based stopword schemes.classAbstractStopwordsAncestor for stopwords classes.classMultiStopwordsApplies the specified stopwords algorithms one after other.
As soon as a word has been identified as stopword, the loop is exited.classNullDummy stopwords scheme, always returns false.classRainbowStopwords list based on Rainbow:
http://www.cs.cmu.edu/~mccallum/bow/rainbow/classRegExpFromFileUses the regular expressions stored in the file for determining whether a word is a stopword (ignored if pointing to a directory).classWordsFromFileUses the stopwords located in the specified file (ignored _if pointing to a directory). -
Uses of OptionHandler in weka.core.tokenizers
Classes in weka.core.tokenizers that implement OptionHandler Modifier and Type Class Description classAlphabeticTokenizerAlphabetic string tokenizer, tokens are to be formed only from contiguous alphabetic sequences.classCharacterDelimitedTokenizerAbstract superclass for tokenizers that take characters as delimiters.classCharacterNGramTokenizerSplits a string into an n-gram with min and max grams.classNGramTokenizerSplits a string into an n-gram with min and max grams.classTokenizerA superclass for all tokenizer algorithms.classWordTokenizerA simple tokenizer that is using the java.util.StringTokenizer class to tokenize the strings. -
Uses of OptionHandler in weka.datagenerators
Classes in weka.datagenerators that implement OptionHandler Modifier and Type Class Description classClassificationGeneratorAbstract class for data generators for classifiers.classClusterDefinitionAncestor to all ClusterDefinitions, i.e., subclasses that handle their own parameters that the cluster generator only passes on.classClusterGeneratorAbstract class for cluster data generators.classDataGeneratorAbstract superclass for data generators that generate data for classifiers and clusterers.classRegressionGeneratorAbstract class for data generators for regression classifiers. -
Uses of OptionHandler in weka.datagenerators.classifiers.classification
Classes in weka.datagenerators.classifiers.classification that implement OptionHandler Modifier and Type Class Description classAgrawalGenerates a people database and is based on the paper by Agrawal et al.:
R.classBayesNetGenerates random instances based on a Bayes network.classLED24This generator produces data for a display with 7 LEDs.classRandomRBFRandomRBF data is generated by first creating a random set of centers for each class.classRDG1A data generator that produces data randomly by producing a decision list.
The decision list consists of rules.
Instances are generated randomly one by one. -
Uses of OptionHandler in weka.datagenerators.classifiers.regression
Classes in weka.datagenerators.classifiers.regression that implement OptionHandler Modifier and Type Class Description classExpressionA data generator for generating y according to a given expression out of randomly generated x.
E.g., the mexican hat can be generated like this:
sin(abs(a1)) / abs(a1)
In addition to this function, the amplitude can be changed and gaussian noise can be added.classMexicanHatA data generator for the simple 'Mexian Hat' function:
y = sin|x| / |x|
In addition to this simple function, the amplitude can be changed and gaussian noise can be added. -
Uses of OptionHandler in weka.datagenerators.clusterers
Classes in weka.datagenerators.clusterers that implement OptionHandler Modifier and Type Class Description classBIRCHClusterCluster data generator designed for the BIRCH System
Dataset is generated with instances in K clusters.
Instances are 2-d data points.
Each cluster is characterized by the number of data points in itits radius and its center.classSubspaceClusterA data generator that produces data points in hyperrectangular subspace clusters.classSubspaceClusterDefinitionA single cluster for the SubspaceCluster data generator. -
Uses of OptionHandler in weka.estimators
Classes in weka.estimators that implement OptionHandler Modifier and Type Class Description classCheckEstimatorClass for examining the capabilities and finding problems with estimators.classDiscreteEstimatorSimple symbolic probability estimator based on symbol counts.classEstimatorAbstract class for all estimators.classKernelEstimatorSimple kernel density estimator.classMahalanobisEstimatorSimple probability estimator that places a single normal distribution over the observed values.classNormalEstimatorSimple probability estimator that places a single normal distribution over the observed values.classPoissonEstimatorSimple probability estimator that places a single Poisson distribution over the observed values.classUnivariateMixtureEstimatorSimple weighted mixture density estimator. -
Uses of OptionHandler in weka.experiment
Classes in weka.experiment that implement OptionHandler Modifier and Type Class Description classAveragingResultProducerTakes the results from a ResultProducer and submits the average to the result listener.classClassifierSplitEvaluatorA SplitEvaluator that produces results for a classification scheme on a nominal class attribute.classCostSensitiveClassifierSplitEvaluatorSplitEvaluator that produces results for a classification scheme on a nominal class attribute, including weighted misclassification costs.classCrossValidationResultProducerGenerates for each run, carries out an n-fold cross-validation, using the set SplitEvaluator to generate some results.classCrossValidationSplitResultProducerCarries out one split of a repeated k-fold cross-validation, using the set SplitEvaluator to generate some results.classCSVResultListenerTakes results from a result producer and assembles them into comma separated value form.classDatabaseResultProducerExamines a database and extracts out the results produced by the specified ResultProducer and submits them to the specified ResultListener.classDensityBasedClustererSplitEvaluatorA SplitEvaluator that produces results for a density based clusterer.classExperimentHolds all the necessary configuration information for a standard type experiment.classExplicitTestsetResultProducerLoads the external test set and calls the appropriate SplitEvaluator to generate some results.
The filename of the test set is constructed as follows:
<dir> + / + <prefix> + <relation-name> + <suffix>
The relation-name can be modified by using the regular expression to replace the matching sub-string with a specified replacement string.classInstanceQueryConvert the results of a database query into instances.classInstancesResultListenerOutputs the received results in arff format to a Writer.classLearningRateResultProducerTells a sub-ResultProducer to reproduce the current run for varying sized subsamples of the dataset.classPairedCorrectedTTesterBehaves the same as PairedTTester, only it uses the corrected resampled t-test statistic.classPairedTTesterCalculates T-Test statistics on data stored in a set of instances.classRandomSplitResultProducerGenerates a single train/test split and calls the appropriate SplitEvaluator to generate some results.classRegressionSplitEvaluatorA SplitEvaluator that produces results for a classification scheme on a numeric class attribute.classRemoteExperimentHolds all the necessary configuration information for a distributed experiment.classResultMatrixThis matrix is a container for the datasets and classifier setups and their statistics.classResultMatrixCSVGenerates the matrix in CSV ('comma-separated values') format.classResultMatrixGnuPlotGenerates output for a data and script file for GnuPlot.classResultMatrixHTMLGenerates the matrix output as HTML.classResultMatrixLatexGenerates the matrix output in LaTeX-syntax.classResultMatrixPlainTextGenerates the output as plain text (for fixed width fonts).classResultMatrixSignificanceOnly outputs the significance indicators. -
Uses of OptionHandler in weka.filters
Classes in weka.filters that implement OptionHandler Modifier and Type Class Description classAllFilterA simple instance filter that passes all instances directly through.classCheckSourceA simple class for checking the source generated from Filters implementing theweka.filters.Sourcableinterface.classFilterAn abstract class for instance filters: objects that take instances as input, carry out some transformation on the instance and then output the instance.classMultiFilterApplies several filters successively.classRenameRelationA simple filter that allows the relation name of a set of instances to be altered in various ways.classSimpleBatchFilterThis filter is a superclass for simple batch filters.classSimpleFilterThis filter contains common behavior of the SimpleBatchFilter and the SimpleStreamFilter.classSimpleStreamFilterThis filter is a superclass for simple stream filters. -
Uses of OptionHandler in weka.filters.supervised.attribute
Classes in weka.filters.supervised.attribute that implement OptionHandler Modifier and Type Class Description classAddClassificationA filter for adding the classification, the class distribution and an error flag to a dataset with a classifier.classAttributeSelectionA supervised attribute filter that can be used to select attributes.classClassConditionalProbabilitiesConverts the values of nominal and/or numeric attributes into class conditional probabilities.classClassOrderChanges the order of the classes so that the class values are no longer of in the order specified in the header.classDiscretizeAn instance filter that discretizes a range of numeric attributes in the dataset into nominal attributes.classMergeNominalValuesMerges values of all nominal attributes among the specified attributes, excluding the class attribute, using the CHAID method, but without considering re-splitting of merged subsets.classNominalToBinaryConverts all nominal attributes into binary numeric attributes.classPartitionMembership* A filter that uses a PartitionGenerator to generate partition membership values; filtered instances are composed of these values plus the class attribute (if set in the input data) and rendered as sparse instances. -
Uses of OptionHandler in weka.filters.supervised.instance
Classes in weka.filters.supervised.instance that implement OptionHandler Modifier and Type Class Description classClassBalancerReweights the instances in the data so that each class has the same total weight.classResampleProduces a random subsample of a dataset using either sampling with replacement or without replacement.
The original dataset must fit entirely in memory.classSpreadSubsampleProduces a random subsample of a dataset.classStratifiedRemoveFoldsThis filter takes a dataset and outputs a specified fold for cross validation. -
Uses of OptionHandler in weka.filters.unsupervised.attribute
Classes in weka.filters.unsupervised.attribute that implement OptionHandler Modifier and Type Class Description classAbstractTimeSeriesAn abstract instance filter that assumes instances form time-series data and performs some merging of attribute values in the current instance with attribute attribute values of some previous (or future) instance.classAddAn instance filter that adds a new attribute to the dataset.classAddClusterA filter that adds a new nominal attribute representing the cluster assigned to each instance by the specified clustering algorithm.
Either the clustering algorithm gets built with the first batch of data or one specifies are serialized clusterer model file to use instead.classAddExpressionAn instance filter that creates a new attribute by applying a mathematical expression to existing attributes.classAddIDAn instance filter that adds an ID attribute to the dataset.classAddNoiseAn instance filter that changes a percentage of a given attribute's values.classAddUserFieldsA filter that adds new attributes with user specified type and constant value.classAddValuesAdds the labels from the given list to an attribute if they are missing.classCartesianProductA filter for performing the Cartesian product of a set of nominal attributes.classCenterCenters all numeric attributes in the given dataset to have zero mean (apart from the class attribute, if set).classChangeDateFormatChanges the date format used by a date attribute.classClassAssignerFilter that can set and unset the class index.classClusterMembershipA filter that uses a density-based clusterer to generate cluster membership values; filtered instances are composed of these values plus the class attribute (if set in the input data).classCopyAn instance filter that copies a range of attributes in the dataset.classDateToNumericA filter for turning date attributes into numeric ones.classDiscretizeAn instance filter that discretizes a range of numeric attributes in the dataset into nominal attributes.classFirstOrderThis instance filter takes a range of N numeric attributes and replaces them with N-1 numeric attributes, the values of which are the difference between consecutive attribute values from the original instance.classFixedDictionaryStringToWordVectorConverts String attributes into a set of attributes representing word occurrence (depending on the tokenizer) information from the text contained in the strings.classInterquartileRangeA filter for detecting outliers and extreme values based on interquartile ranges.classKernelFilterConverts the given set of data into a kernel matrix.classMakeIndicatorA filter that creates a new dataset with a Boolean attribute replacing a nominal attribute.classMathExpressionModify numeric attributes according to a given mathematical expression.classMergeInfrequentNominalValuesMerges all values of the specified nominal attributes that are insufficiently frequent.classMergeManyValuesMerges many values of a nominal attribute into one value.classMergeTwoValuesMerges two values of a nominal attribute into one value.classNominalToBinaryConverts all nominal attributes into binary numeric attributes.classNominalToStringConverts a nominal attribute (i.e.classNormalizeNormalizes all numeric values in the given dataset (apart from the class attribute, if set).classNumericCleanerA filter that 'cleanses' the numeric data from values that are too small, too big or very close to a certain value, and sets these values to a pre-defined default.classNumericToBinaryConverts all numeric attributes into binary attributes (apart from the class attribute, if set): if the value of the numeric attribute is exactly zero, the value of the new attribute will be zero.classNumericToDateA filter for turning numeric attributes into date attributes.classNumericToNominalA filter for turning numeric attributes into nominal ones.classNumericTransformTransforms numeric attributes using a given transformation method.classObfuscateA simple instance filter that renames the relation, all attribute names and all nominal attribute values.classOrdinalToNumericAn attribute filter that converts ordinal nominal attributes into numeric ones
Valid options are:classPartitionedMultiFilterA filter that applies filters on subsets of attributes and assembles the output into a new dataset.classPKIDiscretizeDiscretizes numeric attributes using equal frequency binning and forces the number of bins to be equal to the square root of the number of values of the numeric attribute.
For more information, see:
Ying Yang, Geoffrey I.classPotentialClassIgnorerThis filter should be extended by other unsupervised attribute filters to allow processing of the class attribute if that's required.classPrincipalComponentsPerforms a principal components analysis and transformation of the data.
Dimensionality reduction is accomplished by choosing enough eigenvectors to account for some percentage of the variance in the original data -- default 0.95 (95%).
Based on code of the attribute selection scheme 'PrincipalComponents' by Mark Hall and Gabi Schmidberger.classRandomProjectionReduces the dimensionality of the data by projecting it onto a lower dimensional subspace using a random matrix with columns of unit length.classRandomSubsetChooses a random subset of non-class attributes, either an absolute number or a percentage.classRemoveAn filter that removes a range of attributes from the dataset.classRemoveByNameRemoves attributes based on a regular expression matched against their names.classRemoveTypeRemoves attributes of a given type.classRemoveUselessThis filter removes attributes that do not vary at all or that vary too much.classRenameAttributeThis filter is used for renaming attributes.
Regular expressions can be used in the matching and replacing.
See Javadoc of java.util.regex.Pattern class for more information:
http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.htmlclassRenameNominalValuesRenames the values of nominal attributes.classReorderA filter that generates output with a new order of the attributes.classReplaceMissingValuesReplaces all missing values for nominal and numeric attributes in a dataset with the modes and means from the training data.classReplaceMissingWithUserConstantReplaces all missing values for nominal, string, numeric and date attributes in the dataset with user-supplied constant values.classReplaceWithMissingValueA filter that can be used to introduce missing values in a dataset.classSortLabelsA simple filter for sorting the labels of nominal attributes.classStandardizeStandardizes all numeric attributes in the given dataset to have zero mean and unit variance (apart from the class attribute, if set).classStringToNominalConverts a range of string attributes (unspecified number of values) to nominal (set number of values).classStringToWordVectorConverts string attributes into a set of numeric attributes representing word occurrence information from the text contained in the strings.classSwapValuesSwaps two values of a nominal attribute.classTimeSeriesDeltaAn instance filter that assumes instances form time-series data and replaces attribute values in the current instance with the difference between the current value and the equivalent attribute attribute value of some previous (or future) instance.classTimeSeriesTranslateAn instance filter that assumes instances form time-series data and replaces attribute values in the current instance with the equivalent attribute values of some previous (or future) instance.classTransposeTransposes the data: instances become attributes and attributes become instances. -
Uses of OptionHandler in weka.filters.unsupervised.instance
Classes in weka.filters.unsupervised.instance that implement OptionHandler Modifier and Type Class Description classNonSparseToSparseAn instance filter that converts all incoming instances into sparse format.classRandomizeRandomly shuffles the order of instances passed through it.classRemoveDuplicatesRemoves all duplicate instances from the first batch of data it receives.classRemoveFoldsThis filter takes a dataset and outputs a specified fold for cross validation.classRemoveFrequentValuesDetermines which values (frequent or infrequent ones) of an (nominal) attribute are retained and filters the instances accordingly.classRemoveMisclassifiedA filter that removes instances which are incorrectly classified.classRemovePercentageA filter that removes a given percentage of a dataset.classRemoveRangeA filter that removes a given range of instances of a dataset.classRemoveWithValuesFilters instances according to the value of an attribute.classResampleProduces a random subsample of a dataset using either sampling with replacement or without replacement.classReservoirSampleProduces a random subsample of a dataset using the reservoir sampling Algorithm "R" by Vitter.classSparseToNonSparseAn instance filter that converts all incoming sparse instances into non-sparse format.classSubsetByExpressionFilters instances according to a user-specified expression.
Examples:
- extracting only mammals and birds from the 'zoo' UCI dataset:
(CLASS is 'mammal') or (CLASS is 'bird')
- extracting only animals with at least 2 legs from the 'zoo' UCI dataset:
(ATT14 >= 2)
- extracting only instances with non-missing 'wage-increase-second-year'
from the 'labor' UCI dataset:
not ismissing(ATT3) -
Uses of OptionHandler in weka.gui
Classes in weka.gui that implement OptionHandler Modifier and Type Class Description classMainMenu-based GUI for Weka, replacement for the GUIChooser. -
Uses of OptionHandler in weka.gui.explorer
Classes in weka.gui.explorer that implement OptionHandler Modifier and Type Class Description classAbstractPlotInstancesAbstract superclass for generating plottable instances.classClassifierErrorsPlotInstancesA class for generating plottable visualization errors.classClustererAssignmentsPlotInstancesA class for generating plottable cluster assignments. -
Uses of OptionHandler in weka.gui.scripting
Classes in weka.gui.scripting that implement OptionHandler Modifier and Type Class Description classGroovyScriptRepresents a Groovy script.classJythonScriptRepresents a Jython script.classScriptA simple helper class for loading, saving scripts.
-