-
- Downloads
[SPARK-19456][SPARKR] Add LinearSVC R API
## What changes were proposed in this pull request? Linear SVM classifier is newly added into ML and python API has been added. This JIRA is to add R side API. Marked as WIP, as I am designing unit tests. ## How was this patch tested? Please review http://spark.apache.org/contributing.html before opening a pull request. Author: wm624@hotmail.com <wm624@hotmail.com> Closes #16800 from wangmiao1981/svc.
Showing
- R/pkg/NAMESPACE 2 additions, 1 deletionR/pkg/NAMESPACE
- R/pkg/R/generics.R 4 additions, 0 deletionsR/pkg/R/generics.R
- R/pkg/R/mllib_classification.R 132 additions, 0 deletionsR/pkg/R/mllib_classification.R
- R/pkg/R/mllib_utils.R 6 additions, 3 deletionsR/pkg/R/mllib_utils.R
- R/pkg/inst/tests/testthat/test_mllib_classification.R 44 additions, 0 deletionsR/pkg/inst/tests/testthat/test_mllib_classification.R
- mllib/src/main/scala/org/apache/spark/ml/r/LinearSVCWrapper.scala 152 additions, 0 deletions...c/main/scala/org/apache/spark/ml/r/LinearSVCWrapper.scala
- mllib/src/main/scala/org/apache/spark/ml/r/RWrappers.scala 2 additions, 0 deletionsmllib/src/main/scala/org/apache/spark/ml/r/RWrappers.scala
Loading
Please register or sign in to comment