Uses of Interface
weka.core.WeightedInstancesHandler
Packages that use WeightedInstancesHandler
Package
Description
-
Uses of WeightedInstancesHandler in weka.classifiers.bayes
Classes in weka.classifiers.bayes that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassBayes Network learning using various search algorithms and quality measures.
Base class for a Bayes Network classifier.classClass for a Naive Bayes classifier using estimator classes.classClass for building and using a multinomial Naive Bayes classifier.classMultinomial naive bayes for text data.classClass for building and using an updateable multinomial Naive Bayes classifier.classClass for a Naive Bayes classifier using estimator classes. -
Uses of WeightedInstancesHandler in weka.classifiers.bayes.net
Classes in weka.classifiers.bayes.net that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassBayes Network learning using various search algorithms and quality measures.
Base class for a Bayes Network classifier.classBuilds 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).classBayes Network learning using various search algorithms and quality measures.
Base class for a Bayes Network classifier. -
Uses of WeightedInstancesHandler in weka.classifiers.functions
Classes in weka.classifiers.functions that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclass* Implements Gaussian processes for regression without hyperparameter-tuning.classClass for using linear regression for prediction.classClass 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.classA classifier that uses backpropagation to learn a multi-layer perceptron to classify instances.classImplements stochastic gradient descent for learning a linear binary class SVM or binary class logistic regression on text data.classLearns a simple linear regression model.classClassifier for building linear logistic regression models.classImplements 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.classSMOreg implements the support vector machine for regression. -
Uses of WeightedInstancesHandler in weka.classifiers.lazy
Classes in weka.classifiers.lazy that implement WeightedInstancesHandler -
Uses of WeightedInstancesHandler in weka.classifiers.meta
Classes in weka.classifiers.meta that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassClass for boosting a nominal class classifier using the Adaboost M1 method.classMeta classifier that enhances the performance of a regression base classifier.classDimensionality of training and test data is reduced by attribute selection before being passed on to a classifier.classClass for bagging a classifier to reduce variance.classClass for doing classification using regression methods.classA metaclassifier that makes its base classifier cost sensitive.classClass for running an arbitrary classifier on data that has been passed through an arbitrary filter.classClass for performing additive logistic regression.classA metaclassifier for handling multi-class datasets with 2-class classifiers.classA metaclassifier for handling multi-class datasets with 2-class classifiers.classClass for building an ensemble of randomizable base classifiers.classClass for running an arbitrary classifier on data that has been passed through an arbitrary filter.classThis method constructs a decision tree based classifier that maintains highest accuracy on training data and improves on generalization accuracy as it grows in complexity.classClass for combining classifiers.classGeneric 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 WeightedInstancesHandler in weka.classifiers.misc
Classes in weka.classifiers.misc that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassWrapper 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. -
Uses of WeightedInstancesHandler in weka.classifiers.rules
Classes in weka.classifiers.rules that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassClass for building and using a simple decision table majority classifier.
For more information see:
Ron Kohavi: The Power of Decision Tables.classThis class implements a propositional rule learner, Repeated Incremental Pruning to Produce Error Reduction (RIPPER), which was proposed by William W.classThe single antecedent in the rule, which is composed of an attribute and the corresponding value.classThe antecedent with nominal attributeclassThe antecedent with numeric attributeclassThis class implements a single rule that predicts specified class.classClass for generating a PART decision list.classAbstract class of generic ruleclassClass for building and using a 0-R classifier. -
Uses of WeightedInstancesHandler in weka.classifiers.trees
Classes in weka.classifiers.trees that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassClass for building and using a decision stump.classA 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.classClass for generating a pruned or unpruned C4.5 decision tree.classClass for constructing a forest of random trees.
For more information see:
Leo Breiman (2001).classClass for constructing a tree that considers K randomly chosen attributes at each node.classFast decision tree learner. -
Uses of WeightedInstancesHandler in weka.classifiers.trees.lmt
Classes in weka.classifiers.trees.lmt that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassClass for logistic model tree structure.classBase/helper class for building logistic regression models with the LogitBoost algorithm. -
Uses of WeightedInstancesHandler in weka.clusterers
Classes in weka.clusterers that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassSimple EM (expectation maximisation) class.
EM assigns a probability distribution to each instance which indicates the probability of it belonging to each of the clusters.classClass for wrapping a Clusterer to make it return a distribution and density.classCluster data using the k means algorithm. -
Uses of WeightedInstancesHandler in weka.core.converters
Classes in weka.core.converters that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassWrites to a destination in arff text format.classWrites 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/classSerializes the instances to a file with extension bsi.classWrites to a destination that is in the XML version of the ARFF format. -
Uses of WeightedInstancesHandler in weka.filters
Classes in weka.filters that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassA simple instance filter that passes all instances directly through.classApplies several filters successively.classA simple filter that allows the relation name of a set of instances to be altered in various ways. -
Uses of WeightedInstancesHandler in weka.filters.supervised.attribute
Classes in weka.filters.supervised.attribute that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassA filter for adding the classification, the class distribution and an error flag to a dataset with a classifier.classA supervised attribute filter that can be used to select attributes.classConverts the values of nominal and/or numeric attributes into class conditional probabilities.classChanges the order of the classes so that the class values are no longer of in the order specified in the header.classAn instance filter that discretizes a range of numeric attributes in the dataset into nominal attributes.classMerges 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.classConverts all nominal attributes into binary numeric attributes.class* 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 WeightedInstancesHandler in weka.filters.supervised.instance
Classes in weka.filters.supervised.instance that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassReweights the instances in the data so that each class has the same total weight. -
Uses of WeightedInstancesHandler in weka.filters.unsupervised.attribute
Classes in weka.filters.unsupervised.attribute that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassAn 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.classAn instance filter that adds a new attribute to the dataset.classA 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.classAn instance filter that creates a new attribute by applying a mathematical expression to existing attributes.classAn instance filter that adds an ID attribute to the dataset.classA filter that adds new attributes with user specified type and constant value.classAdds the labels from the given list to an attribute if they are missing.classCenters all numeric attributes in the given dataset to have zero mean (apart from the class attribute, if set).classChanges the date format used by a date attribute.classFilter that can set and unset the class index.classA 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).classAn instance filter that copies a range of attributes in the dataset.classA filter for turning date attributes into numeric ones.classAn instance filter that discretizes a range of numeric attributes in the dataset into nominal attributes.classThis 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.classConverts String attributes into a set of attributes representing word occurrence (depending on the tokenizer) information from the text contained in the strings.classA filter that creates a new dataset with a Boolean attribute replacing a nominal attribute.classModify numeric attributes according to a given mathematical expression.classMerges all values of the specified nominal attributes that are insufficiently frequent.classMerges many values of a nominal attribute into one value.classMerges two values of a nominal attribute into one value.classConverts all nominal attributes into binary numeric attributes.classConverts a nominal attribute (i.e.classNormalizes all numeric values in the given dataset (apart from the class attribute, if set).classA 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.classConverts 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.classA filter for turning numeric attributes into date attributes.classA filter for turning numeric attributes into nominal ones.classTransforms numeric attributes using a given transformation method.classA simple instance filter that renames the relation, all attribute names and all nominal attribute values.classAn attribute filter that converts ordinal nominal attributes into numeric ones
Valid options are:classA filter that applies filters on subsets of attributes and assembles the output into a new dataset.classDiscretizes 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.classReduces the dimensionality of the data by projecting it onto a lower dimensional subspace using a random matrix with columns of unit length.classChooses a random subset of non-class attributes, either an absolute number or a percentage.classAn filter that removes a range of attributes from the dataset.classRemoves attributes based on a regular expression matched against their names.classRemoves attributes of a given type.classThis filter removes attributes that do not vary at all or that vary too much.classThis 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.htmlclassRenames the values of nominal attributes.classA filter that generates output with a new order of the attributes.classReplaces all missing values for nominal and numeric attributes in a dataset with the modes and means from the training data.classReplaces all missing values for nominal, string, numeric and date attributes in the dataset with user-supplied constant values.classA filter that can be used to introduce missing values in a dataset.classA simple filter for sorting the labels of nominal attributes.classStandardizes all numeric attributes in the given dataset to have zero mean and unit variance (apart from the class attribute, if set).classConverts a range of string attributes (unspecified number of values) to nominal (set number of values).classConverts string attributes into a set of numeric attributes representing word occurrence information from the text contained in the strings.classSwaps two values of a nominal attribute.classAn 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.classAn 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.classTransposes the data: instances become attributes and attributes become instances. -
Uses of WeightedInstancesHandler in weka.filters.unsupervised.instance
Classes in weka.filters.unsupervised.instance that implement WeightedInstancesHandlerModifier and TypeClassDescriptionclassAn instance filter that converts all incoming instances into sparse format.classRandomly shuffles the order of instances passed through it.classRemoves all duplicate instances from the first batch of data it receives.classA filter that removes instances which are incorrectly classified.classA filter that removes a given range of instances of a dataset.classFilters instances according to the value of an attribute.classAn instance filter that converts all incoming sparse instances into non-sparse format.classFilters 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)