You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by 刘逸哲 <zh...@alibaba-inc.com> on 2011/06/08 10:32:16 UTC
how to use bayse classifier to predict
Hi all,
There are trainclassifier and testclassifier, but I would like to know how to make prediction on new text with any lable.
I think the testclassifier must make a prediction at first, but the testclassifier interface need input texts with lables?
Is there an easy way to use the bayse classifier to make prediction on new text?
Thanks a lot.
________________________________
This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.
本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。
Re: how to use bayse classifier to predict
Posted by Grant Ingersoll <gs...@apache.org>.
Have a look at the Classify class in the classifier package as a starting place.
-Grant
On Jun 8, 2011, at 4:32 AM, 刘逸哲 wrote:
> Hi all,
> There are trainclassifier and testclassifier, but I would like to know how to make prediction on new text with any lable.
> I think the testclassifier must make a prediction at first, but the testclassifier interface need input texts with lables?
> Is there an easy way to use the bayse classifier to make prediction on new text?
> Thanks a lot.
>
>
>
>
>
> ________________________________
> This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.
>
> 本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。