# the-mrinal/ml-notebook architecture

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

- Interactive diagram: https://gitdiagram.com/the-mrinal/ml-notebook
- Repository: https://github.com/the-mrinal/ml-notebook

## Overview

ML-Notebook is a hands-on machine-learning curriculum delivered as numbered Jupyter notebook modules. Learners progress from data and visualization foundations through regression, classification, feature engineering, dimensionality reduction, and deep learning, with applied projects across tabular, text, and image data. The README documents module topics and dataset usage, but no notebook source was provided; edges therefore show only documented learning and dataset relationships, not internal calls or execution order.

Main entry points: [`00. data/titanictrain.csv`](https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/titanictrain.csv) (Titanic Data), [`archive.ics.uci.edu/ml/machine-learning-databases/iris`](https://github.com/the-mrinal/ml-notebook/tree/master/archive.ics.uci.edu/ml/machine-learning-databases/iris) (Iris Data), [`11. DesicionTree Implementation/Decision Tree.ipynb`](https://github.com/the-mrinal/ml-notebook/blob/master/11.%20DesicionTree%20Implementation/Decision%20Tree.ipynb) (Decision Trees), [`00. data/boston.csv`](https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/boston.csv) (Boston Data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations"]
  node_numpy["NumPy Arrays<br/>[numpy.ipynb]"]
  node_graphs["Graphs<br/>[Graphs.ipynb]"]
  node_plotting["Plotting"]
  node_titanic_eda["Dataset EDA<br/>[titanic.ipynb]"]
end

subgraph group_regression["Regression"]
  node_linear["Linear Regression"]
  node_multivariable["Multivariable Regression"]
  node_ccpp["Power Plant Regression"]
end

subgraph group_classification["Classification"]
  node_logistic["Logistic Regression"]
  node_metrics["Confusion Metrics"]
  node_trees["Decision Trees"]
  node_naive_bayes["Naive Bayes"]
  node_knn["KNN"]
  node_svm["SVM<br/>[SVM.ipynb]"]
end

subgraph group_engineering["Feature Engineering"]
  node_scaling["Feature Scaling"]
  node_gradient["Gradient Descent"]
  node_pca["PCA<br/>[19. PCA]"]
end

subgraph group_advanced["Advanced Projects"]
  node_text["Text Classification"]
  node_used_cars["Used Car Prediction<br/>[20. UsedCarProject]"]
  node_cifar["CIFAR-10 Classification<br/>[21. cifar10]"]
  node_nlp["NLP Preprocessing<br/>[22.NLP]"]
  node_neural["Neural Networks"]
end

node_learner(("Learner"))
node_titanic_data[("Titanic Data<br/>[titanictrain.csv]")]
node_boston_data[("Boston Data<br/>[boston.csv]")]
node_iris_data[("Iris Data<br/>[iris]")]
node_wine_data[("Wine Data<br/>[wine_data.csv]")]
node_ccpp_data[("CCPP Data<br/>[comcycle.csv]")]
node_newsgroups_data[("20 Newsgroups<br/>[20_newsgroups]")]
node_mnist_data[("MNIST Data")]

node_learner -->|"studies"| node_numpy
node_learner -->|"studies"| node_graphs
node_learner -->|"studies"| node_plotting
node_learner -->|"studies"| node_titanic_eda
node_learner -->|"studies"| node_linear
node_learner -->|"studies"| node_multivariable
node_learner -->|"studies"| node_ccpp
node_learner -->|"studies"| node_logistic
node_learner -->|"studies"| node_metrics
node_learner -->|"studies"| node_trees
node_learner -->|"studies"| node_naive_bayes
node_learner -->|"studies"| node_knn
node_learner -->|"studies"| node_svm
node_learner -->|"studies"| node_scaling
node_learner -->|"studies"| node_gradient
node_learner -->|"studies"| node_pca
node_learner -->|"studies"| node_text
node_learner -->|"studies"| node_used_cars
node_learner -->|"studies"| node_cifar
node_learner -->|"studies"| node_nlp
node_learner -->|"studies"| node_neural
node_titanic_data -->|"used in"| node_titanic_eda
node_titanic_data -->|"used in"| node_logistic
node_titanic_data -->|"used in"| node_trees
node_boston_data -->|"used in"| node_linear
node_boston_data -->|"used in"| node_gradient
node_iris_data -->|"used in"| node_trees
node_iris_data -->|"used in"| node_naive_bayes
node_iris_data -->|"used in"| node_svm
node_wine_data -->|"used in"| node_scaling
node_ccpp_data -->|"used in"| node_ccpp
node_newsgroups_data -->|"used in"| node_text
node_mnist_data -->|"used in"| node_neural

click node_numpy "https://github.com/the-mrinal/ml-notebook/blob/master/02.%20NumpyArrays/numpy.ipynb"
click node_graphs "https://github.com/the-mrinal/ml-notebook/blob/master/03.%20Graphs/Graphs.ipynb"
click node_plotting "https://github.com/the-mrinal/ml-notebook/blob/master/04.%20PlottingGraphs/PlottingGraphs.ipynb"
click node_titanic_eda "https://github.com/the-mrinal/ml-notebook/blob/master/05.%20Into%20to%20Datasets/titanic.ipynb"
click node_linear "https://github.com/the-mrinal/ml-notebook/blob/master/06.%20LinearRegression/LinearRegression.ipynb"
click node_multivariable "https://github.com/the-mrinal/ml-notebook/blob/master/07.%20MultivariableRegression/genericGradientDescentTry2.ipynb"
click node_ccpp "https://github.com/the-mrinal/ml-notebook/blob/master/08.%20CombinedCycle/genericGradientDescentTry2WithFa.ipynb"
click node_logistic "https://github.com/the-mrinal/ml-notebook/blob/master/09.%20Logistic%20Regression/Logistic%20Regression.ipynb"
click node_metrics "https://github.com/the-mrinal/ml-notebook/blob/master/10.%20ConfusionMetrics/Confusion%20Metrics.ipynb"
click node_trees "https://github.com/the-mrinal/ml-notebook/blob/master/11.%20DesicionTree%20Implementation/Decision%20Tree.ipynb"
click node_naive_bayes "https://github.com/the-mrinal/ml-notebook/blob/master/15.%20NaiveBayes/NaiveBayesMine.ipynb"
click node_knn "https://github.com/the-mrinal/ml-notebook/blob/master/16.%20KNN%20Implementation/KNN%20implementation%20self.ipynb"
click node_svm "https://github.com/the-mrinal/ml-notebook/blob/master/18.%20SVM/SVM.ipynb"
click node_scaling "https://github.com/the-mrinal/ml-notebook/blob/master/12.%20featureScaling/FeatureScaling3.ipynb"
click node_gradient "https://github.com/the-mrinal/ml-notebook/blob/master/13.%20GradientDescentProjects/GradientDescent.ipynb"
click node_pca "https://github.com/the-mrinal/ml-notebook/tree/master/19.%20PCA"
click node_text "https://github.com/the-mrinal/ml-notebook/tree/master/17.%20textClassificationProject"
click node_used_cars "https://github.com/the-mrinal/ml-notebook/tree/master/20.%20UsedCarProject"
click node_cifar "https://github.com/the-mrinal/ml-notebook/tree/master/21.%20cifar10"
click node_nlp "https://github.com/the-mrinal/ml-notebook/tree/master/22.NLP"
click node_titanic_data "https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/titanictrain.csv"
click node_boston_data "https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/boston.csv"
click node_iris_data "https://github.com/the-mrinal/ml-notebook/tree/master/archive.ics.uci.edu/ml/machine-learning-databases/iris"
click node_wine_data "https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/wine_data.csv"
click node_ccpp_data "https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/comcycle.csv"
click node_newsgroups_data "https://github.com/the-mrinal/ml-notebook/tree/master/17.%20textClassificationProject/20_newsgroups"

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_numpy,node_graphs,node_plotting,node_titanic_eda toneBlue
class node_linear,node_multivariable,node_ccpp,node_titanic_data,node_boston_data,node_iris_data,node_wine_data,node_ccpp_data,node_newsgroups_data,node_mnist_data toneAmber
class node_logistic,node_metrics,node_trees,node_naive_bayes,node_knn,node_svm toneMint
class node_scaling,node_gradient,node_pca toneRose
class node_text,node_used_cars,node_cifar,node_nlp,node_neural,node_learner toneIndigo
```

## Components

### Foundations

- [NumPy Arrays](https://github.com/the-mrinal/ml-notebook/blob/master/02.%20NumpyArrays/numpy.ipynb): `02. NumpyArrays/numpy.ipynb`
- [Graphs](https://github.com/the-mrinal/ml-notebook/blob/master/03.%20Graphs/Graphs.ipynb): `03. Graphs/Graphs.ipynb`
- [Plotting](https://github.com/the-mrinal/ml-notebook/blob/master/04.%20PlottingGraphs/PlottingGraphs.ipynb): `04. PlottingGraphs/PlottingGraphs.ipynb`
- [Dataset EDA](https://github.com/the-mrinal/ml-notebook/blob/master/05.%20Into%20to%20Datasets/titanic.ipynb): `05. Into to Datasets/titanic.ipynb`

### Regression

- [Linear Regression](https://github.com/the-mrinal/ml-notebook/blob/master/06.%20LinearRegression/LinearRegression.ipynb): `06. LinearRegression/LinearRegression.ipynb`
- [Multivariable Regression](https://github.com/the-mrinal/ml-notebook/blob/master/07.%20MultivariableRegression/genericGradientDescentTry2.ipynb): `07. MultivariableRegression/genericGradientDescentTry2.ipynb`
- [Power Plant Regression](https://github.com/the-mrinal/ml-notebook/blob/master/08.%20CombinedCycle/genericGradientDescentTry2WithFa.ipynb): `08. CombinedCycle/genericGradientDescentTry2WithFa.ipynb`

### Classification

- [Logistic Regression](https://github.com/the-mrinal/ml-notebook/blob/master/09.%20Logistic%20Regression/Logistic%20Regression.ipynb): `09. Logistic Regression/Logistic Regression.ipynb`
- [Confusion Metrics](https://github.com/the-mrinal/ml-notebook/blob/master/10.%20ConfusionMetrics/Confusion%20Metrics.ipynb): `10. ConfusionMetrics/Confusion Metrics.ipynb`
- [Decision Trees](https://github.com/the-mrinal/ml-notebook/blob/master/11.%20DesicionTree%20Implementation/Decision%20Tree.ipynb): `11. DesicionTree Implementation/Decision Tree.ipynb`
- [Naive Bayes](https://github.com/the-mrinal/ml-notebook/blob/master/15.%20NaiveBayes/NaiveBayesMine.ipynb): `15. NaiveBayes/NaiveBayesMine.ipynb`
- [KNN](https://github.com/the-mrinal/ml-notebook/blob/master/16.%20KNN%20Implementation/KNN%20implementation%20self.ipynb): `16. KNN Implementation/KNN implementation self.ipynb`
- [SVM](https://github.com/the-mrinal/ml-notebook/blob/master/18.%20SVM/SVM.ipynb): `18. SVM/SVM.ipynb`

### Feature Engineering

- [Feature Scaling](https://github.com/the-mrinal/ml-notebook/blob/master/12.%20featureScaling/FeatureScaling3.ipynb): `12. featureScaling/FeatureScaling3.ipynb`
- [Gradient Descent](https://github.com/the-mrinal/ml-notebook/blob/master/13.%20GradientDescentProjects/GradientDescent.ipynb): `13. GradientDescentProjects/GradientDescent.ipynb`
- [PCA](https://github.com/the-mrinal/ml-notebook/tree/master/19.%20PCA): `19. PCA`

### Advanced Projects

- [Text Classification](https://github.com/the-mrinal/ml-notebook/tree/master/17.%20textClassificationProject): `17. textClassificationProject`
- [Used Car Prediction](https://github.com/the-mrinal/ml-notebook/tree/master/20.%20UsedCarProject): `20. UsedCarProject`
- [CIFAR-10 Classification](https://github.com/the-mrinal/ml-notebook/tree/master/21.%20cifar10): `21. cifar10`
- [NLP Preprocessing](https://github.com/the-mrinal/ml-notebook/tree/master/22.NLP): `22.NLP`
- **Neural Networks**

### Other components

- **Learner**
- [Titanic Data](https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/titanictrain.csv): `00. data/titanictrain.csv`
- [Boston Data](https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/boston.csv): `00. data/boston.csv`
- [Iris Data](https://github.com/the-mrinal/ml-notebook/tree/master/archive.ics.uci.edu/ml/machine-learning-databases/iris): `archive.ics.uci.edu/ml/machine-learning-databases/iris`
- [Wine Data](https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/wine_data.csv): `00. data/wine_data.csv`
- [CCPP Data](https://github.com/the-mrinal/ml-notebook/blob/master/00.%20data/comcycle.csv): `00. data/comcycle.csv`
- [20 Newsgroups](https://github.com/the-mrinal/ml-notebook/tree/master/17.%20textClassificationProject/20_newsgroups): `17. textClassificationProject/20_newsgroups`
- **MNIST Data**

## Connections

- Learner → NumPy Arrays: studies (evidence: `README.md`)
- Learner → Graphs: studies (evidence: `README.md`)
- Learner → Plotting: studies (evidence: `README.md`)
- Learner → Dataset EDA: studies (evidence: `README.md`)
- Learner → Linear Regression: studies (evidence: `README.md`)
- Learner → Multivariable Regression: studies (evidence: `README.md`)
- Learner → Power Plant Regression: studies (evidence: `README.md`)
- Learner → Logistic Regression: studies (evidence: `README.md`)
- Learner → Confusion Metrics: studies (evidence: `README.md`)
- Learner → Decision Trees: studies (evidence: `README.md`)
- Learner → Naive Bayes: studies (evidence: `README.md`)
- Learner → KNN: studies (evidence: `README.md`)
- Learner → SVM: studies (evidence: `README.md`)
- Learner → Feature Scaling: studies (evidence: `README.md`)
- Learner → Gradient Descent: studies (evidence: `README.md`)
- Learner → PCA: studies (evidence: `README.md`)
- Learner → Text Classification: studies (evidence: `README.md`)
- Learner → Used Car Prediction: studies (evidence: `README.md`)
- Learner → CIFAR-10 Classification: studies (evidence: `README.md`)
- Learner → NLP Preprocessing: studies (evidence: `README.md`)
- Learner → Neural Networks: studies (evidence: `README.md`)
- Titanic Data → Dataset EDA: used in (evidence: `README.md`)
- Titanic Data → Logistic Regression: used in (evidence: `README.md`)
- Titanic Data → Decision Trees: used in (evidence: `README.md`)
- Boston Data → Linear Regression: used in (evidence: `README.md`)
- Boston Data → Gradient Descent: used in (evidence: `README.md`)
- Iris Data → Decision Trees: used in (evidence: `README.md`)
- Iris Data → Naive Bayes: used in (evidence: `README.md`)
- Iris Data → SVM: used in (evidence: `README.md`)
- Wine Data → Feature Scaling: used in (evidence: `README.md`)
- CCPP Data → Power Plant Regression: used in (evidence: `README.md`)
- 20 Newsgroups → Text Classification: used in (evidence: `README.md`)
- MNIST Data → Neural Networks: used in (evidence: `README.md`)
