diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2017-01-23 17:24:53 -0800 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2017-01-23 17:24:53 -0800 |
commit | 49f5b0ae4c31e4b7369104a14e562e1546aa7736 (patch) | |
tree | b1495ad11208a317fb38be9071ffc93c37df25e1 /docs/_plugins | |
parent | e4974721f33e64604501f673f74052e11920d438 (diff) | |
download | spark-49f5b0ae4c31e4b7369104a14e562e1546aa7736.tar.gz spark-49f5b0ae4c31e4b7369104a14e562e1546aa7736.tar.bz2 spark-49f5b0ae4c31e4b7369104a14e562e1546aa7736.zip |
[SPARK-17747][ML] WeightCol support non-double numeric datatypes
## What changes were proposed in this pull request?
1, add test for `WeightCol` in `MLTestingUtils.checkNumericTypes`
2, move datatype cast to `Predict.fit`, and supply algos' `train()` with casted dataframe
## How was this patch tested?
local tests in spark-shell and unit tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #15314 from zhengruifeng/weightCol_support_int.
Diffstat (limited to 'docs/_plugins')
0 files changed, 0 insertions, 0 deletions