diff options
author | Sandeep <sandeep@techaddict.me> | 2014-04-15 00:19:43 -0700 |
---|---|---|
committer | Matei Zaharia <matei@databricks.com> | 2014-04-15 00:20:01 -0700 |
commit | 1491b2a0ded9671fa15f6b472d3da6b93fe0c574 (patch) | |
tree | fcb35849e4bc7974dd1e2ea9087db193b46d674e /docs/mllib-guide.md | |
parent | 7433f64e7e066464d8464e2b5ed831375108d705 (diff) | |
download | spark-1491b2a0ded9671fa15f6b472d3da6b93fe0c574.tar.gz spark-1491b2a0ded9671fa15f6b472d3da6b93fe0c574.tar.bz2 spark-1491b2a0ded9671fa15f6b472d3da6b93fe0c574.zip |
SPARK-1426: Make MLlib work with NumPy versions older than 1.7
Currently it requires NumPy 1.7 due to using the copyto method (http://docs.scipy.org/doc/numpy/reference/generated/numpy.copyto.html) for extracting data out of an array.
Replace it with a fallback
Author: Sandeep <sandeep@techaddict.me>
Closes #391 from techaddict/1426 and squashes the following commits:
d365962 [Sandeep] SPARK-1426: Make MLlib work with NumPy versions older than 1.7 Currently it requires NumPy 1.7 due to using the copyto method (http://docs.scipy.org/doc/numpy/reference/generated/numpy.copyto.html) for extracting data out of an array. Replace it with a fallback
(cherry picked from commit df360917990ad95dde3c8e016ec42507d1566355)
Signed-off-by: Matei Zaharia <matei@databricks.com>
Diffstat (limited to 'docs/mllib-guide.md')
-rw-r--r-- | docs/mllib-guide.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/mllib-guide.md b/docs/mllib-guide.md index a5e0cc5080..eff856104c 100644 --- a/docs/mllib-guide.md +++ b/docs/mllib-guide.md @@ -11,7 +11,7 @@ namely, binary classification, regression, clustering and collaborative filtering, as well as an underlying gradient descent optimization primitive. # Available Methods -The following links provide a detailed explanation of the methods and usage examples for each of them: +The following links provide a detailed explanation of the methods and usage examples for each of them: * <a href="mllib-classification-regression.html">Classification and Regression</a> * Binary Classification @@ -33,10 +33,9 @@ The following links provide a detailed explanation of the methods and usage exam # Dependencies MLlib uses the [jblas](https://github.com/mikiobraun/jblas) linear algebra library, which itself -depends on native Fortran routines. You may need to install the +depends on native Fortran routines. You may need to install the [gfortran runtime library](https://github.com/mikiobraun/jblas/wiki/Missing-Libraries) -if it is not already present on your nodes. MLlib will throw a linking error if it cannot +if it is not already present on your nodes. MLlib will throw a linking error if it cannot detect these libraries automatically. -To use MLlib in Python, you will need [NumPy](http://www.numpy.org) version 1.7 or newer. - +To use MLlib in Python, you will need [NumPy](http://www.numpy.org) version 1.4 or newer. |