Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13927#discussion_r68677641
  
    --- Diff: R/pkg/R/mllib.R ---
    @@ -595,20 +597,14 @@ setMethod("summary", signature(object = 
"AFTSurvivalRegressionModel"),
                 return(list(coefficients = coefficients))
               })
     
    -#' Predicted values based on model
    -#'
    -#' Makes predictions from an AFT survival regression model or a model 
produced by spark.survreg(),
    -#' similarly to R package survival's predict.
    -#'
    -#' @param object A fitted AFT survival regression model
    -#' @rdname predict
    +# Makes predictions from an AFT survival regression model or a model 
produced by
    +# 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
    --- End diff --
    
    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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to