aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorsethah <seth.hendrickson16@gmail.com>2016-10-14 20:21:03 +0000
committerDB Tsai <dbtsai@login.dbtsai.com>2016-10-14 20:21:03 +0000
commitde1c1ca5c9d6064d3b7b3711e3bfb08fa018abe8 (patch)
tree004af65ec7d17f7a6c60311ca0fdab960d745b63 /sql/hive
parent05800b4b4e7873ebc445dfcd020b76d7539686e1 (diff)
downloadspark-de1c1ca5c9d6064d3b7b3711e3bfb08fa018abe8.tar.gz
spark-de1c1ca5c9d6064d3b7b3711e3bfb08fa018abe8.tar.bz2
spark-de1c1ca5c9d6064d3b7b3711e3bfb08fa018abe8.zip
[SPARK-17941][ML][TEST] Logistic regression tests should use sample weights.
## What changes were proposed in this pull request? The sample weight testing for logistic regressions is not robust. Logistic regression suite already has many test cases comparing results to R glmnet. Since both libraries support sample weights, we should use sample weights in the test to increase coverage for sample weighting. This patch doesn't really add any code and makes the testing more complete. Also fixed some errors with the R code that was referenced in the test suit. Changed `standardization=T` to `standardize=T` since the former is invalid. ## How was this patch tested? Existing unit tests are modified. No non-test code is touched. Author: sethah <seth.hendrickson16@gmail.com> Closes #15488 from sethah/logreg_weight_tests.
Diffstat (limited to 'sql/hive')
0 files changed, 0 insertions, 0 deletions