[MINOR][MLLIB] deprecate setLabelCol in ChiSqSelectorModel

## What changes were proposed in this pull request?

Deprecate `labelCol`, which is not used by ChiSqSelectorModel.

Author: Xiangrui Meng <meng@databricks.com>

Closes #13823 from mengxr/deprecate-setLabelCol-in-ChiSqSelectorModel.
This commit is contained in:
Xiangrui Meng 2016-06-21 20:53:38 -07:00 committed by Joseph K. Bradley
parent 79aa1d82ca
commit d77c4e6e2e

View file

@ -142,6 +142,7 @@ final class ChiSqSelectorModel private[ml] (
/** @group setParam */
@Since("1.6.0")
@deprecated("labelCol is not used by ChiSqSelectorModel.", "2.0.0")
def setLabelCol(value: String): this.type = set(labelCol, value)
@Since("2.0.0")