-
- Downloads
[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
Showing
- mllib/src/main/scala/org/apache/spark/mllib/classification/LogisticRegression.scala 1 addition, 1 deletion...pache/spark/mllib/classification/LogisticRegression.scala
- mllib/src/main/scala/org/apache/spark/mllib/classification/SVM.scala 1 addition, 1 deletion...ain/scala/org/apache/spark/mllib/classification/SVM.scala
- python/pyspark/mllib/classification.py 106 additions, 29 deletionspython/pyspark/mllib/classification.py
Please register or sign in to comment