Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/14830#discussion_r76512354
--- Diff:
examples/src/main/python/mllib/binary_classification_metrics_example.py ---
@@ -18,11 +18,13 @@
Binary Classification Metrics Example.
"""
from __future__ import print_function
-from pyspark.sql import SparkSession
+
# $example on$
from pyspark.mllib.classification import LogisticRegressionWithLBFGS
from pyspark.mllib.evaluation import BinaryClassificationMetrics
from pyspark.mllib.regression import LabeledPoint
+from pyspark.sql import SparkSession
--- End diff --
Move example off up above
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]