diff options
author | Davies Liu <davies@databricks.com> | 2014-11-18 10:11:13 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-18 10:11:13 -0800 |
commit | 8fbf72b7903b5bbec8d949151aa4693b4af26ff5 (patch) | |
tree | 47878ffe9262b30cc626c173c341caadb88390ce /python/pyspark/mllib/regression.py | |
parent | cedc3b5aa43a16e2da62f12a36317f00aa1002cc (diff) | |
download | spark-8fbf72b7903b5bbec8d949151aa4693b4af26ff5.tar.gz spark-8fbf72b7903b5bbec8d949151aa4693b4af26ff5.tar.bz2 spark-8fbf72b7903b5bbec8d949151aa4693b4af26ff5.zip |
[SPARK-4435] [MLlib] [PySpark] improve classification
This PR add setThrehold() and clearThreshold() for LogisticRegressionModel and SVMModel, also support RDD of vector in LogisticRegressionModel.predict(), SVNModel.predict() and NaiveBayes.predict()
Author: Davies Liu <davies@databricks.com>
Closes #3305 from davies/setThreshold and squashes the following commits:
d0b835f [Davies Liu] Merge branch 'master' of github.com:apache/spark into setThreshold
e4acd76 [Davies Liu] address comments
2231a5f [Davies Liu] bugfix
7bd9009 [Davies Liu] address comments
0b0a8a7 [Davies Liu] address comments
c1e5573 [Davies Liu] improve classification
Diffstat (limited to 'python/pyspark/mllib/regression.py')
0 files changed, 0 insertions, 0 deletions