aboutsummaryrefslogtreecommitdiff
path: root/docs/mllib-linear-methods.md
diff options
context:
space:
mode:
authorPiotr Migdal <pmigdal@gmail.com>2015-08-18 12:59:28 -0700
committerXiangrui Meng <meng@databricks.com>2015-08-18 12:59:28 -0700
commit8bae9015b7e7b4528ca2bc5180771cb95d2aac13 (patch)
tree46fe015d86cc04241f1d8f776a131198760f7cf9 /docs/mllib-linear-methods.md
parent747c2ba8006d5b86f3be8dfa9ace639042a35628 (diff)
downloadspark-8bae9015b7e7b4528ca2bc5180771cb95d2aac13.tar.gz
spark-8bae9015b7e7b4528ca2bc5180771cb95d2aac13.tar.bz2
spark-8bae9015b7e7b4528ca2bc5180771cb95d2aac13.zip
[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.
Diffstat (limited to 'docs/mllib-linear-methods.md')
-rw-r--r--docs/mllib-linear-methods.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/mllib-linear-methods.md b/docs/mllib-linear-methods.md
index 07655baa41..e9b2d276cd 100644
--- a/docs/mllib-linear-methods.md
+++ b/docs/mllib-linear-methods.md
@@ -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):