Skip to content

Commit

Permalink
Update the labels param to have the metadata note
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Jul 31, 2015
1 parent 6a38edb commit b9cffb6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ class StringIndexerInverse private[ml] (
* metadata is read for labels.
* @group param
*/
final val labels: StringArrayParam = new StringArrayParam(this, "labels", "array of labels")
final val labels: StringArrayParam = new StringArrayParam(this, "labels",
"array of labels, if not provided metadata from inputCol is used instead.")
setDefault(labels, Array.empty[String])

/** @group getParam
Expand Down

0 comments on commit b9cffb6

Please sign in to comment.