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

    https://github.com/apache/spark/pull/16800#discussion_r100954149
  
    --- Diff: R/pkg/R/mllib_classification.R ---
    @@ -39,6 +46,116 @@ setClass("MultilayerPerceptronClassificationModel", 
representation(jobj = "jobj"
     #' @note NaiveBayesModel since 2.0.0
     setClass("NaiveBayesModel", representation(jobj = "jobj"))
     
    +#' linear SVM Model
    +#'
    +#' Fits an linear SVM model against a SparkDataFrame. It is a binary 
classifier, similar to svm in glmnet package
    +#' Users can print, make predictions on the produced model and save the 
model to the input path.
    +#'
    +#' @param data SparkDataFrame for training.
    +#' @param formula A symbolic description of the model to be fitted. 
Currently only a few formula
    +#'                operators are supported, including '~', '.', ':', '+', 
and '-'.
    +#' @param regParam The regularization parameter.
    +#' @param maxIter Maximum iteration number.
    +#' @param tol Convergence tolerance of iterations.
    +#' @param standardization Whether to standardize the training features 
before fitting the model. The coefficients
    +#'                        of models will be always returned on the 
original scale, so it will be transparent for
    +#'                        users. Note that with/without standardization, 
the models should be always converged
    +#'                        to the same solution when no regularization is 
applied. Default is TRUE, same as glmnet.
    --- End diff --
    
    but my point is glmnet is linear regression whereas here we are linear svc?
    isn't it not a very good reference?


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