Created
September 15, 2016 14:48
-
-
Save Lull3rSkat3r/562201566fb17eb6f102fa6e2092f926 to your computer and use it in GitHub Desktop.
How To Load SysteML in Toree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"name": "stdout", | |
"output_type": "stream", | |
"text": [ | |
"Marking org.apache.systemml:systemml:0.10.0-incubating for download\n", | |
"Preparing to fetch from:\n", | |
"-> file:/tmp/toree_add_deps7761668942289350242/\n", | |
"-> https://repo1.maven.org/maven2\n", | |
"-> New file at /tmp/toree_add_deps7761668942289350242/https/repo1.maven.org/maven2/org/apache/systemml/systemml/0.10.0-incubating/systemml-0.10.0-incubating.jar\n" | |
] | |
} | |
], | |
"source": [ | |
"%adddeps org.apache.systemml systemml 0.10.0-incubating" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 10, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ | |
"import org.apache.sysml.api._" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 11, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"val ml = new MLContext(sc)" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Apache Toree - Scala", | |
"language": "scala", | |
"name": "apache_toree_scala" | |
}, | |
"language_info": { | |
"name": "scala" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment