-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala notebooks #46
base: master
Are you sure you want to change the base?
Scala notebooks #46
Conversation
99e07f1
to
a9e5e2d
Compare
README.md
Outdated
2. Once launch is succeed, setup the following variable with proper value | ||
|
||
```bash | ||
export HOSTNAME=ec2-107-22-159-132.compute-1.amazonaws.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A user might simply copy/paste what you have here and realize it does not work.
- Instead of a real host name, I'd suggest changing this to export HOSTNAME=
- export PERM=
README.md
Outdated
|
||
Make sure coursier launcher is available in the PATH. | ||
|
||
6. Install [Jupyter-Scala Kernel V0.3.x](https://github.com/alexarchambault/jupyter-scala) according to the instructions given below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change "according to" to "by following"
README.md
Outdated
ssh -i $PERM -L 8888:localhost:8888 ubuntu@HOSTNAME | ||
``` | ||
|
||
Here we forward the EC2 machine's 8888 port into localhost. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to "Here we forward the EC2 machine's 8888 port to local port 8888"
README.md
Outdated
jupyter notebook | ||
``` | ||
|
||
8. Now we are able to view and edit the notebooks on the browser using the URL: http://localhost:8888/tree/mxnet-notebooks/scala/. Choose scala211 kernel if asked. Include mxnet-scala jar created in step-4 in classpath by command `classpath.addPath("jar-path")` in the notebook you want to run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change "on the browser" to "from the browser"
README.md
Outdated
|
||
1. Launch a g2.2xlarge or p2.2xlarge instance by using AMI `ami-fe217de9` on N. Virginia (us-east-1). This AMI is built by using [this script](https://gist.github.com/mli/b64322f446b2043e3350ddcbfa5957be). Remember to open the TCP port 8888 in the security group. | ||
|
||
2. Once launch is succeed, setup the following variable with proper value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Change "Once launch is succeed" to "Once the instance successfully launches"
- Change variable to variables
README.md
Outdated
|
||
Here we forward the EC2 machine's 8888 port into localhost. | ||
|
||
4. Install [Maven](https://gist.github.com/sebsto/19b99f1fa1f32cae5d00). Install [Scala 2.11.8](https://www.scala-lang.org/files/archive/scala-2.11.8.rpm). Go to MXNet source code, compile scala-package by command `make scalapkg`. Compiled jar file will be created in `mxnet/scala-package/assembly/{your-architecture}/target` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change "by command" to "by running command"
Added basic ndarray and mnist tutorials for scala.