Did you read the original Naive Bayes paper?

On Mon, Jul 2, 2012 at 12:47 AM, damodar shetyo <[email protected]>wrote:

> While using Bayes classier in Mahout we set parameters as follows:
>
> Now can someone tell  me what is defaultCat and alpha_i?
> Why is value of alpha_i set to 1?
> Do we always set the value of alpha_i to 1?
>
> final BayesParameters params = new BayesParameters();
> params.setGramSize(1);
> params.set("verbose", "true");
> params.set("classifierType", "bayes");
> params.set("defaultCat", "OTHER");
> params.set("encoding", "UTF-8");
> params.set("alpha_i", "1.0");
> params.set("dataSource", "hdfs");
> params.set("basePath", "/tmp/classificationData/output");
> --
> Regards,
> Damodar Shetyo
>

Reply via email to