handson-ml2
⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 or handson-mlp instead.
File Explorer
Download Latest Version (.zip)- bug_report.md
- clarification-request.md
- feature-or-improvement-request.md
- housing.csv
- housing.tgz
- README.md
- imagenet_class_names.txt
- jsb_chorales.tgz
- README.md
- gdp_per_capita.csv
- oecd_bli_2015.csv
- README.md
- test.csv
- train.csv
- nbclean_checkpoints
- nbdiff_checkpoint
- rm_empty_subdirs
- tensorboard
- .env
- bashrc.bash
- docker-compose.yml
- Dockerfile
- Dockerfile.gpu
- jupyter_notebook_config.py
- Makefile
- README.md
- README
- README
- README
- README
- test_image.png
- README
- README
- README
- california.png
- README
- README
- README
- README
- breakout.gif
- README
- README
- README
- README
- README
- ladybug.png
- README
- .gitignore
- 01_the_machine_learning_landscape.ipynb
- 02_end_to_end_machine_learning_project.ipynb
- 03_classification.ipynb
- 04_training_linear_models.ipynb
- 05_support_vector_machines.ipynb
- 06_decision_trees.ipynb
- 07_ensemble_learning_and_random_forests.ipynb
- 08_dimensionality_reduction.ipynb
- 09_unsupervised_learning.ipynb
- 10_neural_nets_with_keras.ipynb
- 11_training_deep_neural_networks.ipynb
- 12_custom_models_and_training_with_tensorflow.ipynb
- 13_loading_and_preprocessing_data.ipynb
- 14_deep_computer_vision_with_cnns.ipynb
- 15_processing_sequences_using_rnns_and_cnns.ipynb
- 16_nlp_with_rnns_and_attention.ipynb
- 17_autoencoders_and_gans.ipynb
- 18_reinforcement_learning.ipynb
- 19_training_and_deploying_at_scale.ipynb
- apt.txt
- book_equations.pdf
- changes_in_2nd_edition.md
- environment.yml
- extra_autodiff.ipynb
- extra_gradient_descent_comparison.ipynb
- index.ipynb
- INSTALL.md
- LICENSE
- math_differential_calculus.ipynb
- math_linear_algebra.ipynb
- ml-project-checklist.md
- README.md
- requirements.txt
- tools_matplotlib.ipynb
- tools_numpy.ipynb
- tools_pandas.ipynb
# Installation Guide
1. Get the code
git clone https://github.com/ageron/handson-ml2
Downloads the entire project code from GitHub to your computer.
cd handson-ml2
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
$ python -m ipykernel install --user --name=python3
Runs the Python script (or module).
$ jupyter notebook
Type this command into your terminal and run it.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd docker
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
