@Deprecated public class InMemBuilder extends Builder
Constructor and Description |
---|
InMemBuilder(TreeBuilder treeBuilder,
org.apache.hadoop.fs.Path dataPath,
org.apache.hadoop.fs.Path datasetPath)
Deprecated.
|
InMemBuilder(TreeBuilder treeBuilder,
org.apache.hadoop.fs.Path dataPath,
org.apache.hadoop.fs.Path datasetPath,
Long seed,
org.apache.hadoop.conf.Configuration conf)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureJob(org.apache.hadoop.mapreduce.Job job)
Deprecated.
Used by the inheriting classes to configure the job
|
protected DecisionForest |
parseOutput(org.apache.hadoop.mapreduce.Job job)
Deprecated.
Parse the output files to extract the trees and pass the predictions to the callback
|
build, getDataPath, getDistributedCacheFile, getNbTrees, getNumMaps, getOutputPath, getRandomSeed, getTreeBuilder, isOutput, loadDataset, runJob, setNbTrees, setOutputDirName, sortSplits
public InMemBuilder(TreeBuilder treeBuilder, org.apache.hadoop.fs.Path dataPath, org.apache.hadoop.fs.Path datasetPath, Long seed, org.apache.hadoop.conf.Configuration conf)
public InMemBuilder(TreeBuilder treeBuilder, org.apache.hadoop.fs.Path dataPath, org.apache.hadoop.fs.Path datasetPath)
protected void configureJob(org.apache.hadoop.mapreduce.Job job) throws IOException
Builder
configureJob
in class Builder
job
- Hadoop's JobIOException
- if anything goes wrong while configuring the jobprotected DecisionForest parseOutput(org.apache.hadoop.mapreduce.Job job) throws IOException
Builder
parseOutput
in class Builder
job
- Hadoop's jobIOException
- if anything goes wrong while parsing the outputCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.