diff options
author | wm624@hotmail.com <wm624@hotmail.com> | 2016-04-08 10:47:05 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2016-04-08 10:47:05 -0700 |
commit | e0ad75f2b55772efc82a6f8ebb1b2d80fe27d9b5 (patch) | |
tree | 600d2505875b418ec19f461416c42585693a92d6 /build/mvn | |
parent | e5d8d6e09cad304e353c96f9408fb9f799348827 (diff) | |
download | spark-e0ad75f2b55772efc82a6f8ebb1b2d80fe27d9b5.tar.gz spark-e0ad75f2b55772efc82a6f8ebb1b2d80fe27d9b5.tar.bz2 spark-e0ad75f2b55772efc82a6f8ebb1b2d80fe27d9b5.zip |
[SPARK-12569][PYSPARK][ML] DecisionTreeRegressor: provide variance of prediction: Python API
## What changes were proposed in this pull request?
A new column VarianceCol has been added to DecisionTreeRegressor in ML scala code.
This patch adds the corresponding Python API, HasVarianceCol, to class DecisionTreeRegressor.
## How was this patch tested?
./dev/lint-python
PEP8 checks passed.
rm -rf _build/*
pydoc checks passed.
./python/run-tests --python-executables=python2.7 --modules=pyspark-ml
Running PySpark tests. Output is in /Users/mwang/spark_ws_0904/python/unit-tests.log
Will test against the following Python executables: ['python2.7']
Will test the following Python modules: ['pyspark-ml']
Finished test(python2.7): pyspark.ml.evaluation (12s)
Finished test(python2.7): pyspark.ml.clustering (18s)
Finished test(python2.7): pyspark.ml.classification (30s)
Finished test(python2.7): pyspark.ml.recommendation (28s)
Finished test(python2.7): pyspark.ml.feature (43s)
Finished test(python2.7): pyspark.ml.regression (31s)
Finished test(python2.7): pyspark.ml.tuning (19s)
Finished test(python2.7): pyspark.ml.tests (34s)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Author: wm624@hotmail.com <wm624@hotmail.com>
Closes #12116 from wangmiao1981/fix_api.
Diffstat (limited to 'build/mvn')
0 files changed, 0 insertions, 0 deletions