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 2017/02/10 02:05:14 UTC
incubator-systemml-website git commit: [MINOR] Update Download and
Getting Started guide after 0.12.0 release.
Repository: incubator-systemml-website
Updated Branches:
refs/heads/master 9a44c56bd -> af99b3c7c
[MINOR] Update Download and Getting Started guide after 0.12.0 release.
Closes #38.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/commit/af99b3c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/tree/af99b3c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/diff/af99b3c7
Branch: refs/heads/master
Commit: af99b3c7c1c4ded12edf3ccda20fb23040095d33
Parents: 9a44c56
Author: Niketan Pansare <np...@us.ibm.com>
Authored: Thu Feb 9 18:01:18 2017 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Thu Feb 9 18:01:18 2017 -0800
----------------------------------------------------------------------
_src/download.html | 6 ++++++
_src/get-started.html | 53 ++++++++++++++++++++++++++++++++++------------
2 files changed, 46 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/af99b3c7/_src/download.html
----------------------------------------------------------------------
diff --git a/_src/download.html b/_src/download.html
index 1378087..729fe4a 100644
--- a/_src/download.html
+++ b/_src/download.html
@@ -70,6 +70,11 @@ limitations under the License.
<td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.zip.md5">MD5</a></td>
<td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.zip.asc">ASC</a></td>
</tr>
+ <tr>
+ <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-python.tgz" target="_blank">{{ site.data.project.release_name }}-{{ site.data.project.release_version }} (Python package .tgz)</a></td>
+ <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-python.tgz.md5">MD5</a></td>
+ <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-python.tgz.asc">ASC</a></td>
+ </tr>
<tr>
<td><a href="https://github.com/apache/incubator-systemml-website/blob/master/{{ site.data.project.release_version }}/release_notes.md" target="_blank">Release Notes</td>
@@ -80,6 +85,7 @@ limitations under the License.
<p>Instructions for checking hashes and signatures is described on the <a href="http://www.apache.org/info/verification.html" target="_blank">Verifying Apache Software Foundation Releases</a> page.</p>
+
<h3>Nightly Experimental Builds</h3>
<p>Nightly experimental builds for Spark 2.x can be obtained from <a href="https://sparktc.ibmcloud.com/repo/latest/" target="_blank">our nightly build</a> page.</p>
http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/af99b3c7/_src/get-started.html
----------------------------------------------------------------------
diff --git a/_src/get-started.html b/_src/get-started.html
index 2f6c2e7..712351b 100644
--- a/_src/get-started.html
+++ b/_src/get-started.html
@@ -40,7 +40,7 @@ limitations under the License.
</div>
<div class="col col-6 content-group content-group--more-padding">
<h2>SystemML Beginner Tutorial</h2>
- <h4><strong>Level:</strong> Beginner | <strong>Time:</strong> 20 minutes</h4><br>
+ <h4><strong>Level:</strong> Beginner | <strong>Time:</strong> 20 minutes</h4><br>
<p><bdi>How to set up and run Apache SystemML locally.</bdi></p>
<a class="button button-secondary" href="https://apache.github.io/incubator-systemml" target="_blank">Docs</a>
</div>
@@ -102,6 +102,8 @@ pip install jupyter matplotlib numpy</code></pre>
<div class="col col-12">
<pre><code>brew tap homebrew/versions
brew install apache-spark16</code></pre>
+
+ <p> Alternatively, you can <a href="http://spark.apache.org/downloads.html">download Spark</a> directly. </p>
</div>
<!-- Step 4 Instructions -->
@@ -111,23 +113,24 @@ brew install apache-spark16</code></pre>
<!-- Step 4 Code -->
<div class="col col-12">
- <p>Download <a href="http://www.apache.org/dyn/closer.cgi/pub/apache/incubator/systemml/0.10.0-incubating/systemml-0.10.0-incubating.zip" target="_blank">systemml-0.10.0-incubating.zip</a> and unzip it to a location of your choice.<br>
- This is optional, but will be much easier in the long run: move SystemML to your bash profile. </p>
- <pre><code>vim .bash_profile
-i
-# 1 line:
-export SYSTEMML_HOME=/Users/stc/Documents/systemml-0.10.0-incubating
-:wq</code></pre>
- <p>
-Similar to the Scala API, SystemML also provides a Python MLContext API. In addition to the regular SystemML.jar file, you\u2019ll need to install the Python API as follows:</p>
- <pre><code>Python 2:
+
+ <p>
+ If you are a python user, we recommend that you download and install Apache SystemML via pip:
+ </p>
+ <pre><code>Python 2:
pip install systemml
# Bleeding edge: pip install git+git://github.com/apache/incubator-systemml.git#subdirectory=src/main/python
Python 3:
pip3 install systemml
# Bleeding edge: pip3 install git+git://github.com/apache/incubator-systemml.git#subdirectory=src/main/python</code></pre>
- </div>
+
+ <p>
+ Alternatively, if you intend to use SystemML via spark-shell (or spark-submit), you only need systemml-0.12.0-incubating.jar, which is packaged into our official binary release (<a href="http://www.apache.org/dyn/closer.cgi/pub/apache/incubator/systemml/0.12.0-incubating/systemml-0.12.0-incubating.zip" target="_blank">systemml-0.12.0-incubating.zip</a>).
+ Note: If you have installed SystemML via pip, you can get the location of this jar by executing following command:
+ </p>
+ <pre><code>python -c 'import imp; import os; print os.path.join(imp.find_module("systemml")[1], "systemml-java")'</code></pre>
+
</div>
<!-- Section 3 -->
@@ -135,7 +138,31 @@ pip3 install systemml
<!-- Section Header -->
<div class="col col-12 content-group--medium-bottom-margin">
<h2>Ways to Use</h2>
- <p>How to Use SystemML.</p>
+ <p>You can use SystemML in one of the following ways:
+ <ol>
+ <li>On Cluster (using our programmatic APIs):
+ <ul>
+ <li>Using pyspark: Please see our <a href="http://apache.github.io/incubator-systemml/beginners-guide-python">beginner's guide for python users</a>.</li>
+ <li>Using Jupyter: Described below in step 5.</li>
+ <li>Using spark-shell: Described below in step 6.</li>
+ </ul>
+ </li>
+
+ <li>On Cluster (command-line batch mode):
+ <ul>
+ <li>Using spark-submit: Please see our <a href="http://apache.github.io/incubator-systemml/spark-batch-mode">spark batch mode tutorial</a>.</li>
+ <li>Using hadoop: Please see our <a href="http://apache.github.io/incubator-systemml/hadoop-batch-mode">hadoop batch model tutorial</a>.</li>
+ </ul>
+ </li>
+
+ <li>On laptop (command-line batch mode) without installing Spark or Hadoop: Please see our <a href="http://apache.github.io/incubator-systemml/standalone-guide">standalone mode tutorial</a>.</li>
+
+ <li>In-memory mode (as part of another Java application for scoring): Please see our <a href="http://apache.github.io/incubator-systemml/jmlc">JMLC tutorial</a>.</li>
+ </ol>
+
+ <p>
+ Note that you can also run pyspark, spark-shell, spark-submit on you laptop using "--master local[*]" parameter.
+ </p>
</div>
<!-- Step 5 Instructions -->