mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenz Knies <lorenz.kn...@metrigo.de>
Subject Re: Mahout-0.7 BuildForest execution error
Date Mon, 21 Jan 2013 12:58:55 GMT
i think the oob option is gone


On Jan 21, 2013, at 1:52 PM, Stuti Awasthi <stutiawasthi@hcl.com> wrote:

> Hi,
> 
> I have downloaded Mahout and tried to execute Partial Implementation. When I try to run
I am getting the parsing error:
> 
> $HADOOP_HOME/hadoop jar $MAHOUT_HOME/examples/target/mahout-examples-0.7-job.jar org.apache.mahout.classifier.df.mapreduce.BuildForest
-oob -d /testdata/KDDTrain+.arff -ds /testdata/KDDTrain+.info -sl 5 -p -t 100 -o /testdata/nsl-forest
> 
> 13/01/21 18:16:24 ERROR mapreduce.BuildForest: Exception
> org.apache.commons.cli2.OptionException: Unexpected /testdata/nsl-forest while processing
Options
>        at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:99)
>        at org.apache.mahout.classifier.df.mapreduce.BuildForest.run(BuildForest.java:139)
>        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>        at org.apache.mahout.classifier.df.mapreduce.BuildForest.main(BuildForest.java:253)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Usage:
> [--data <path> --dataset <dataset> --selection <m> --no-complete --minsplit
> <minsplit> --minprop <minprop> --seed <seed> --partial --nbtrees <nbtrees>
> --output <path> --help]
> Options
>  --data (-d) path             Data path
>  --dataset (-ds) dataset      Dataset path
>  --selection (-sl) m          Optional, Number of variables to select randomly
>                               at each tree-node.
>                               For classification problem, the default is
>                               square root of the number of explanatory
>                               variables.
>                               For regression problem, the default is 1/3 of
>                               the number of explanatory variables.
>  --no-complete (-nc)          Optional, The tree is not complemented
>  --minsplit (-ms) minsplit    Optional, The tree-node is not divided, if the
>                               branching data size is smaller than this value.
>                               The default is 2.
>  --minprop (-mp) minprop      Optional, The tree-node is not divided, if the
>                               proportion of the variance of branching data is
>                               smaller than this value.
>                               In the case of a regression problem, this value
>                               is used. The default is 1/1000(0.001).
>  --seed (-sd) seed            Optional, seed value used to initialise the
>                               Random number generator
>  --partial (-p)               Optional, use the Partial Data implementation
>  --nbtrees (-t) nbtrees       Number of trees to grow
>  --output (-o) path           Output path, will contain the Decision Forest
>  --help (-h)                  Print out help
> 
> 
> If I try to run with Mahout-0.5, its working fine and generating /testdata/nsl-forest/forest.seq
in hdfs.
> Is this a bug in Mahout-0.7 or am I doing something wrong.
> 
> Please Suggest
> 
> Thanks
> Stuti Awasthi
> 
> 
> 
> 
> 
> ::DISCLAIMER::
> ----------------------------------------------------------------------------------------------------------------------------------------------------
> 
> The contents of this e-mail and any attachment(s) are confidential and intended for the
named recipient(s) only.
> E-mail transmission is not guaranteed to be secure or error-free as information could
be intercepted, corrupted,
> lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The
e mail and its contents
> (with or without referred errors) shall therefore not attach any liability on the originator
or HCL or its affiliates.
> Views or opinions, if any, presented in this email are solely those of the author and
may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction, dissemination,
copying, disclosure, modification,
> distribution and / or publication of this message without the prior written consent of
authorized representative of
> HCL is strictly prohibited. If you have received this email in error please delete it
and notify the sender immediately.
> Before opening any email and/or attachments, please check them for viruses and other
defects.
> 
> ----------------------------------------------------------------------------------------------------------------------------------------------------


Mime
View raw message