8fbf72b790
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 |
||
---|---|---|
.. | ||
__init__.py | ||
classification.py | ||
clustering.py | ||
common.py | ||
feature.py | ||
linalg.py | ||
rand.py | ||
recommendation.py | ||
regression.py | ||
stat.py | ||
tests.py | ||
tree.py | ||
util.py |