Skip to content

Conversation

@yanboliang
Copy link
Contributor

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.

@SparkQA
Copy link

SparkQA commented May 25, 2016

Test build #59264 has finished for PR 13291 at commit e0bf84e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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|| " +
Copy link
Contributor

@holdenk holdenk May 26, 2016

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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?).

@MLnick
Copy link
Contributor

MLnick commented May 30, 2016

LGTM

@MLnick
Copy link
Contributor

MLnick commented May 31, 2016

jenkins retest this please

@SparkQA
Copy link

SparkQA commented May 31, 2016

Test build #59671 has finished for PR 13291 at commit e0bf84e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request May 31, 2016
## 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]>
@MLnick
Copy link
Contributor

MLnick commented May 31, 2016

Merged to master/branch-2.0.

@asfgit asfgit closed this in 594484c May 31, 2016
@yanboliang yanboliang deleted the spark-15361-followup branch June 1, 2016 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants