Github user MrBago commented on a diff in the pull request: https://github.com/apache/spark/pull/20241#discussion_r161116909 --- Diff: python/pyspark/ml/feature.py --- @@ -1577,6 +1577,8 @@ class OneHotEncoder(JavaTransformer, HasInputCol, HasOutputCol, JavaMLReadable, .. note:: This is different from scikit-learn's OneHotEncoder, which keeps all categories. The output vectors are sparse. + Deprecated in 2.3.0. ``OneHotEncoderEstimator`` will be renamed ``OneHotEncoder`` and this + ``OneHotEncoder`` will be removed in 3.0.0.. --- End diff -- Also should this be a separate note?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org