Dockerfile for machine learning environment(scikit-learn, chainer, gensim, tensorflow, jupyter)
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bash_profile
Dockerfile
README.md
jupyter_notebook_config.py
requirements.txt

README.md

Purpose

This docker setting is for tring to touch and test some machine learning.

Installed softwares

  • Tensorflow 0.12.0
  • Chainer 1.19.0
  • Scikit-learn 0.18.1
  • Gensim 0.13.4
  • Word2vec 0.9.1
  • Numpy 1.11.3
  • Pandas 0.19.2
  • Jupyter 4.2.1
  • Matplotlib 1.5.3
  • Mecab latest
  • Juman++ 7.01

and other dependent libraries.

Password

Please update passwords(default is "ml" for following).

  • ml user password
  • ipyton password(jupyter_notebook_config.py)

How to run docker image

# Build image
# This image requires more than 13 GB disk space
docker build -t zuqqhi2/ml-python-sandbox .

# Run jupyter notebook
docker run -it -p 8888:8888 zuqqhi2/ml-python-sandbox

# Login container
docker run -it -p 8888:8888 zuqqhi2/ml-python-sandbox /bin/bash
source ~/.bash_profile
mlact

# Set japanese locale
export LANG=ja_JP.UTF-8
export LC_ALL=ja_JP.UTF-8
export LC_CTYPE=ja_JP.UTF-8

TODO

  • Add "hmmlearn" to requirements.txt(just adding makes error now)

References