Skip to content

Dockerized Jupyter notebook to run commands from the ML Python Cookbook

Notifications You must be signed in to change notification settings

kylegallatin/ml-python-cookbook-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning in Python Cookbook Runner

Dockerized Jupyter notebook for running content from the 2nd Edition of the Machine Learning in Python Cookbook.

Running the Notebook

To create and run notebooks using Python 3.10 with docker, we can build an image and run a container with this working directory mounted as a volume:

DOCKER_BUILDKIT=1 docker build -t ml-python-cookbook-runner .
docker run -it -v $(pwd):/workspace -p 8888:8888 ml-python-cookbook-runner 

Go to http://localhost:8888 to open notebooks and run them (you may need the token that's printed out in the terminal).

TODOs

  • The image is massive with all requirements added, slim it down as much as possible
  • Break out the requirements into individual files or sets of files per chapter to avoid installing everything
  • Pin the dependencies so nothing breaks down the road

About

Dockerized Jupyter notebook to run commands from the ML Python Cookbook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published