-
- Downloads
[SPARK-15587][ML] ML 2.0 QA: Scala APIs audit for ml.feature
## What changes were proposed in this pull request? ML 2.0 QA: Scala APIs audit for ml.feature. Mainly include: * Remove seed for ```QuantileDiscretizer```, since we use ```approxQuantile``` to produce bins and ```seed``` is useless. * Scala API docs update. * Sync Scala and Python API docs for these changes. ## How was this patch tested? Exist tests. Author: Yanbo Liang <ybliang8@gmail.com> Closes #13410 from yanboliang/spark-15587.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/Bucketizer.scala 3 additions, 3 deletions...c/main/scala/org/apache/spark/ml/feature/Bucketizer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/CountVectorizer.scala 3 additions, 7 deletions...n/scala/org/apache/spark/ml/feature/CountVectorizer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/QuantileDiscretizer.scala 2 additions, 5 deletions...ala/org/apache/spark/ml/feature/QuantileDiscretizer.scala
- mllib/src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala 2 additions, 1 deletion...src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala
- python/pyspark/ml/feature.py 13 additions, 16 deletionspython/pyspark/ml/feature.py
Loading
Please register or sign in to comment