mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuji anzai <d03...@gmail.com>
Subject Re: Default value of numGroups in FPGrowthJob
Date Thu, 08 Sep 2011 09:39:04 GMT
Thanks for the response.

The help shows "Default Value:1000". But I think the default value isn't
correct.

org.apache.mahout.fpm.pfpgrowth.PFPGrowth
line: 285
Integer numGroups = Integer.valueOf(params.get(NUM_GROUPS, "50"));

Yuji

> you can do --help on the command to see the current default value for any
flag

On Tue, Sep 6, 2011 at 2:43 PM, yuji anzai <d03136@gmail.com> wrote:

>> Hi,
>>
>> I tried FPGrowthJob using mahout command below.
>> 1. $MAHOUT_HOME/bin/mahout fpg -i /input/retail.dat -o /output/numgdef/
>> -method mapreduce -regex '[\s]' -s 100
>> 2. $MAHOUT_HOME/bin/mahout fpg -i /input/retail.dat -o /output/numg50/
>> -method mapreduce -regex '[\s]' -s 100 --numGroups 50
>> 3. $MAHOUT_HOME/bin/mahout fpg -i /input/retail.dat -o /output/numg1000/
>> -method mapreduce -regex '[\s]' -s 100 --numGroups 1000
>>
>> 1. and 2. were same results. but 3.(--numGroups 1000) was different.
>>
>> The document page shows numGroups default 1000.
>>
>>
https://cwiki.apache.org/confluence/display/MAHOUT/Parallel+Frequent+Pattern+Mining
>>
>> I think default value is 50. Is my thinking right?
>>
>> Yuji

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message