spark-instrumented-optimizer/python/pyspark/ml
wm624@hotmail.com e0ad75f2b5 [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.
2016-04-08 10:47:05 -07:00
..
param [SPARK-12569][PYSPARK][ML] DecisionTreeRegressor: provide variance of prediction: Python API 2016-04-08 10:47:05 -07:00
__init__.py [SPARK-13038][PYSPARK] Add load/save to pipeline 2016-03-16 13:49:40 -07:00
base.py [SPARK-13038][PYSPARK] Add load/save to pipeline 2016-03-16 13:49:40 -07:00
classification.py [SPARK-14373][PYSPARK] PySpark RandomForestClassifier, Regressor support export/import 2016-04-08 10:39:12 -07:00
clustering.py [SPARK-14305][ML][PYSPARK] PySpark ml.clustering BisectingKMeans support export/import 2016-04-01 12:53:39 -07:00
evaluation.py [SPARK-10509][PYSPARK] Reduce excessive param boiler plate code 2016-01-26 15:53:48 -08:00
feature.py [SPARK-13068][PYSPARK][ML] Type conversion for Pyspark params 2016-03-23 11:20:44 -07:00
pipeline.py [SPARK-13951][ML][PYTHON] Nested Pipeline persistence 2016-03-22 12:11:37 -07:00
recommendation.py [SPARK-13068][PYSPARK][ML] Type conversion for Pyspark params 2016-03-23 11:20:44 -07:00
regression.py [SPARK-12569][PYSPARK][ML] DecisionTreeRegressor: provide variance of prediction: Python API 2016-04-08 10:47:05 -07:00
tests.py [SPARK-13430][PYSPARK][ML] Python API for training summaries of linear and logistic regression 2016-04-06 12:07:47 -07:00
tuning.py [SPARK-13786][ML][PYSPARK] Add save/load for pyspark.ml.tuning 2016-04-06 11:24:11 -07:00
util.py [SPARK-14071][PYSPARK][ML] Change MLWritable.write to be a property 2016-03-28 22:33:25 -07:00
wrapper.py [SPARK-13430][PYSPARK][ML] Python API for training summaries of linear and logistic regression 2016-04-06 12:07:47 -07:00