Skip to content
Snippets Groups Projects
Commit fd9e345c authored by Mageswaran.D's avatar Mageswaran.D Committed by Xiangrui Meng
Browse files

Typo in mllib-evaluation-metrics.md

Recall by threshold snippet was using "precisionByThreshold"

Author: Mageswaran.D <mageswaran1989@gmail.com>

Closes #9333 from Mageswaran1989/Typo_in_mllib-evaluation-metrics.md.
parent 075ce491
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ precision.foreach { case (t, p) =>
}
// Recall by threshold
val recall = metrics.precisionByThreshold
val recall = metrics.recallByThreshold
recall.foreach { case (t, r) =>
println(s"Threshold: $t, Recall: $r")
}
......@@ -1509,4 +1509,4 @@ print("Explained variance = %s" % metrics.explainedVariance)
{% endhighlight %}
</div>
</div>
\ No newline at end of file
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment