Skip to content

Commit

Permalink
[SPARK-10085] [MLLIB] [DOCS] removed unnecessary numpy array import
Browse files Browse the repository at this point in the history
See https://issues.apache.org/jira/browse/SPARK-10085

Author: Piotr Migdal <[email protected]>

Closes apache#8284 from stared/spark-10085.
  • Loading branch information
stared authored and mengxr committed Aug 18, 2015
1 parent 747c2ba commit 8bae901
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/mllib-linear-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 8bae901

Please sign in to comment.