2011/12/26 enyun <[email protected]> > I.E. under bayes method, I want to get the prediction label with score, > but testclassifier only provide overall confusion result instead of > detailed result. > how do you deal with it? > > > thanks, > > > > > -----原始邮件----- > > 发件人: enyun <[email protected]> > > 发送时间: 2011年12月26日 星期一 > > 收件人: [email protected] > > 抄送: > > 主题: How to apply my bayes-model on test data without labels ? > > > > hi guys, > > > > I have finished the training process and got one bayes model with the > command : mahout trainclassifer. > > Then I want to apply the model to new test data, while these test data > doesn't have labels. > > > > I have checked "testclassifier", but found the test data must have > labels. > > Does anybody know how to apply my bayes-model on those test data without > labels? > > > > thanks, > > > > >
Use the classifyDocument(). Check out http://aredko.blogspot.com/2010/11/getting-started-with-apache-mahout.html . This should help. -- With Thanks and Regards, Ramprakash Ramamoorthy, Project Trainee, Zoho Corporation. +91 9626975420
