Skip to content
Snippets Groups Projects
Commit 8bae9015 authored by Piotr Migdal's avatar Piotr Migdal Committed by Xiangrui Meng
Browse files

[SPARK-10085] [MLLIB] [DOCS] removed unnecessary numpy array import

See https://issues.apache.org/jira/browse/SPARK-10085

Author: Piotr Migdal <pmigdal@gmail.com>

Closes #8284 from stared/spark-10085.
parent 747c2ba8
No related branches found
No related tags found
No related merge requests found
......@@ -504,7 +504,6 @@ will in the future.
{% highlight python %}
from pyspark.mllib.classification import LogisticRegressionWithLBFGS, LogisticRegressionModel
from pyspark.mllib.regression import LabeledPoint
from numpy import array
# Load and parse the data
def parsePoint(line):
......@@ -676,7 +675,6 @@ Note that the Python API does not yet support model save/load but will in the fu
{% highlight python %}
from pyspark.mllib.regression import LabeledPoint, LinearRegressionWithSGD, LinearRegressionModel
from numpy import array
# Load and parse the data
def parsePoint(line):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment