Skip to content
Snippets Groups Projects
Commit 6e0b3d79 authored by Wojciech Jurczyk's avatar Wojciech Jurczyk Committed by Reynold Xin
Browse files

[DOCS] Fix Gini and Entropy scaladocs in context of multiclass classification

The PR changes outdated scaladocs for Gini and Entropy classes. Since PR #886 Spark supports multiclass classification, but the docs tell only about binary classification.

Author: Wojciech Jurczyk <wojciech.jurczyk@codilime.com>

Closes #11252 from wjur/wjur/docs_multiclass.
parent a153e41c
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,7 @@ import org.apache.spark.annotation.{DeveloperApi, Experimental, Since}
/**
* :: Experimental ::
* Class for calculating [[http://en.wikipedia.org/wiki/Binary_entropy_function entropy]] during
* binary classification.
* Class for calculating entropy during multiclass classification.
*/
@Since("1.0.0")
@Experimental
......
......@@ -23,7 +23,7 @@ import org.apache.spark.annotation.{DeveloperApi, Experimental, Since}
* :: Experimental ::
* Class for calculating the
* [[http://en.wikipedia.org/wiki/Decision_tree_learning#Gini_impurity Gini impurity]]
* during binary classification.
* during multiclass classification.
*/
@Since("1.0.0")
@Experimental
......
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