Example usage for Java weka.attributeSelection AttributeSelection fields, constructors, methods, implement or subclass
The text is from its open source code.
AttributeSelection() constructor. |
String | CrossValidateAttributes() Perform a cross validation for attribute selection. |
String | CVResultsString() returns a string summarizing the results of repeated attribute selection runs on splits of a dataset. |
double[][] | rankedAttributes() get the final ranking of the attributes. |
Instances | reduceDimensionality(Instances in) reduce the dimensionality of a set of instances to include only those attributes chosen by the last run of attribute selection. |
Instance | reduceDimensionality(Instance in) reduce the dimensionality of a single instance to include only those attributes chosen by the last run of attribute selection. |
void | SelectAttributes(Instances data) Perform attribute selection on the supplied training instances. |
void | selectAttributesCVSplit(Instances split) Select attributes for a split of the data. |
int[] | selectedAttributes() get the final selected set of attributes. |
void | setEvaluator(ASEvaluation evaluator) set the attribute/subset evaluator |
void | setFolds(int folds) set the number of folds for cross validation |
void | setRanking(boolean r) produce a ranking (if possible with the set search and evaluator) |
void | setSearch(ASSearch search) set the search method |
void | setSeed(int s) set the seed for use in cross validation |
void | setXval(boolean x) do a cross validation |
String | toResultsString() get a description of the attribute selection |