|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
---|---|
org.apache.mahout.df | |
org.apache.mahout.df.builder | |
org.apache.mahout.df.mapred.partial |
Partial-data mapreduce implementation of Random Decision Forests
The builder splits the data, using a FileInputSplit, among the mappers. |
org.apache.mahout.df.mapreduce | |
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.node |
Uses of Node in org.apache.mahout.df |
---|
Methods in org.apache.mahout.df that return Node | |
---|---|
Node |
Bagging.build(int treeId,
java.util.Random rng,
PredictionCallback callback)
Builds one tree |
static Node[] |
DFUtils.readNodeArray(java.io.DataInput in)
Reads a Node[] from a DataInput |
Methods in org.apache.mahout.df that return types with arguments of type Node | |
---|---|
java.util.List<Node> |
DecisionForest.getTrees()
|
Methods in org.apache.mahout.df with parameters of type Node | |
---|---|
static void |
DFUtils.writeArray(java.io.DataOutput out,
Node[] array)
Writes an Node[] into a DataOutput |
Constructor parameters in org.apache.mahout.df with type arguments of type Node | |
---|---|
DecisionForest(java.util.List<Node> trees)
|
Uses of Node in org.apache.mahout.df.builder |
---|
Methods in org.apache.mahout.df.builder that return Node | |
---|---|
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 Node in org.apache.mahout.df.mapred.partial |
---|
Methods in org.apache.mahout.df.mapred.partial with parameters of type Node | |
---|---|
void |
Step2Mapper.configure(int partition,
Dataset dataset,
TreeID[] keys,
Node[] trees,
int numInstances)
Useful for testing. |
protected static void |
PartialBuilder.processOutput(org.apache.hadoop.mapred.JobConf 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 Node in org.apache.mahout.df.mapreduce |
---|
Methods in org.apache.mahout.df.mapreduce that return Node | |
---|---|
Node |
MapredOutput.getTree()
|
Constructors in org.apache.mahout.df.mapreduce with parameters of type Node | |
---|---|
MapredOutput(Node tree)
|
|
MapredOutput(Node tree,
int[] predictions)
|
Uses of Node in org.apache.mahout.df.mapreduce.partial |
---|
Methods in org.apache.mahout.df.mapreduce.partial with parameters of type Node | |
---|---|
void |
Step2Mapper.configure(int partition,
Dataset dataset,
TreeID[] keys,
Node[] trees,
int numInstances)
Useful for testing. |
static int |
InterResults.load(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path forestPath,
int numMaps,
int numTrees,
int partition,
TreeID[] keys,
Node[] trees)
Load the trees and the keys returned from the first step |
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. |
static void |
InterResults.store(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path forestPath,
TreeID[] keys,
Node[] trees,
int[] sizes)
Write the forest trees into a file |
Uses of Node in org.apache.mahout.df.node |
---|
Subclasses of Node in org.apache.mahout.df.node | |
---|---|
class |
CategoricalNode
|
class |
Leaf
Represents a Leaf node |
class |
MockLeaf
Custom Leaf node that returns for each instance its own label. |
class |
NumericalNode
Represents a node that splits using a numerical attribute |
Methods in org.apache.mahout.df.node that return Node | |
---|---|
static Node |
Node.read(java.io.DataInput in)
|
Constructors in org.apache.mahout.df.node with parameters of type Node | |
---|---|
CategoricalNode(int attr,
double[] values,
Node[] childs)
|
|
NumericalNode(int attr,
double split,
Node loChild,
Node hiChild)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |