Uses of Class
weka.filters.Filter
-
-
Uses of Filter in weka.associations
Methods in weka.associations that return Filter Modifier and Type Method Description FilterFilteredAssociator. getFilter()Gets the filter used.Methods in weka.associations with parameters of type Filter Modifier and Type Method Description voidFilteredAssociator. setFilter(Filter value)Sets the filterConstructors in weka.associations with parameters of type Filter Constructor Description FilteredAssociationRules(Object producer, Filter filter, AssociationRules rules)Constructs a new FilteredAssociationRules.FilteredAssociationRules(String producer, Filter filter, AssociationRules rules)Constructs a new FilteredAssociationRules.FilteredAssociationRules(Filter filter, AssociationRules rules)Constructs a new FilteredAssociationRules. -
Uses of Filter in weka.classifiers.meta
Methods in weka.classifiers.meta that return Filter Modifier and Type Method Description FilterFilteredClassifier. getFilter()Gets the filter used.Methods in weka.classifiers.meta with parameters of type Filter Modifier and Type Method Description voidFilteredClassifier. setFilter(Filter filter)Sets the filter -
Uses of Filter in weka.clusterers
Methods in weka.clusterers that return Filter Modifier and Type Method Description FilterFilteredClusterer. getFilter()Gets the filter used.Methods in weka.clusterers with parameters of type Filter Modifier and Type Method Description static CanopyCanopy. aggregateCanopies(List<Canopy> canopies, double aggregationT1, double aggregationT2, NormalizableDistance finalDistanceFunction, Filter missingValuesReplacer, int finalNumCanopies)Aggregate the canopies from a list of Canopy clusterers together into one final model.voidFilteredClusterer. setFilter(Filter filter)Sets the filter.voidCanopy. setMissingValuesReplacer(Filter missingReplacer)Set a ready-to-use missing values replacement filter -
Uses of Filter in weka.core
Methods in weka.core that return Filter Modifier and Type Method Description FilterFilteredDistance. getFilter()Gets the filter used.Methods in weka.core with parameters of type Filter Modifier and Type Method Description voidFilteredDistance. setFilter(Filter filter)Sets the filter -
Uses of Filter in weka.core.neighboursearch
Methods in weka.core.neighboursearch that return Filter Modifier and Type Method Description FilterFilteredNeighbourSearch. getFilter()Gets the filter used.Methods in weka.core.neighboursearch with parameters of type Filter Modifier and Type Method Description voidFilteredNeighbourSearch. setFilter(Filter filter)Sets the filter -
Uses of Filter in weka.filters
Subclasses of Filter in weka.filters Modifier and Type Class Description classAllFilterA simple instance filter that passes all instances directly through.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.Methods in weka.filters that return Filter Modifier and Type Method Description FilterCheckSource. getFilter()Gets the filter being used for the tests, can be null.FilterMultiFilter. getFilter(int index)Gets a single filter from the set of available filters.Filter[]MultiFilter. getFilters()Gets the list of possible filters to choose from.FilterCheckSource. getSourceCode()Gets the class to test.static Filter[]Filter. makeCopies(Filter model, int num)Creates a given number of deep copies of the given filter using serialization.static FilterFilter. makeCopy(Filter model)Creates a deep copy of the given filter using serialization.Methods in weka.filters with parameters of type Filter Modifier and Type Method Description static voidFilter. batchFilterFile(Filter filter, String[] options)Method for testing filters ability to process multiple batches.static voidFilter. filterFile(Filter filter, String[] options)Method for testing filters.static Filter[]Filter. makeCopies(Filter model, int num)Creates a given number of deep copies of the given filter using serialization.static FilterFilter. makeCopy(Filter model)Creates a deep copy of the given filter using serialization.static voidFilter. runFilter(Filter filter, String[] options)runs the filter instance with the given options.voidCheckSource. setFilter(Filter value)Sets the filter to use for the comparison.voidMultiFilter. setFilters(Filter[] filters)Sets the list of possible filters to choose from.voidCheckSource. setSourceCode(Filter value)Sets the class to test.static InstancesFilter. useFilter(Instances data, Filter filter)Filters an entire set of instances through a filter and returns the new set. -
Uses of Filter in weka.filters.supervised.attribute
Subclasses of Filter in weka.filters.supervised.attribute 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 Filter in weka.filters.supervised.instance
Subclasses of Filter in weka.filters.supervised.instance 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 Filter in weka.filters.unsupervised.attribute
Subclasses of Filter in weka.filters.unsupervised.attribute 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.Methods in weka.filters.unsupervised.attribute that return Filter Modifier and Type Method Description FilterPartitionedMultiFilter. getFilter(int index)Gets a single filter from the set of available filters.Filter[]PartitionedMultiFilter. getFilters()Gets the list of possible filters to choose from.FilterKernelFilter. getPreprocessing()Gets the filter used for preprocessingMethods in weka.filters.unsupervised.attribute with parameters of type Filter Modifier and Type Method Description voidPartitionedMultiFilter. setFilters(Filter[] filters)Sets the list of possible filters to choose from.voidKernelFilter. setPreprocessing(Filter value)Sets the filter to use for preprocessing (use the AllFilter for no preprocessing) -
Uses of Filter in weka.filters.unsupervised.instance
Subclasses of Filter in weka.filters.unsupervised.instance 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 Filter in weka.gui.beans
Methods in weka.gui.beans that return Filter Modifier and Type Method Description FilterFilter. getFilter()Methods in weka.gui.beans with parameters of type Filter Modifier and Type Method Description voidFilter. setFilter(Filter c)Set the filter to be wrapped by this bean -
Uses of Filter in weka.gui.explorer
Fields in weka.gui.explorer declared as Filter Modifier and Type Field Description static FilterPreprocessPanel.PreprocessDefaults. FILTER -
Uses of Filter in weka.knowledgeflow.steps
Methods in weka.knowledgeflow.steps that return Filter Modifier and Type Method Description FilterFilter. getFilter()Get the filter.Methods in weka.knowledgeflow.steps with parameters of type Filter Modifier and Type Method Description voidFilter. setFilter(Filter filter)Set the filter.
-