Skip to content

ricardojamaia/ml-python-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Python Container

This project provides the basis for starting a machine learning project using Remote-Containers in MS Visual Source Code. Several machine learning related packages are installed by default:

  • Numpy: a porwerfull and well known general-purpose array-processing and scientic computing package.
  • Matplotlib: a comprehensive library for creating static, animated, and interactive visualizations in Python.
  • Tensorflow 2: an open source machine learning framework developed by Google Brain.
  • Scikit-learn: an open source machine learning framework.
  • Pytorch: an open source machine learning framework.
  • Pandas: a fast, powerful, flexible and easy to use open source data analysis and manipulation tool.

The base container relies on mcr.microsoft.com/vscode/devcontainers/python

Benefits

Easily start a Python machine learning project without the hassle of configuring a development environment. This containers provides:

  • Application source and test directories and initial files
  • VSC extensions installation (on remote container) and configuration
  • Testing and code coverage framework

You may customize your environment by updating Dockerfile, installed Python packages (requirements.txt) of VSC settings.

If you mess up your environment don't worry. Just rebuild the container.

How to get it running

  1. Install Docker Desktop (download)
  2. Install MS Visual Source Code (download)
  3. Clone ricardojamaia/ml-python-container GitHub repository
    1. View -> Command Pallete ...
    2. Type and select 'Git Clone'
    3. Enter 'https://github.com/ricardojamaia/ml-python-container.git'
    4. VS Code will prompt you to open the repository
  4. Open repository in VS Code
  5. Install 'Remote - Containers' VS Code extension
    1. VS Code will propmt you to install the recommended extensions i.e. Remote - Containers (ms-vscode-remote.remote-containers)
    2. If necessary search it manually on marketplace
    3. Click on install
  6. Reopen in Container
    1. VS Code will detect a .devcontainer folder and prompt you to reopen the folder in container
    2. Reopen folder in container

That's it you should be able to start coding.

Releases

No releases published

Packages

No packages published