[GitHub] spark pull request #18035: [MINOR][SPARKR][ML] Fix coefficients issue and co...

2017-05-19 Thread yanboliang
Github user yanboliang commented on a diff in the pull request: https://github.com/apache/spark/pull/18035#discussion_r117464991 --- Diff: mllib/src/main/scala/org/apache/spark/ml/r/LinearSVCWrapper.scala --- @@ -38,9 +38,17 @@ private[r] class LinearSVCWrapper private ( pri

[GitHub] spark pull request #18035: [MINOR][SPARKR][ML] Fix coefficients issue and co...

2017-05-19 Thread yanboliang
Github user yanboliang commented on a diff in the pull request: https://github.com/apache/spark/pull/18035#discussion_r117465188 --- Diff: R/pkg/R/mllib_classification.R --- @@ -124,39 +125,30 @@ setMethod("predict", signature(object = "LinearSVCModel"), predict_in

[GitHub] spark pull request #18035: [MINOR][SPARKR][ML] Fix coefficients issue and co...

2017-05-19 Thread yanboliang
GitHub user yanboliang opened a pull request: https://github.com/apache/spark/pull/18035 [MINOR][SPARKR][ML] Fix coefficients issue and code cleanup for SparkR linear SVM. ## What changes were proposed in this pull request? Fix coefficients issue and code cleanup for SparkR line