Can't Get Bayes Classifier to Work Properly

2010-10-04 Thread Ryan Rosario
Hi, I have a data file that I formatted in the same manner as the 20newsgroups example I have seen. A snippet of my fake data file (key\tword1 word2 word3... \n) spamyou need some viagra medication my friend nonspam hi ryan my name is cassie and I am in your class spamaviator sunglasses w

Re: Can't Get Bayes Classifier to Work Properly

2010-10-04 Thread Drew Farris
Hi Ryan, Your format looks good. The -i argument must point to a directory of one or more files as input. In the example the 20newsgroups data is separated into a single file per class. I'm not certain this is a requirement because the class is in the first column after all. If you are running fr

Re: Can't Get Bayes Classifier to Work Properly

2010-10-05 Thread Ryan Rosario
Thank you for your help. I tried dividing the data into two files spam.txt and nonspam.txt within directory "simple_spam", but still have the same problem. No useful output. Ryan On Mon, Oct 4, 2010 at 7:42 PM, Drew Farris wrote: > Hi Ryan, > > Your format looks good. The -i argument must point

Re: Can't Get Bayes Classifier to Work Properly

2010-10-05 Thread Drew Farris
Ryan, Sorry to hear it's still not working for you. I can try to reproduce your problem to see if I've missed anything important. Are you using a release version of mahout or are you running from trunk? How many examples in each of your training sets? Drew On Tue, Oct 5, 2010 at 2:02 PM, Ryan R