You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/09/15 17:57:13 UTC

[1/2] incubator-systemml git commit: [SYSTEMML-879] Remove the Python MLResults.getDataFrame & MLResults.getNumpyArray functions.

Repository: incubator-systemml
Updated Branches:
  refs/heads/gh-pages 29e1902d9 -> 433da61b5


[SYSTEMML-879] Remove the Python MLResults.getDataFrame & MLResults.getNumpyArray functions.

* Remove the `MLResults.getDataFrame` function and replace usages of `getDataFrame("matrixName")` with `get("matrixName").toDF()`.
* Remove the `MLResults.getNumpyArray` function and replace usages of `getNumpyArray("matrixName")` with `get("matrixName").toNumPy()`.

Closes #239.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/043cbd9f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/043cbd9f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/043cbd9f

Branch: refs/heads/gh-pages
Commit: 043cbd9f966f93a259268771c3e7b04033896382
Parents: 29e1902
Author: Mike Dusenberry <mw...@us.ibm.com>
Authored: Wed Sep 14 11:27:57 2016 -0700
Committer: Mike Dusenberry <mw...@us.ibm.com>
Committed: Wed Sep 14 11:27:57 2016 -0700

----------------------------------------------------------------------
 beginners-guide-python.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/043cbd9f/beginners-guide-python.md
----------------------------------------------------------------------
diff --git a/beginners-guide-python.md b/beginners-guide-python.md
index f040212..725363a 100644
--- a/beginners-guide-python.md
+++ b/beginners-guide-python.md
@@ -354,5 +354,5 @@ y_df = sqlCtx.createDataFrame(pd.DataFrame(y_digits[:.9 * n_samples]))
 ml = sml.MLContext(sc)
 script = os.path.join(os.environ['SYSTEMML_HOME'], 'scripts', 'algorithms', 'MultiLogReg.dml')
 script = sml.dml(script).input(X=X_df, Y_vec=y_df).output("B_out")
-beta = ml.execute(script).getNumPyArray('B_out')
+beta = ml.execute(script).get('B_out').toNumPy()
 ```


[2/2] incubator-systemml git commit: [DOCS] Update brew install instructions for Spark 1.6

Posted by de...@apache.org.
[DOCS] Update brew install instructions for Spark 1.6

Closes #241.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/433da61b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/433da61b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/433da61b

Branch: refs/heads/gh-pages
Commit: 433da61b5d9392385a118997d390103290860c37
Parents: 043cbd9
Author: Nakul Jindal <na...@gmail.com>
Authored: Thu Sep 15 10:54:19 2016 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Thu Sep 15 10:54:19 2016 -0700

----------------------------------------------------------------------
 beginners-guide-python.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/433da61b/beginners-guide-python.md
----------------------------------------------------------------------
diff --git a/beginners-guide-python.md b/beginners-guide-python.md
index 725363a..65eef50 100644
--- a/beginners-guide-python.md
+++ b/beginners-guide-python.md
@@ -62,7 +62,8 @@ brew install apache-spark
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
 brew tap caskroom/cask
 brew install Caskroom/cask/java
-brew install apache-spark
+brew tap homebrew/versions
+brew install apache-spark16
 ```
 </div>
 </div>