huaxingao commented on a change in pull request #27785: [SPARK-30934][ML][DOCS] 
Update ml-guide and ml-migration-guide for 3.0 release
URL: https://github.com/apache/spark/pull/27785#discussion_r388093328
 
 

 ##########
 File path: docs/ml-migration-guide.md
 ##########
 @@ -33,16 +33,65 @@ Please refer [Migration Guide: SQL, Datasets and 
DataFrame](sql-migration-guide.
 
 * `OneHotEncoder` which is deprecated in 2.3, is removed in 3.0 and 
`OneHotEncoderEstimator` is now renamed to `OneHotEncoder`.
 * `org.apache.spark.ml.image.ImageSchema.readImages` which is deprecated in 
2.3, is removed in 3.0, use `spark.read.format('image')` instead.
+* `org.apache.spark.mllib.clustering.KMeans.train` with param Int `runs` which 
is deprecated in 2.1, is removed in 3.0, use `train` method without `runs` 
instead.
 
 Review comment:
   Will change to 
   ```
   `org.apache.spark.mllib.clustering.KMeans.train` with param Int `runs` which 
is deprecated in 2.1, is removed in 3.0. Use `train` method without `runs` 
instead.
   ```
   Is there a better way to say this? @srowen 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to