diff options
author | Piotr Migdal <pmigdal@gmail.com> | 2015-08-18 12:59:28 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-08-18 12:59:36 -0700 |
commit | 9bd2e6f7cbff1835f9abefe26dbe445eaa5b004b (patch) | |
tree | 56545c25817dbb700e9b93cc6ff1e18fbc0ac213 | |
parent | ec7079f9c94cb98efdac6f92b7c85efb0e67492e (diff) | |
download | spark-9bd2e6f7cbff1835f9abefe26dbe445eaa5b004b.tar.gz spark-9bd2e6f7cbff1835f9abefe26dbe445eaa5b004b.tar.bz2 spark-9bd2e6f7cbff1835f9abefe26dbe445eaa5b004b.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.
(cherry picked from commit 8bae9015b7e7b4528ca2bc5180771cb95d2aac13)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
-rw-r--r-- | docs/mllib-linear-methods.md | 2 |
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): |