-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-16143][R] group AFT survival regression methods docs in a single Rd #13927
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
R/pkg/R/mllib.R
Outdated
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.
flip the order - otherwise the newData parameter doesn't show in the generated doc.
|
add to whitelist |
|
ok to test |
R/pkg/R/mllib.R
Outdated
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.
no "." at the end
|
Test build #61315 has finished for PR 13927 at commit
|
R/pkg/R/mllib.R
Outdated
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.
Please do not move code blocks unless it is necessary. It makes it hard to review the changes and causes conflicts with other PRs. If we want to re-organize the ordering, we should do that in a separate PR without any real code changes.
|
@junyangq You can use |
|
Test build #61324 has finished for PR 13927 at commit
|
|
Test build #61326 has finished for PR 13927 at commit
|
R/pkg/R/mllib.R
Outdated
| # spark.survreg, similarly to R package survival's predict. | ||
|
|
||
| #' @param newData A SparkDataFrame for testing | ||
| #' @return \code{predict} returns a SparkDataFrame containing predicted values (median of |
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.
Had an offline discussion with @junyangq and confirmed that this is response at the original scale (mean predicted value at scale = 1.0) rather than median of the survival time.
|
LGTM except one minor issue with |
|
Test build #61334 has finished for PR 13927 at commit
|
|
LGTM. Merged into master and branch-2.0. Thanks! |
…le Rd ## What changes were proposed in this pull request? This PR groups `spark.survreg`, `summary(AFT)`, `predict(AFT)`, `write.ml(AFT)` for survival regression into a single Rd. ## How was this patch tested? Manually checked generated HTML doc. See attached screenshots.   Author: Junyang Qian <[email protected]> Closes #13927 from junyangq/SPARK-16143. (cherry picked from commit 1b7fc58) Signed-off-by: Xiangrui Meng <[email protected]>


What changes were proposed in this pull request?
This PR groups
spark.survreg,summary(AFT),predict(AFT),write.ml(AFT)for survival regression into a single Rd.How was this patch tested?
Manually checked generated HTML doc. See attached screenshots.