Github user yanboliang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10999#discussion_r51375854
  
    --- Diff: python/pyspark/ml/clustering.py ---
    @@ -69,6 +70,25 @@ class KMeans(JavaEstimator, HasFeaturesCol, 
HasPredictionCol, HasMaxIter, HasTol
         True
         >>> rows[2].prediction == rows[3].prediction
         True
    +    >>> import os, tempfile
    --- End diff --
    
    hmm... Here we combine the test and example functions. I do not have strong 
preference about whether this should live here or in tests file. @jkbradley 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to