-
- Downloads
[SPARK-20707][ML] ML deprecated APIs should be removed in major release.
## What changes were proposed in this pull request? Before 2.2, MLlib keep to remove APIs deprecated in last feature/minor release. But from Spark 2.2, we decide to remove deprecated APIs in a major release, so we need to change corresponding annotations to tell users those will be removed in 3.0. Meanwhile, this fixed bugs in ML documents. The original ML docs can't show deprecated annotations in ```MLWriter``` and ```MLReader``` related class, we correct it in this PR. Before:  After:  ## How was this patch tested? Existing tests. Author: Yanbo Liang <ybliang8@gmail.com> Closes #17946 from yanboliang/spark-20707.
Showing
- mllib/src/main/scala/org/apache/spark/ml/tree/treeParams.scala 30 additions, 30 deletions.../src/main/scala/org/apache/spark/ml/tree/treeParams.scala
- mllib/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala 3 additions, 1 deletion...b/src/main/scala/org/apache/spark/ml/util/ReadWrite.scala
- python/docs/pyspark.ml.rst 8 additions, 0 deletionspython/docs/pyspark.ml.rst
- python/pyspark/ml/util.py 10 additions, 6 deletionspython/pyspark/ml/util.py
Loading
Please register or sign in to comment