org.apache.mahout.classifier.bayes.common
Class BayesParameters
java.lang.Object
org.apache.mahout.common.Parameters
org.apache.mahout.classifier.bayes.common.BayesParameters
public class BayesParameters
- extends Parameters
BayesParameter used for passing parameters to the Map/Reduce Jobs parameters include gramSize,
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BayesParameters
public BayesParameters()
BayesParameters
@Deprecated
public BayesParameters(int gramSize)
- Deprecated. use
BayesParameters()
and setGramSize(int)
instead
- Create BayesParameters with the specified gram size
- Parameters:
gramSize
-
setGramSize
public void setGramSize(int gramSize)
setMinSupport
public void setMinSupport(int minSupport)
setMinDF
public void setMinDF(int minDf)
setSkipCleanup
public void setSkipCleanup(boolean b)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.