On Mon, Oct 18, 2010 at 9:11 PM, JAGANADH G <[email protected]> wrote:

>
>
> On Mon, Oct 18, 2010 at 9:03 PM, Robin Anil <[email protected]> wrote:
>
>> bin/mahout prepare20newsgroups  -p
>> /Users/robinanil/Downloads/movie_reviews/
>> -o movie -c UTF-8 -a org.apache.mahout.vectorizer.DefaultAnalyzer
>>
>> bin/mahout trainclassifier  -i movie/ -o movie-model -type cbayes -a 1.0
>>
>> bin/mahout testclassifier -d movie -m movie-model/ -type bayes  -default
>> unknown -a 1.0 -method sequential -source hdfs -e UTF-8 -ng 1
>>
>
>
>

>From command line I am able to get the same result.
I will try it through Java program tomorrow and update
-- 
**********************************
JAGANADH G
http://jaganadhg.freeflux.net/blog

Reply via email to