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

    https://github.com/apache/spark/pull/14229#discussion_r75036372
  
    --- Diff: R/pkg/R/mllib.R ---
    @@ -605,6 +702,70 @@ setMethod("spark.survreg", signature(data = 
"SparkDataFrame", formula = "formula
                 return(new("AFTSurvivalRegressionModel", jobj = jobj))
               })
     
    +#' Latent Dirichlet Allocation
    +#'
    +#' \code{spark.lda} fits a Latent Dirichlet Allocation model on a 
SparkDataFrame. Users can call
    +#' \code{summary} to get a summary of the fitted LDA model, 
\code{spark.posterior} to compute
    +#' posterior probabilities on new data, \code{spark.perplexity} to compute 
log perplexity on new
    +#' data and \code{write.ml}/\code{read.ml} to save/load fitted models.
    +#'
    +#' @param data A SparkDataFrame for training
    +#' @param features Features column name, default "features". Either 
libSVM-format column or
    +#'        character-format column are valid.
    --- End diff --
    
    is valid?


---
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