Skip to content

Commit 7dad18e

Browse files
committed
update java api links in NB
1 parent 3a0f4a6 commit 7dad18e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/mllib-naive-bayes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
6363
multinomial 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
6565
optionally 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
6767
can be used for evaluation and prediction.
6868

6969
{% highlight java %}

0 commit comments

Comments
 (0)