- Source code - [Github][10]
- Author - Gavin Noronha - gavinln@hotmail.com
This project provides a Ubuntu (16.04) Vagrant Virtual Machine (VM) with numerical and scientific libraries for Python. It includes the following libraries. It also contains Jupyter (formerly known as IPython) notebooks.
There are Ansible scripts that automatically install the software when the VM is started.
-
To start the virtual machine(VM) type
vagrant up
-
Connect to the VM
vagrant ssh
-
Install Jupyter notebook extensions (run only once)
jupyter contrib nbextension install --user
-
Install vim extension (optional)
cd $(jupyter --data-dir)/nbextensions git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding
-
Start the notebook
/vagrant/vm/jupyter_notebook.sh
-
Open the notebook in the browser at the URL.
http://localhost:8888/
Robert Johansson has multiple notebooks organized as a series of lectures.
-
Change to the notebooks directory
cd /vagrant/notebooks
-
Get the notebooks
git clone https://github.com/jrjohansson/scientific-python-lectures
-
Change to the notebooks directory
cd /vagrant/notebooks/titanic
-
Get the notebooks
curl -O https://gist.githubusercontent.com/mwaskom/8224591/raw/41ef1127b03c62798890d8a362d3c4dd7e2a5ac8/titanic_seaborn.ipynb
-
Install Slideshow
sudo pip install RISE sudo jupyter-nbextension install rise --py --sys-prefix sudo jupyter-nbextension enable rise --py --sys-prefix
-
Titanic prediction
http://ahmedbesbes.com/how-to-score-08134-in-titanic-kaggle-challenge.html https://blog.socialcops.com/engineering/machine-learning-python/
-
Titanic data description
https://www.kaggle.com/c/titanic/data
To get the Scikit learn notebooks from PyCon 2015. The video for this conference is on Youtube
-
Change to the notebooks directory
cd /vagrant/notebooks
-
Get the notebooks into the directory pycon2015
svn export http://github.com/jakevdp/sklearn_pycon2015/trunk/notebooks pycon2015
-
In your Jupyter notebook list at http://localhost:8888/ the notebooks will be in the pycon2015 directory.
https://github.com/amueller/scipy_2015_sklearn_tutorial/tree/master/notebooks https://github.com/ogrisel/parallel_ml_tutorial
-
Change to the notebooks directory
cd /vagrant/notebooks
-
Get the notebooks
git clone https://github.com/bokeh/bokeh-notebooks
-
Change to the notebooks directory
cd /vagrant/notebooks
-
Get the notebooks
git clone https://github.com/bloomberg/bqplot.git
-
Change to the notebooks directory
cd /vagrant/notebooks
-
Get the notebooks
git clone https://github.com/ioam/scipy-2017-holoviews-tutorial.git
-
Get the data
curl http://s3.amazonaws.com/datashader-data/nyc_taxi.zip
The following software is needed to get the software from github and run Vagrant to set up the Python development environment. The Git environment also provides an SSH client for Windows.