File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ val accuracy = 1.0 * predictionAndLabel.filter(x => x._1 == x._2).count() / test
5959
6060<div data-lang =" java " markdown =" 1 " >
6161
62- [ NaiveBayes] ( api/scala/index.html# org. apache. spark. mllib. classification. NaiveBayes$ ) implements
62+ [ NaiveBayes] ( api/java/ org/ apache/ spark/ mllib/ classification/ NaiveBayes.html ) implements
6363multinomial naive Bayes. It takes a Scala RDD of
64- [ LabeledPoint] ( api/scala/index.html# org. apache. spark. mllib. regression. LabeledPoint ) and an
64+ [ LabeledPoint] ( api/java/ org/ apache/ spark/ mllib/ regression/ LabeledPoint.html ) and an
6565optionally smoothing parameter ` lambda ` as input, and output a
66- [ NaiveBayesModel] ( api/scala/index.html# org. apache. spark. mllib. classification. NaiveBayesModel ) , which
66+ [ NaiveBayesModel] ( api/java/ org/ apache/ spark/ mllib/ classification/ NaiveBayesModel.html ) , which
6767can be used for evaluation and prediction.
6868
6969{% highlight java %}
You can’t perform that action at this time.
0 commit comments