Skip to content
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

[SPARK-11867] Add save/load for kmeans and naive bayes #9849

Closed
wants to merge 2 commits into from

Conversation

yinxusen
Copy link
Contributor

@SparkQA
Copy link

SparkQA commented Nov 20, 2015

Test build #46371 has finished for PR 9849 at commit 4cfa86e.

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

object KMeansModel extends MLReadable[KMeansModel] {

@Since("1.6.0")
override def read: MLReader[KMeansModel] = new AFTSurvivalRegressionModelReader
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new KMeansModelReader

@yinxusen
Copy link
Contributor Author

Sorry for the mistakes ..

@SparkQA
Copy link

SparkQA commented Nov 20, 2015

Test build #46401 has finished for PR 9849 at commit 3ddafb4.

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

@mengxr
Copy link
Contributor

mengxr commented Nov 20, 2015

LGTM. Merged into master and branch-1.6. Thanks!

@asfgit asfgit closed this in 3e1d120 Nov 20, 2015
asfgit pushed a commit that referenced this pull request Nov 20, 2015
https://issues.apache.org/jira/browse/SPARK-11867

Author: Xusen Yin <yinxusen@gmail.com>

Closes #9849 from yinxusen/SPARK-11867.

(cherry picked from commit 3e1d120)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
@jleaniz
Copy link

jleaniz commented Nov 26, 2015

Can these functions be called from PySpark somehow?

@yinxusen
Copy link
Contributor Author

PySpark cannot use it for now, maybe in v1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants