## Uses of Class
org.apache.mahout.df.data.Data

Packages that use Data
org.apache.mahout.df
org.apache.mahout.df.builder
org.apache.mahout.df.callback
org.apache.mahout.df.data
org.apache.mahout.df.ref
org.apache.mahout.df.split

Uses of Data in org.apache.mahout.df

Methods in org.apache.mahout.df with parameters of type Data
`void` `DecisionForest.classify(Data data, PredictionCallback callback)` Classifies the data and calls callback for each classification

Constructors in org.apache.mahout.df with parameters of type Data
`Bagging(TreeBuilder treeBuilder, Data data)`

Uses of Data in org.apache.mahout.df.builder

Methods in org.apache.mahout.df.builder with parameters of type Data
`Node` `TreeBuilder.build(java.util.Random rng, Data data)` Builds a Decision tree using the training data
`Node` `DefaultTreeBuilder.build(java.util.Random rng, Data data)`

Uses of Data in org.apache.mahout.df.callback

Constructors in org.apache.mahout.df.callback with parameters of type Data
`MeanTreeCollector(Data data, int nbtrees)`

Uses of Data in org.apache.mahout.df.data

Methods in org.apache.mahout.df.data that return Data
`Data` `Data.bagging(java.util.Random rng)` if data has N cases, sample N cases at random -but with replacement.
`Data` `Data.bagging(java.util.Random rng, boolean[] sampled)` if data has N cases, sample N cases at random -but with replacement.
`Data` `Data.clone()`
`static Data` `DataLoader.loadData(Dataset dataset, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path fpath)` Loads the data from a file
`static Data` `DataLoader.loadData(Dataset dataset, java.lang.String[] data)` Loads the data from a String array
`Data` `Data.rsplit(java.util.Random rng, int subsize)` Splits the data in two, returns one part, and this gets the rest of the data.
`Data` `Data.rsubset(java.util.Random rng, double ratio)`
`Data` `Data.subset(Condition condition)`

Uses of Data in org.apache.mahout.df.ref

Constructors in org.apache.mahout.df.ref with parameters of type Data
`SequentialBuilder(java.util.Random rng, TreeBuilder treeBuilder, Data data)` Constructor

Uses of Data in org.apache.mahout.df.split

Methods in org.apache.mahout.df.split with parameters of type Data
`protected double` `DefaultIgSplit.categoricalIg(Data data, int attr)` Computes the Information Gain for a CATEGORICAL attribute
`protected void` `OptIgSplit.computeFrequencies(Data data, int attr, double[] values)`
`Split` `OptIgSplit.computeSplit(Data data, int attr)`
`abstract Split` `IgSplit.computeSplit(Data data, int attr)` Computes the best split for the given attribute
`Split` `DefaultIgSplit.computeSplit(Data data, int attr)`
`protected double` `DefaultIgSplit.entropy(Data data)` Computes the Entropy
`protected void` `OptIgSplit.initCounts(Data data, double[] values)` Instantiates the counting arrays
`protected double` `DefaultIgSplit.numericalIg(Data data, int attr, double split)` Computes the Information Gain for a NUMERICAL attribute given a splitting value
`protected Split` `OptIgSplit.numericalSplit(Data data, int attr)` Computes the best split for a NUMERICAL attribute

Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.