Skip to content

Conversation

@actuaryzhang
Copy link
Contributor

What changes were proposed in this pull request?

Add Tweedie example for SparkR in programming guide.
The doc was already updated in #17103.

@actuaryzhang
Copy link
Contributor Author

@felixcheung

@SparkQA
Copy link

SparkQA commented Apr 6, 2017

Test build #75582 has finished for PR 17553 at commit c4ef04b.

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

@felixcheung
Copy link
Member

felixcheung commented Apr 7, 2017 via email

Copy link
Member

@felixcheung felixcheung left a comment

Choose a reason for hiding this comment

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

thanks, minor comment


# Fit a generalized linear model of family "tweedie" with spark.glm
training3 <- read.df("data/mllib/sample_multiclass_classification_data.txt", source = "libsvm")
tweedieDF <- transform(training3, label= training3$label * exp(randn(10)))
Copy link
Member

Choose a reason for hiding this comment

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

nite, style: label = trai...

@actuaryzhang actuaryzhang changed the title [SPARK-20026][Doc] Add Tweedie example for SparkR in programming guide [SPARK-20026][Doc][SparkR] Add Tweedie example for SparkR in programming guide Apr 7, 2017
@actuaryzhang
Copy link
Contributor Author

Issues fixed. Thanks.

@SparkQA
Copy link

SparkQA commented Apr 7, 2017

Test build #75612 has finished for PR 17553 at commit ca87b38.

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

@felixcheung
Copy link
Member

merged to master, thanks!

@asfgit asfgit closed this in 870b9d9 Apr 7, 2017
@actuaryzhang actuaryzhang deleted the programGuide branch July 1, 2017 00:37
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.

3 participants