# ageron/handson-ml architecture

> Architecture diagram of the GitHub repository ageron/handson-ml, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ageron/handson-ml
- Repository: https://github.com/ageron/handson-ml

## Overview

This repository is an educational collection of Jupyter notebooks accompanying a first-edition machine-learning book, rather than an application with a single runtime pipeline. The principal workflow is a learner opening notebooks and working through explanations, examples, and exercises. The graph groups the notebook curriculum by subject and includes the project index, supporting data, and the substantial encoder-compatibility module. The README documents the notebook-based learning purpose, but the sampled files do not establish links between individual notebooks and datasets or between chapters; those connections are therefore omitted.

Main entry points: [`index.ipynb`](https://github.com/ageron/handson-ml/blob/master/index.ipynb) (Notebook Index), [`01_the_machine_learning_landscape.ipynb`](https://github.com/ageron/handson-ml/blob/master/01_the_machine_learning_landscape.ipynb) (ML Landscape), [`02_end_to_end_machine_learning_project.ipynb`](https://github.com/ageron/handson-ml/blob/master/02_end_to_end_machine_learning_project.ipynb) (ML Project), [`03_classification.ipynb`](https://github.com/ageron/handson-ml/blob/master/03_classification.ipynb) (Classification)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orientation["Orientation"]
  node_index["Notebook Index<br/>[index.ipynb]"]
  node_landscape["ML Landscape"]
end

subgraph group_classical["Classical ML"]
  node_end_to_end["ML Project"]
  node_classification["Classification"]
  node_linear_models["Linear Models"]
  node_svm["Support Vectors"]
  node_trees["Decision Trees"]
  node_ensembles["Ensembles"]
  node_dimensionality["Dimensionality Reduction"]
end

subgraph group_deep_learning["Deep Learning"]
  node_tensorflow["TensorFlow"]
  node_ann["Neural Networks"]
  node_deep["Deep Learning"]
  node_distributed["Distributed TensorFlow"]
  node_cnn["Convolutional Networks"]
  node_rnn["Recurrent Networks"]
  node_autoencoders["Autoencoders"]
  node_reinforcement["Reinforcement Learning"]
end

subgraph group_learning_resources["Learning Resources"]
  node_data[("Example Datasets")]
  node_encoder_compat["Encoder Compatibility<br/>[future_encoders.py]"]
  node_tools["Data Science Tools<br/>[tools_numpy.ipynb]"]
  node_math["Math Notebooks"]
end

node_learner(("Learner"))

node_learner -->|"browses"| node_index
node_learner -->|"studies"| node_landscape
node_learner -->|"studies"| node_end_to_end
node_learner -->|"studies"| node_classification
node_learner -->|"studies"| node_linear_models
node_learner -->|"studies"| node_svm
node_learner -->|"studies"| node_trees
node_learner -->|"studies"| node_ensembles
node_learner -->|"studies"| node_dimensionality
node_learner -->|"studies"| node_tensorflow
node_learner -->|"studies"| node_ann
node_learner -->|"studies"| node_deep
node_learner -->|"studies"| node_distributed
node_learner -->|"studies"| node_cnn
node_learner -->|"studies"| node_rnn
node_learner -->|"studies"| node_autoencoders
node_learner -->|"studies"| node_reinforcement
node_learner -->|"studies"| node_tools
node_learner -->|"studies"| node_math

click node_index "https://github.com/ageron/handson-ml/blob/master/index.ipynb"
click node_landscape "https://github.com/ageron/handson-ml/blob/master/01_the_machine_learning_landscape.ipynb"
click node_end_to_end "https://github.com/ageron/handson-ml/blob/master/02_end_to_end_machine_learning_project.ipynb"
click node_classification "https://github.com/ageron/handson-ml/blob/master/03_classification.ipynb"
click node_linear_models "https://github.com/ageron/handson-ml/blob/master/04_training_linear_models.ipynb"
click node_svm "https://github.com/ageron/handson-ml/blob/master/05_support_vector_machines.ipynb"
click node_trees "https://github.com/ageron/handson-ml/blob/master/06_decision_trees.ipynb"
click node_ensembles "https://github.com/ageron/handson-ml/blob/master/07_ensemble_learning_and_random_forests.ipynb"
click node_dimensionality "https://github.com/ageron/handson-ml/blob/master/08_dimensionality_reduction.ipynb"
click node_tensorflow "https://github.com/ageron/handson-ml/blob/master/09_up_and_running_with_tensorflow.ipynb"
click node_ann "https://github.com/ageron/handson-ml/blob/master/10_introduction_to_artificial_neural_networks.ipynb"
click node_deep "https://github.com/ageron/handson-ml/blob/master/11_deep_learning.ipynb"
click node_distributed "https://github.com/ageron/handson-ml/blob/master/12_distributed_tensorflow.ipynb"
click node_cnn "https://github.com/ageron/handson-ml/blob/master/13_convolutional_neural_networks.ipynb"
click node_rnn "https://github.com/ageron/handson-ml/blob/master/14_recurrent_neural_networks.ipynb"
click node_autoencoders "https://github.com/ageron/handson-ml/blob/master/15_autoencoders.ipynb"
click node_reinforcement "https://github.com/ageron/handson-ml/blob/master/16_reinforcement_learning.ipynb"
click node_data "https://github.com/ageron/handson-ml/tree/master/datasets"
click node_encoder_compat "https://github.com/ageron/handson-ml/blob/master/future_encoders.py"
click node_tools "https://github.com/ageron/handson-ml/blob/master/tools_numpy.ipynb"
click node_math "https://github.com/ageron/handson-ml/blob/master/math_linear_algebra.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_index,node_landscape toneBlue
class node_end_to_end,node_classification,node_linear_models,node_svm,node_trees,node_ensembles,node_dimensionality toneAmber
class node_tensorflow,node_ann,node_deep,node_distributed,node_cnn,node_rnn,node_autoencoders,node_reinforcement toneMint
class node_data,node_encoder_compat,node_tools,node_math toneRose
class node_learner toneIndigo
```

## Components

### Orientation

- [Notebook Index](https://github.com/ageron/handson-ml/blob/master/index.ipynb): `index.ipynb`
- [ML Landscape](https://github.com/ageron/handson-ml/blob/master/01_the_machine_learning_landscape.ipynb): `01_the_machine_learning_landscape.ipynb`

### Classical ML

- [ML Project](https://github.com/ageron/handson-ml/blob/master/02_end_to_end_machine_learning_project.ipynb): `02_end_to_end_machine_learning_project.ipynb`
- [Classification](https://github.com/ageron/handson-ml/blob/master/03_classification.ipynb): `03_classification.ipynb`
- [Linear Models](https://github.com/ageron/handson-ml/blob/master/04_training_linear_models.ipynb): `04_training_linear_models.ipynb`
- [Support Vectors](https://github.com/ageron/handson-ml/blob/master/05_support_vector_machines.ipynb): `05_support_vector_machines.ipynb`
- [Decision Trees](https://github.com/ageron/handson-ml/blob/master/06_decision_trees.ipynb): `06_decision_trees.ipynb`
- [Ensembles](https://github.com/ageron/handson-ml/blob/master/07_ensemble_learning_and_random_forests.ipynb): `07_ensemble_learning_and_random_forests.ipynb`
- [Dimensionality Reduction](https://github.com/ageron/handson-ml/blob/master/08_dimensionality_reduction.ipynb): `08_dimensionality_reduction.ipynb`

### Deep Learning

- [TensorFlow](https://github.com/ageron/handson-ml/blob/master/09_up_and_running_with_tensorflow.ipynb): `09_up_and_running_with_tensorflow.ipynb`
- [Neural Networks](https://github.com/ageron/handson-ml/blob/master/10_introduction_to_artificial_neural_networks.ipynb): `10_introduction_to_artificial_neural_networks.ipynb`
- [Deep Learning](https://github.com/ageron/handson-ml/blob/master/11_deep_learning.ipynb): `11_deep_learning.ipynb`
- [Distributed TensorFlow](https://github.com/ageron/handson-ml/blob/master/12_distributed_tensorflow.ipynb): `12_distributed_tensorflow.ipynb`
- [Convolutional Networks](https://github.com/ageron/handson-ml/blob/master/13_convolutional_neural_networks.ipynb): `13_convolutional_neural_networks.ipynb`
- [Recurrent Networks](https://github.com/ageron/handson-ml/blob/master/14_recurrent_neural_networks.ipynb): `14_recurrent_neural_networks.ipynb`
- [Autoencoders](https://github.com/ageron/handson-ml/blob/master/15_autoencoders.ipynb): `15_autoencoders.ipynb`
- [Reinforcement Learning](https://github.com/ageron/handson-ml/blob/master/16_reinforcement_learning.ipynb): `16_reinforcement_learning.ipynb`

### Learning Resources

- [Example Datasets](https://github.com/ageron/handson-ml/tree/master/datasets): `datasets`
- [Encoder Compatibility](https://github.com/ageron/handson-ml/blob/master/future_encoders.py): `future_encoders.py`
- [Data Science Tools](https://github.com/ageron/handson-ml/blob/master/tools_numpy.ipynb): `tools_numpy.ipynb`
- [Math Notebooks](https://github.com/ageron/handson-ml/blob/master/math_linear_algebra.ipynb): `math_linear_algebra.ipynb`

### Other components

- **Learner**

## Connections

- Learner → Notebook Index: browses (evidence: `README.md`)
- Learner → ML Landscape: studies (evidence: `README.md`)
- Learner → ML Project: studies (evidence: `README.md`)
- Learner → Classification: studies (evidence: `README.md`)
- Learner → Linear Models: studies (evidence: `README.md`)
- Learner → Support Vectors: studies (evidence: `README.md`)
- Learner → Decision Trees: studies (evidence: `README.md`)
- Learner → Ensembles: studies (evidence: `README.md`)
- Learner → Dimensionality Reduction: studies (evidence: `README.md`)
- Learner → TensorFlow: studies (evidence: `README.md`)
- Learner → Neural Networks: studies (evidence: `README.md`)
- Learner → Deep Learning: studies (evidence: `README.md`)
- Learner → Distributed TensorFlow: studies (evidence: `README.md`)
- Learner → Convolutional Networks: studies (evidence: `README.md`)
- Learner → Recurrent Networks: studies (evidence: `README.md`)
- Learner → Autoencoders: studies (evidence: `README.md`)
- Learner → Reinforcement Learning: studies (evidence: `README.md`)
- Learner → Data Science Tools: studies (evidence: `README.md`)
- Learner → Math Notebooks: studies (evidence: `README.md`)
