Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python source code derived from books about Machine Learning (ML)

NotificationsYou must be signed in to change notification settings

machine-learning-helpers/induction-python

Repository files navigation

This repositoryfeatures a set of various Python Jupyter notebooks, collected from books,blogs, or originally designed and developed by theorganization team.It provides guidance for end-to-end working examples of how to authorPython Jupyter notebooks in just a few minutes.

The source code is properly attributed in the corresponding directories. If you believe some attributionis missing, pleasesubmit a pull requestoran issue.

That project makes use ofJupyter LabandPython virtual environments,which can either be:

  • Installed locally on your laptop/workstation. More details are availablein the corresponding sections of this project:

  • Run from/within Docker. More details are available ontheDocker images for Python Jupyter Lab notebooks project

  • More integration withCookiecutter Data Sciencemay happen in the future. Those guidelines are nevertheless worth the read.As of February 2019, Cookiecutter Data Science works with explicitvirtualenvandrequirements.txt files, whereas we believe that Pyenv andpipenvare now the right choices to manage Python dependencies (aspipenvalso usesvirtualenv, but in a more seamless way for the developer).

See also

Dependencies

That projects makes use ofJupyter LabandPython virtual environments.More details are available in the corresponding sections:

Cookiecutter Data Science

  • A dependency onCookiecutter Data Sciencehas been added topipenv. Starting a new project is now as easy as issuing the following command:
$ mkdir -p~/dev/ml$ pipenv run cookiecutter https://github.com/drivendata/cookiecutter-data-science$ cp .python-version Pipfile<resulting-project-directory-structure>/$ mv<resulting-project-directory-structure>~/dev/ml$pushd~/dev/ml/<resulting-project-directory-structure>$ pipenv install&& pipenv install --dev$ pipenv run python ./test_environment.pyLoading .env environment variables…>>> Development environment passes all tests!$ git init.$ git remote add origin https://<git-server>:/<your-preferred-repo>$ git add .gitignore .python-version LICENSE Makefile Pipfile* README.md docs models notebooks references reports requirements.txt setup.py src test_environment.py tox.ini$ git commit -m"Project creation"$ git push --all$popd

[8]ページ先頭

©2009-2025 Movatter.jp