|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mahout.ga.watchmaker.OutputUtils
public final class OutputUtils
Utility Class that deals with the output.
| Method Summary | |
|---|---|
static void |
importEvaluations(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path outpath,
Collection<Double> evaluations)
Reads back the evaluations. |
static org.apache.hadoop.fs.Path[] |
listOutputFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path outpath)
Lists all files in the output Path |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.hadoop.fs.Path[] listOutputFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path outpath)
throws IOException
Path
fs - FileSystem to useoutpath - output Path
Path array
IOException
public static void importEvaluations(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path outpath,
Collection<Double> evaluations)
throws IOException
outpath - output Pathevaluations - List of evaluations
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||