org.apache.lens.ml.spark.algos
Class NaiveBayesAlgo
java.lang.Object
org.apache.lens.ml.spark.algos.BaseSparkAlgo
org.apache.lens.ml.spark.algos.NaiveBayesAlgo
- All Implemented Interfaces:
- MLAlgo
public class NaiveBayesAlgo
- extends BaseSparkAlgo
The Class NaiveBayesAlgo.
NaiveBayesAlgo
public NaiveBayesAlgo(String name,
String description)
- Instantiates a new naive bayes algo.
- Parameters:
name
- the namedescription
- the description
parseAlgoParams
public void parseAlgoParams(Map<String,String> params)
- Description copied from class:
BaseSparkAlgo
- Parses the algo params.
- Specified by:
parseAlgoParams
in class BaseSparkAlgo
- Parameters:
params
- the params
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.