- 
                Notifications
    
You must be signed in to change notification settings  - Fork 28.9k
 
[Minor] [Doc] [ML] ml.clustering scala & python api doc sync #13291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| 
           Test build #59264 has finished for PR 13291 at commit  
  | 
    
| typeConverter=TypeConverters.toString) | ||
| initSteps = Param(Params._dummy(), "initSteps", "steps for k-means initialization mode", | ||
| typeConverter=TypeConverters.toInt) | ||
| initSteps = Param(Params._dummy(), "initSteps", "The number of steps for k-means|| " + | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since were copying this over might as well also include "This is an advanced setting -- the default of 5 is almost always enough." from the scala side?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just sync the param docs rather than API docs. Actually the Python API docs for params are missing for all classes. I think we should add them in the next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, I hadn't noticed the doc params were different than the scaladoc for these params (normally they are more in sync yes?).
| 
           LGTM  | 
    
| 
           jenkins retest this please  | 
    
| 
           Test build #59671 has finished for PR 13291 at commit  
  | 
    
## What changes were proposed in this pull request? Since we done Scala API audit for ml.clustering at #13148, we should also fix and update the corresponding Python API docs to keep them in sync. ## How was this patch tested? Docs change, no tests. Author: Yanbo Liang <[email protected]> Closes #13291 from yanboliang/spark-15361-followup. (cherry picked from commit 594484c) Signed-off-by: Nick Pentreath <[email protected]>
| 
           Merged to master/branch-2.0.  | 
    
What changes were proposed in this pull request?
Since we done Scala API audit for ml.clustering at #13148, we should also fix and update the corresponding Python API docs to keep them in sync.
How was this patch tested?
Docs change, no tests.