mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damodar shetyo <>
Subject Mahout bayes classifier parameters
Date Mon, 02 Jul 2012 07:47:11 GMT
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.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");
Damodar Shetyo

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