mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JAGANADH G <jagana...@gmail.com>
Subject Re: Querry regarding use of classifier in Mahout
Date Mon, 18 Oct 2010 15:41:34 GMT
On Mon, Oct 18, 2010 at 9:03 PM, Robin Anil <robin.anil@gmail.com> 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

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