-
- Downloads
[SPARK-13761][ML] Deprecate validateParams
## What changes were proposed in this pull request? Deprecate validateParams() method here: https://github.com/apache/spark/blob/035d3acdf3c1be5b309a861d5c5beb803b946b5e/mllib/src/main/scala/org/apache/spark/ml/param/params.scala#L553 Move all functionality in overridden methods to transformSchema(). Check docs to make sure they indicate complex Param interaction checks should be done in transformSchema. ## How was this patch tested? unit tests Author: Yuhao Yang <hhbyyh@gmail.com> Closes #11620 from hhbyyh/depreValid.
Showing
- mllib/src/main/scala/org/apache/spark/ml/Pipeline.scala 0 additions, 14 deletionsmllib/src/main/scala/org/apache/spark/ml/Pipeline.scala
- mllib/src/main/scala/org/apache/spark/ml/Predictor.scala 0 additions, 1 deletionmllib/src/main/scala/org/apache/spark/ml/Predictor.scala
- mllib/src/main/scala/org/apache/spark/ml/Transformer.scala 0 additions, 1 deletionmllib/src/main/scala/org/apache/spark/ml/Transformer.scala
- mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala 0 additions, 1 deletion...rc/main/scala/org/apache/spark/ml/clustering/KMeans.scala
- mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala 2 additions, 7 deletions...b/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/Bucketizer.scala 0 additions, 1 deletion...c/main/scala/org/apache/spark/ml/feature/Bucketizer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/ChiSqSelector.scala 0 additions, 2 deletions...ain/scala/org/apache/spark/ml/feature/ChiSqSelector.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/CountVectorizer.scala 0 additions, 1 deletion...n/scala/org/apache/spark/ml/feature/CountVectorizer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/HashingTF.scala 0 additions, 1 deletion...rc/main/scala/org/apache/spark/ml/feature/HashingTF.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/IDF.scala 0 additions, 1 deletionmllib/src/main/scala/org/apache/spark/ml/feature/IDF.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/Interaction.scala 4 additions, 9 deletions.../main/scala/org/apache/spark/ml/feature/Interaction.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/MaxAbsScaler.scala 0 additions, 1 deletion...main/scala/org/apache/spark/ml/feature/MaxAbsScaler.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/MinMaxScaler.scala 1 addition, 4 deletions...main/scala/org/apache/spark/ml/feature/MinMaxScaler.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/OneHotEncoder.scala 0 additions, 1 deletion...ain/scala/org/apache/spark/ml/feature/OneHotEncoder.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/PCA.scala 0 additions, 2 deletionsmllib/src/main/scala/org/apache/spark/ml/feature/PCA.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/QuantileDiscretizer.scala 0 additions, 1 deletion...ala/org/apache/spark/ml/feature/QuantileDiscretizer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/RFormula.scala 0 additions, 4 deletions...src/main/scala/org/apache/spark/ml/feature/RFormula.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/SQLTransformer.scala 0 additions, 1 deletion...in/scala/org/apache/spark/ml/feature/SQLTransformer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/StandardScaler.scala 0 additions, 2 deletions...in/scala/org/apache/spark/ml/feature/StandardScaler.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/StopWordsRemover.scala 0 additions, 1 deletion.../scala/org/apache/spark/ml/feature/StopWordsRemover.scala
Loading
Please register or sign in to comment