org.apache.mahout.df.mapreduce
Class Classifier
java.lang.Object
org.apache.mahout.df.mapreduce.Classifier
public class Classifier
- extends Object
Mapreduce implementation that classifies the Input data using a previousely built decision forest
Constructor Summary |
Classifier(org.apache.hadoop.fs.Path forestPath,
org.apache.hadoop.fs.Path inputPath,
org.apache.hadoop.fs.Path datasetPath,
org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.conf.Configuration conf,
boolean analyze)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Classifier
public Classifier(org.apache.hadoop.fs.Path forestPath,
org.apache.hadoop.fs.Path inputPath,
org.apache.hadoop.fs.Path datasetPath,
org.apache.hadoop.fs.Path outputPath,
org.apache.hadoop.conf.Configuration conf,
boolean analyze)
throws IOException
- Throws:
IOException
getAnalyzer
public ResultAnalyzer getAnalyzer()
run
public void run()
throws IOException,
ClassNotFoundException,
InterruptedException
- Throws:
IOException
ClassNotFoundException
InterruptedException
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.