# iamtarunshyam/ml101 architecture

> Architecture diagram of the GitHub repository iamtarunshyam/ml101, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iamtarunshyam/ml101
- Repository: https://github.com/iamtarunshyam/ml101

## Overview

##### Project type and purpose
- This “ML101” repo is an educational machine-learning pipeline, composed of two major stages: Data Preprocessing and Regression modeling. It’s not a full-stack web app or microservice system but a sequence of Jupyter notebooks that illustrate how to load CSV data, clean it, and train simple linear and multiple linear regression models.

##### File structure
- Top-level directories:
- DataPreprocessing/ – holds raw data (Data.csv) and a preprocessing notebook (DataProcessing.ipynb)
- Regression/ – holds sample datasets (50_Startups.csv, Salary_Data.csv) and notebooks for single and multiple linear regression
- There are no build scripts or deployment configs; everything runs interactively in Jupyter.

##### Extract insights from the README
- The README simply titles the project “ML101.” It implies a tutorial flow: start with data preprocessing, then move into regression analysis.

##### Detailed advice
- The goal is clarity: someone unfamiliar should see raw data in, cleaned data next, model training, and outputs last.

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "Jupyter Notebook Environment"
        direction TB
        Raw1["Data.csv"]:::data
        Raw2["50_Startups.csv"]:::data
        Raw3["Salary_Data.csv"]:::data
        Preprocessor["Data Preprocessing Notebook"]:::processing
        Cleaned["Cleaned DataFrame"]:::data
        Regression1["Single Linear Regression Notebook"]:::processing
        Regression2["Multiple Linear Regression Notebook"]:::processing
        Model["Model Artifacts"]:::output
        Plots["Plots & Metrics"]:::output

        Raw1 -->|"raw CSV"| Preprocessor
        Raw2 -->|"raw CSV"| Preprocessor
        Raw3 -->|"raw CSV"| Preprocessor
        Preprocessor -->|"clean DataFrame"| Cleaned
        Cleaned -->|"train data"| Regression1
        Cleaned -->|"train data"| Regression2
        Regression1 -->|"model artifacts"| Model
        Regression2 -->|"model artifacts"| Model
        Model -->|"generate plots"| Plots
    end

    README["README.md"]:::data
    README -->|"guided flow"| Preprocessor

    click Raw1 "https://github.com/iamtarunshyam/ml101/blob/main/DataPreprocessing/Data.csv"
    click Raw2 "https://github.com/iamtarunshyam/ml101/blob/main/Regression/50_Startups.csv"
    click Raw3 "https://github.com/iamtarunshyam/ml101/blob/main/Regression/Salary_Data.csv"
    click Preprocessor "https://github.com/iamtarunshyam/ml101/blob/main/DataPreprocessing/DataProcessing.ipynb"
    click Regression1 "https://github.com/iamtarunshyam/ml101/blob/main/Regression/Linear_Regression.ipynb"
    click Regression2 "https://github.com/iamtarunshyam/ml101/blob/main/Regression/Mulitple_Linear_Regression.ipynb"
    click README "https://github.com/iamtarunshyam/ml101/blob/main/README.md"

    classDef data fill:#cce5ff,stroke:#333,stroke-width:1px
    classDef processing fill:#d4edda,stroke:#333,stroke-width:1px
    classDef output fill:#ffe5b4,stroke:#333,stroke-width:1px
```
