aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/ml/classification.py
diff options
context:
space:
mode:
authorBurak Yavuz <brkyvz@gmail.com>2015-05-12 12:17:05 -0700
committerXiangrui Meng <meng@databricks.com>2015-05-12 12:17:05 -0700
commit8e935b0a214f8b477fe9579fbf6a2d0a27b59118 (patch)
tree409915759b0929b79e0b85c3a824a6b2e4f5f591 /python/pyspark/ml/classification.py
parentb9b01f44f687f35460db9e0ab0b426897747596a (diff)
downloadspark-8e935b0a214f8b477fe9579fbf6a2d0a27b59118.tar.gz
spark-8e935b0a214f8b477fe9579fbf6a2d0a27b59118.tar.bz2
spark-8e935b0a214f8b477fe9579fbf6a2d0a27b59118.zip
[SPARK-7487] [ML] Feature Parity in PySpark for ml.regression
Added LinearRegression Python API Author: Burak Yavuz <brkyvz@gmail.com> Closes #6016 from brkyvz/ml-reg and squashes the following commits: 11c9ef9 [Burak Yavuz] address comments 1027a40 [Burak Yavuz] fix typo 4c699ad [Burak Yavuz] added tree regressor api 8afead2 [Burak Yavuz] made mixin for DT fa51c74 [Burak Yavuz] save additions 0640d48 [Burak Yavuz] added ml.regression 82aac48 [Burak Yavuz] added linear regression
Diffstat (limited to 'python/pyspark/ml/classification.py')
-rw-r--r--python/pyspark/ml/classification.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/ml/classification.py b/python/pyspark/ml/classification.py
index 45754bc9d4..8a009c4ac7 100644
--- a/python/pyspark/ml/classification.py
+++ b/python/pyspark/ml/classification.py
@@ -91,7 +91,7 @@ if __name__ == "__main__":
globs = globals().copy()
# The small batch size here ensures that we see multiple batches,
# even in these small test examples:
- sc = SparkContext("local[2]", "ml.feature tests")
+ sc = SparkContext("local[2]", "ml.classification tests")
sqlContext = SQLContext(sc)
globs['sc'] = sc
globs['sqlContext'] = sqlContext