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/06/30 19:36:40 UTC
systemml git commit: [MINOR] Fix typo in ALS notebook
Repository: systemml
Updated Branches:
refs/heads/master cbde17bab -> 428839952
[MINOR] Fix typo in ALS notebook
Closes #558.
Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/42883995
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/42883995
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/42883995
Branch: refs/heads/master
Commit: 42883995285981d420db6f8baa4133e4e1efbde1
Parents: cbde17b
Author: Gus Jenkins <je...@gmail.com>
Authored: Fri Jun 30 12:34:59 2017 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Fri Jun 30 12:34:59 2017 -0700
----------------------------------------------------------------------
samples/jupyter-notebooks/ALS_python_demo.ipynb | 37 ++++++--------------
1 file changed, 10 insertions(+), 27 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/systemml/blob/42883995/samples/jupyter-notebooks/ALS_python_demo.ipynb
----------------------------------------------------------------------
diff --git a/samples/jupyter-notebooks/ALS_python_demo.ipynb b/samples/jupyter-notebooks/ALS_python_demo.ipynb
index 4e1cb7e..d7e63d0 100644
--- a/samples/jupyter-notebooks/ALS_python_demo.ipynb
+++ b/samples/jupyter-notebooks/ALS_python_demo.ipynb
@@ -78,9 +78,7 @@
{
"cell_type": "code",
"execution_count": 1,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": [
"from pyspark.sql import SparkSession\n",
@@ -111,7 +109,6 @@
"cell_type": "code",
"execution_count": 3,
"metadata": {
- "collapsed": false,
"scrolled": true
},
"outputs": [
@@ -147,9 +144,7 @@
{
"cell_type": "code",
"execution_count": 4,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [
{
"name": "stdout",
@@ -184,9 +179,7 @@
{
"cell_type": "code",
"execution_count": 5,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": [
"#-----------------------------------------------------------------\n",
@@ -310,15 +303,13 @@
"source": [
"### Running the Algorithm\n",
"\n",
- "We'll first create an MLContext object which the entry point for SystemML. Inputs and outputs are defined through a dml function."
+ "We'll first create an MLContext object which is the entry point for SystemML. Inputs and outputs are defined through a dml function."
]
},
{
"cell_type": "code",
"execution_count": 6,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": [
"ml = MLContext(sc)\n",
@@ -338,7 +329,6 @@
"cell_type": "code",
"execution_count": 7,
"metadata": {
- "collapsed": false,
"scrolled": true
},
"outputs": [
@@ -377,9 +367,7 @@
{
"cell_type": "code",
"execution_count": 8,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": [
"predict_dml = \\\n",
@@ -454,9 +442,7 @@
{
"cell_type": "code",
"execution_count": 9,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": [
"# user for which we want to recommend movies\n",
@@ -550,9 +536,7 @@
{
"cell_type": "code",
"execution_count": 13,
- "metadata": {
- "collapsed": false
- },
+ "metadata": {},
"outputs": [],
"source": [
"def show_recommendations(userId, preds):\n",
@@ -569,7 +553,6 @@
"cell_type": "code",
"execution_count": 17,
"metadata": {
- "collapsed": false,
"scrolled": true
},
"outputs": [
@@ -678,7 +661,7 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
- "display_name": "Python [default]",
+ "display_name": "Python 3",
"language": "python",
"name": "python3"
},
@@ -692,7 +675,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.5.2"
+ "version": "3.6.1"
}
},
"nbformat": 4,