diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-08-06 13:29:31 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-08-06 13:29:31 -0700 |
commit | 54c0789a05a783ce90e0e9848079be442a82966b (patch) | |
tree | 1108e74753dca0409b4e75f481556224a8d4cde0 /streaming | |
parent | 1f62f104c7a2aeac625b17d9e5ac62f1f10a2b21 (diff) | |
download | spark-54c0789a05a783ce90e0e9848079be442a82966b.tar.gz spark-54c0789a05a783ce90e0e9848079be442a82966b.tar.bz2 spark-54c0789a05a783ce90e0e9848079be442a82966b.zip |
[SPARK-9493] [ML] add featureIndex to handle vector features in IsotonicRegression
This PR contains the following changes:
* add `featureIndex` to handle vector features (in order to chain isotonic regression easily with output from logistic regression
* make getter/setter names consistent with params
* remove inheritance from Regressor because it is tricky to handle both `DoubleType` and `VectorType`
* simplify test data generation
jkbradley zapletal-martin
Author: Xiangrui Meng <meng@databricks.com>
Closes #7952 from mengxr/SPARK-9493 and squashes the following commits:
8818ac3 [Xiangrui Meng] address comments
05e2216 [Xiangrui Meng] address comments
8d08090 [Xiangrui Meng] add featureIndex to handle vector features make getter/setter names consistent with params remove inheritance from Regressor
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions