Skip to content

Commit

Permalink
[DOCS] Fix Gini and Entropy scaladocs in context of multiclass classi…
Browse files Browse the repository at this point in the history
…fication

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 <[email protected]>

Closes #11252 from wjur/wjur/docs_multiclass.
  • Loading branch information
wjur authored and rxin committed Jun 15, 2016
1 parent a153e41 commit 6e0b3d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e0b3d7

Please sign in to comment.