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

    https://github.com/apache/spark/pull/14558#discussion_r74873867
  
    --- Diff: R/pkg/R/mllib.R ---
    @@ -298,14 +304,15 @@ setMethod("summary", signature(object = 
"NaiveBayesModel"),
     #' Users can call \code{summary} to print a summary of the fitted model, 
\code{predict} to make
     #' predictions on new data, and \code{write.ml}/\code{read.ml} to 
save/load fitted models.
     #'
    -#' @param data SparkDataFrame for training
    -#' @param formula A symbolic description of the model to be fitted. 
Currently only a few formula
    +#' @param data a SparkDataFrame for training.
    +#' @param formula a symbolic description of the model to be fitted. 
Currently only a few formula
     #'                operators are supported, including '~', '.', ':', '+', 
and '-'.
     #'                Note that the response variable of formula is empty in 
spark.kmeans.
    -#' @param k Number of centers
    -#' @param maxIter Maximum iteration number
    -#' @param initMode The initialization algorithm choosen to fit the model
    -#' @return \code{spark.kmeans} returns a fitted k-means model
    +#' @param ... additional argument(s) passed to the method.
    --- End diff --
    
    Yeah agreed.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to