This is a repository of machine learning book codes in Python. This codes are based on the book "機械学習教本" written by 柴原一友.
- Docker (latest)
This is a one-time process. You only need to do this once. You do not need to build the image every time you changed Python codes, because you will append the directory which includes python files when you run the container like -v "./:/app"
.
docker build -t ml-book ./
This is how you run the code. Please replace $PYTHON_FILE_NAME
with the name of the Python file you want to run such as test.py
. Use test.py
as a sample.
docker run --rm -v "./:/app" ml-book $PYTHON_FILE_NAME