# amitshekhariitbhu/build-your-own-x-machine-learning architecture

> Architecture diagram of the GitHub repository amitshekhariitbhu/build-your-own-x-machine-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amitshekhariitbhu/build-your-own-x-machine-learning
- Repository: https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning

## Overview

This repository is a collection of machine-learning learning materials, not one integrated runtime application. A learner browses the catalog, selects a topic, and studies or runs its standalone tutorial. The README documents core algorithms and several application areas; the tree confirms tutorial directories for core algorithms, computer vision, anomaly detection, and miscellaneous applications. The source excerpts are unavailable, so relationships below reflect only the README’s documented catalog links and do not imply calls between tutorials.

Main entry points: [`README.md`](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/README.md) (Tutorial catalog), [`tutorials/core-machine-learning-algorithms`](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/core-machine-learning-algorithms) (Algorithm tutorials), [`tutorials/core-machine-learning-algorithms/linear-regression/linear_regression.py`](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/linear-regression/linear_regression.py) (Linear regression), [`tutorials/core-machine-learning-algorithms/logistic-regression/logistic_regression.py`](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/logistic-regression/logistic_regression.py) (Logistic regression)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Learning catalog"]
  node_index["Tutorial catalog<br/>[README.md]"]
end

subgraph group_core["Core algorithms"]
  node_core_set["Algorithm tutorials"]
  node_linear["Linear regression"]
  node_logistic["Logistic regression"]
  node_knn["K-nearest neighbors<br/>[knn.py]"]
  node_naive["Naive Bayes<br/>[naive_bayes.py]"]
  node_tree["Decision tree<br/>[decision_tree.py]"]
  node_forest["Random forest<br/>[random_forest.py]"]
  node_svm["Support vector machines<br/>[svm.py]"]
  node_kmeans["K-means<br/>[kmeans.py]"]
  node_pca["Principal component analysis<br/>[pca.py]"]
end

subgraph group_applications["Applications"]
  node_vision["Computer vision tutorials"]
  node_anomaly["Anomaly tutorials"]
  node_misc["Miscellaneous tutorials"]
end

node_learner(("Learner"))

node_learner -->|"browses"| node_index
node_index -->|"lists topics"| node_core_set
node_index -->|"links tutorial"| node_linear
node_index -->|"links tutorial"| node_logistic
node_index -->|"links tutorial"| node_knn
node_index -->|"links tutorial"| node_naive
node_index -->|"links tutorial"| node_tree
node_index -->|"links tutorial"| node_forest
node_index -->|"links tutorial"| node_svm
node_index -->|"links tutorial"| node_kmeans
node_index -->|"links tutorial"| node_pca
node_index -->|"lists topic"| node_vision
node_index -->|"lists topic"| node_anomaly
node_index -->|"lists topic"| node_misc

click node_index "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/README.md"
click node_core_set "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/core-machine-learning-algorithms"
click node_linear "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/linear-regression/linear_regression.py"
click node_logistic "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/logistic-regression/logistic_regression.py"
click node_knn "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/knn/knn.py"
click node_naive "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/naive-bayes/naive_bayes.py"
click node_tree "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/decision-tree/decision_tree.py"
click node_forest "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/random-forest/random_forest.py"
click node_svm "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/svm/svm.py"
click node_kmeans "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/kmeans/kmeans.py"
click node_pca "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/pca/pca.py"
click node_vision "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/computer-vision-applications"
click node_anomaly "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/anomaly-detection"
click node_misc "https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/miscellaneous-applications"

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 toneBlue
class node_core_set,node_linear,node_logistic,node_knn,node_naive,node_tree,node_forest,node_svm,node_kmeans,node_pca toneAmber
class node_vision,node_anomaly,node_misc toneMint
class node_learner toneIndigo
```

## Components

### Learning catalog

- [Tutorial catalog](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/README.md): `README.md`

### Core algorithms

- [Algorithm tutorials](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/core-machine-learning-algorithms): `tutorials/core-machine-learning-algorithms`
- [Linear regression](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/linear-regression/linear_regression.py): `tutorials/core-machine-learning-algorithms/linear-regression/linear_regression.py`
- [Logistic regression](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/logistic-regression/logistic_regression.py): `tutorials/core-machine-learning-algorithms/logistic-regression/logistic_regression.py`
- [K-nearest neighbors](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/knn/knn.py): `tutorials/core-machine-learning-algorithms/knn/knn.py`
- [Naive Bayes](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/naive-bayes/naive_bayes.py): `tutorials/core-machine-learning-algorithms/naive-bayes/naive_bayes.py`
- [Decision tree](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/decision-tree/decision_tree.py): `tutorials/core-machine-learning-algorithms/decision-tree/decision_tree.py`
- [Random forest](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/random-forest/random_forest.py): `tutorials/core-machine-learning-algorithms/random-forest/random_forest.py`
- [Support vector machines](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/svm/svm.py): `tutorials/core-machine-learning-algorithms/svm/svm.py`
- [K-means](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/kmeans/kmeans.py): `tutorials/core-machine-learning-algorithms/kmeans/kmeans.py`
- [Principal component analysis](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/blob/main/tutorials/core-machine-learning-algorithms/pca/pca.py): `tutorials/core-machine-learning-algorithms/pca/pca.py`

### Applications

- [Computer vision tutorials](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/computer-vision-applications): `tutorials/computer-vision-applications`
- [Anomaly tutorials](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/anomaly-detection): `tutorials/anomaly-detection`
- [Miscellaneous tutorials](https://github.com/amitshekhariitbhu/build-your-own-x-machine-learning/tree/main/tutorials/miscellaneous-applications): `tutorials/miscellaneous-applications`

### Other components

- **Learner**

## Connections

- Learner → Tutorial catalog: browses (evidence: `README.md`)
- Tutorial catalog → Algorithm tutorials: lists topics (evidence: `README.md`)
- Tutorial catalog → Linear regression: links tutorial (evidence: `README.md`)
- Tutorial catalog → Logistic regression: links tutorial (evidence: `README.md`)
- Tutorial catalog → K-nearest neighbors: links tutorial (evidence: `README.md`)
- Tutorial catalog → Naive Bayes: links tutorial (evidence: `README.md`)
- Tutorial catalog → Decision tree: links tutorial (evidence: `README.md`)
- Tutorial catalog → Random forest: links tutorial (evidence: `README.md`)
- Tutorial catalog → Support vector machines: links tutorial (evidence: `README.md`)
- Tutorial catalog → K-means: links tutorial (evidence: `README.md`)
- Tutorial catalog → Principal component analysis: links tutorial (evidence: `README.md`)
- Tutorial catalog → Computer vision tutorials: lists topic (evidence: `README.md`)
- Tutorial catalog → Anomaly tutorials: lists topic (evidence: `README.md`)
- Tutorial catalog → Miscellaneous tutorials: lists topic (evidence: `README.md`)
