|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.ml.algo.spark.BaseSparkAlgo org.apache.lens.ml.algo.spark.nb.NaiveBayesAlgo
public class NaiveBayesAlgo
The Class NaiveBayesAlgo.
Field Summary |
---|
Fields inherited from class org.apache.lens.ml.algo.spark.BaseSparkAlgo |
---|
LOG |
Constructor Summary | |
---|---|
NaiveBayesAlgo(String name,
String description)
Instantiates a new naive bayes algo. |
Method Summary | |
---|---|
void |
parseAlgoParams(Map<String,String> params)
Parses the algo params. |
Methods inherited from class org.apache.lens.ml.algo.spark.BaseSparkAlgo |
---|
configure, getArgUsage, getConf, getDescription, getName, getParamValue, getParamValue, parseParams, setSparkContext, train |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NaiveBayesAlgo(String name, String description)
name
- the namedescription
- the descriptionMethod Detail |
---|
public void parseAlgoParams(Map<String,String> params)
BaseSparkAlgo
parseAlgoParams
in class BaseSparkAlgo
params
- the params
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |