spark-instrumented-optimizer/python/pyspark/mllib
Davies Liu 8fbf72b790 [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
2014-11-18 10:11:13 -08:00
..
__init__.py [SPARK-4348] [PySpark] [MLlib] rename random.py to rand.py 2014-11-13 10:24:54 -08:00
classification.py [SPARK-4435] [MLlib] [PySpark] improve classification 2014-11-18 10:11:13 -08:00
clustering.py [SPARK-4124] [MLlib] [PySpark] simplify serialization in MLlib Python API 2014-10-30 22:25:18 -07:00
common.py [SPARK-3964] [MLlib] [PySpark] add Hypothesis test Python API 2014-11-04 21:35:52 -08:00
feature.py [SPARK-4348] [PySpark] [MLlib] rename random.py to rand.py 2014-11-13 10:24:54 -08:00
linalg.py [SPARK-4348] [PySpark] [MLlib] rename random.py to rand.py 2014-11-13 10:24:54 -08:00
rand.py [SPARK-4348] [PySpark] [MLlib] rename random.py to rand.py 2014-11-13 10:24:54 -08:00
recommendation.py [SPARK-4324] [PySpark] [MLlib] support numpy.array for all MLlib API 2014-11-10 22:26:16 -08:00
regression.py [SPARK-4372][MLLIB] Make LR and SVM's default parameters consistent in Scala and Python 2014-11-13 13:54:16 -08:00
stat.py [SPARK-4324] [PySpark] [MLlib] support numpy.array for all MLlib API 2014-11-10 22:26:16 -08:00
tests.py [SPARK-3573][MLLIB] Make MLlib's Vector compatible with SQL's SchemaRDD 2014-11-03 22:29:48 -08:00
tree.py [SPARK-4369] [MLLib] fix TreeModel.predict() with RDD 2014-11-12 13:56:41 -08:00
util.py [SPARK-4324] [PySpark] [MLlib] support numpy.array for all MLlib API 2014-11-10 22:26:16 -08:00