Skip to content

Conversation

@yanboliang
Copy link
Contributor

What changes were proposed in this pull request?

SparkR does not support type of vector which is the default type of feature column in ML. R predict also does not output intermediate feature column. So SparkR predict should not output feature column. In this PR, I only fix this issue for naiveBayes and survreg. kmeans has the right code route already and glm will be fixed at SparkRWrapper refactor(#12294).

How was this patch tested?

No new tests.

cc @mengxr @shivaram

@SparkQA
Copy link

SparkQA commented Mar 25, 2016

Test build #54166 has finished for PR 11958 at commit 059bb7b.

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

@NarineK
Copy link
Contributor

NarineK commented Mar 28, 2016

Thanks, @yanboliang , this will solve the problem. It seems that the changeset includes only naive bayes and survival analysis. Can we also do the changes for kmeans and glm ?

Thanks!

@yanboliang
Copy link
Contributor Author

@NarineK I think we will make SparkRWrapper refactor for glm and kmeans soon, it's simpler to do the changes after the refactor. Thanks!

@SparkQA
Copy link

SparkQA commented Apr 12, 2016

Test build #55610 has finished for PR 11958 at commit 0d18ccd.

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

@mengxr
Copy link
Contributor

mengxr commented Apr 12, 2016

LGTM. Merged into master. Thanks!

@asfgit asfgit closed this in 111a624 Apr 12, 2016
@yanboliang yanboliang deleted the spark-14147 branch April 13, 2016 02:48
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