Code Monkey home page Code Monkey logo

handson-ml2's Introduction

Machine Learning Notebooks

This project aims at teaching you the fundamentals of Machine Learning in python. It contains the example code and solutions to the exercises in the second edition of my O'Reilly book Hands-on Machine Learning with Scikit-Learn, Keras and TensorFlow:

Note: If you are looking for the first edition notebooks, check out ageron/handson-ml.

Quick Start

Want to play with these notebooks without having to install anything?

Use any of the following services.

WARNING: Please be aware that these services provide temporary environments: anything you do will be deleted after a while, so make sure you save anything you care about.

  • Open this repository in Binder:

    • Note: Most of the time, Binder starts up quickly and works great, but when handson-ml2 is updated, Binder creates a new environment from scratch, and this can take quite some time.
  • Or open it in Deepnote:

  • Or open it in Colaboratory:

    • Note: Colab environments only contain the notebooks you open, they do not clone the rest of the project, so you need to do it yourself by running !git clone https://github.com/ageron/handson-ml2 and !mv handson-ml2/* /content to have access to other files in this project (such as datasets and images). Moreover, Colab does not come with the latest libraries, so you need to run !python3 -m pip install -U -r requirements.txt then restart the environment (but do not reset it!). If you open multiple notebooks from this project, you only need to do this once (as long as you do not reset the runtimes).

Just want to quickly look at some notebooks, without executing any code?

Browse this repository using jupyter.org's notebook viewer:

Note: github.com's notebook viewer also works but it is slower and the math equations are not always displayed correctly.

Want to install this project on your own machine?

If you have a working Python 3.5+ environment and git is installed, then an easy way to install this project and its dependencies is using pip. Open a terminal and run the following commands (do not type the $ signs, they just indicate that this is a terminal command):

$ git clone https://github.com/ageron/handson-ml2.git
$ cd handson-ml2
$ python3 -m pip install --user --upgrade pip setuptools
$ # Read `requirements.txt` if you want to use a GPU.
$ python3 -m pip install --user --upgrade -r requirements.txt
$ jupyter notebook

If you need more detailed installation instructions, or you want to use Anaconda, read the detailed installation instructions.

Contributors

I would like to thank everyone who contributed to this project, either by providing useful feedback, filing issues or submitting Pull Requests. Special thanks go to Haesun Park who helped on some of the exercise solutions, and to Steven Bunkley and Ziembla who created the docker directory.

handson-ml2's People

Contributors

abhinav-upadhyay avatar ageron avatar aidancooper avatar akellyirl avatar arodiss avatar brokenairplane avatar cezcz avatar chrisqlasty avatar cp612sh avatar daniel-s-ingram avatar dgwozdz avatar drorata avatar francotheengineer avatar jasrys avatar jirkalhotka avatar kxrr avatar lujunweng avatar lvnilesh avatar mc-robinson avatar nbgraham avatar pkourdis avatar psnilesh avatar rickiepark avatar soma11soma11 avatar stefan-it avatar stevenbunkley avatar vivek-v-rao avatar vladimir-tikhonov avatar ziembla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.