org.apache.mahout.classifier.bayes
Class BayesParameters

java.lang.Object
  extended by org.apache.mahout.common.Parameters
      extended by org.apache.mahout.classifier.bayes.BayesParameters

public final class BayesParameters
extends Parameters

BayesParameter used for passing parameters to the Map/Reduce Jobs parameters include gramSize,


Constructor Summary
BayesParameters()
           
BayesParameters(String serializedString)
           
 
Method Summary
 String getBasePath()
           
 int getGramSize()
           
 int getMinDF()
           
 int getMinSupport()
           
 boolean isSkipCleanup()
           
 void setBasePath(String basePath)
           
 void setGramSize(int gramSize)
           
 void setMinDF(int minDf)
           
 void setMinSupport(int minSupport)
           
 void setSkipCleanup(boolean b)
           
 
Methods inherited from class org.apache.mahout.common.Parameters
get, get, getInt, parseParams, print, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BayesParameters

public BayesParameters()

BayesParameters

public BayesParameters(String serializedString)
                throws IOException
Throws:
IOException
Method Detail

getGramSize

public int getGramSize()

setGramSize

public void setGramSize(int gramSize)

getMinSupport

public int getMinSupport()

setMinSupport

public void setMinSupport(int minSupport)

getMinDF

public int getMinDF()

setMinDF

public void setMinDF(int minDf)

isSkipCleanup

public boolean isSkipCleanup()

setSkipCleanup

public void setSkipCleanup(boolean b)

getBasePath

public String getBasePath()

setBasePath

public void setBasePath(String basePath)


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.