|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PredictionCallback | |
---|---|
org.apache.mahout.df | |
org.apache.mahout.df.callback | |
org.apache.mahout.df.mapreduce | |
org.apache.mahout.df.mapreduce.inmem |
In-memory mapreduce implementation of Random Decision Forests
Each mapper is responsible for growing a number of trees with a whole copy of the dataset loaded in memory, it uses the reference implementation's code to build each tree and estimate the oob error. The dataset is distributed to the slave nodes using the DistributedCache. |
org.apache.mahout.df.mapreduce.partial |
Partial-data mapreduce implementation of Random Decision Forests
The builder splits the data, using a FileInputSplit, among the mappers. |
org.apache.mahout.df.ref |
Uses of PredictionCallback in org.apache.mahout.df |
---|
Methods in org.apache.mahout.df with parameters of type PredictionCallback | |
---|---|
Node |
Bagging.build(int treeId,
java.util.Random rng,
PredictionCallback callback)
Builds one tree |
void |
DecisionForest.classify(Data data,
PredictionCallback callback)
Classifies the data and calls callback for each classification |
Uses of PredictionCallback in org.apache.mahout.df.callback |
---|
Classes in org.apache.mahout.df.callback that implement PredictionCallback | |
---|---|
class |
ForestPredictions
Collects a forest's predictions |
class |
MeanTreeCollector
Computes the error rate for each tree, and returns the mean of all the trees |
class |
MultiCallback
Combines many callbacks, that will be called when a prediction is done. |
class |
SingleTreePredictions
Collects the predictions for a single tree |
Constructors in org.apache.mahout.df.callback with parameters of type PredictionCallback | |
---|---|
MultiCallback(PredictionCallback... callbacks)
|
Uses of PredictionCallback in org.apache.mahout.df.mapreduce |
---|
Methods in org.apache.mahout.df.mapreduce with parameters of type PredictionCallback | |
---|---|
DecisionForest |
Builder.build(int nbTrees,
PredictionCallback callback)
|
protected abstract DecisionForest |
Builder.parseOutput(org.apache.hadoop.mapreduce.Job job,
PredictionCallback callback)
Parse the output files to extract the trees and pass the predictions to the callback |
Uses of PredictionCallback in org.apache.mahout.df.mapreduce.inmem |
---|
Methods in org.apache.mahout.df.mapreduce.inmem with parameters of type PredictionCallback | |
---|---|
protected DecisionForest |
InMemBuilder.parseOutput(org.apache.hadoop.mapreduce.Job job,
PredictionCallback callback)
|
Uses of PredictionCallback in org.apache.mahout.df.mapreduce.partial |
---|
Methods in org.apache.mahout.df.mapreduce.partial with parameters of type PredictionCallback | |
---|---|
protected void |
Step2Job.parseOutput(org.apache.hadoop.mapreduce.Job job,
PredictionCallback callback)
Extracts the output and processes it |
protected DecisionForest |
PartialBuilder.parseOutput(org.apache.hadoop.mapreduce.Job job,
PredictionCallback callback)
|
protected static void |
PartialBuilder.processOutput(org.apache.hadoop.mapreduce.JobContext job,
org.apache.hadoop.fs.Path outputPath,
int[] firstIds,
TreeID[] keys,
Node[] trees,
PredictionCallback callback)
Processes the output from the output path. |
void |
Step2Job.run(org.apache.hadoop.conf.Configuration conf,
TreeID[] keys,
Node[] trees,
PredictionCallback callback)
Run the second step. |
Uses of PredictionCallback in org.apache.mahout.df.ref |
---|
Methods in org.apache.mahout.df.ref with parameters of type PredictionCallback | |
---|---|
DecisionForest |
SequentialBuilder.build(int nbTrees,
PredictionCallback callback)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |