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
>

Thanks Robin.
I think the wrong thing i done is the preparation of document .
Once again I will try the document preparation in the said way and try to
classify the document with my java code .
I will update one it is done I will update u regarding the status

-- 
**********************************
JAGANADH G
http://jaganadhg.freeflux.net/blog

Reply via email to