# tejas-machinelearning/codveda_ml_internship- architecture

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

- Interactive diagram: https://gitdiagram.com/tejas-machinelearning/codveda_ml_internship-
- Repository: https://github.com/tejas-machinelearning/codveda_ml_internship-

## Overview

##### Project type and purpose
- This is not a full-stack or microservices application, but a set of three Jupyter-Notebook–based machine-learning tasks.
- Purpose: demonstrate end-to-end ML workflows (data preprocessing, regression, classification) on standard datasets (Titanic, California Housing, Iris).

##### File structure
- Top-level:
- README.md – project overview
- Task1_Data_Preprocessing.ipynb
- Task2_LinearRegression.ipynb
- Task3_KNN_Classifier.ipynb
- No subdirectories; each notebook encapsulates one ML pipeline.

##### README for additional insights
- It lists dataset names, goals, and evaluation metrics.

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Project Overview" 
        README["README.md"]:::doc
    end

    subgraph "Jupyter Notebook Environment (Python 3.x, pandas, scikit-learn, matplotlib)" 
        style Jupyter_env fill:#ffeecc,stroke:#ff9900,stroke-width:2px
        Jupyter_env(( )):::env

        %% Task 1 Pipeline
        Task1_nb["Task1 Notebook"]:::doc
        Data1["Titanic.csv"]:::data
        Pre1["Data Preprocessing"]:::module
        Train1["Model Training (Regression)"]:::module
        Eval1["Evaluation (R², MSE)"]:::module
        Res1["Results"]:::module

        %% Task 2 Pipeline
        Task2_nb["Task2 Notebook"]:::doc
        Data2["CaliforniaHousing.csv"]:::data
        Pre2["Data Preprocessing"]:::module
        Train2["Model Training (Linear Regression)"]:::module
        Eval2["Evaluation (R², MSE)"]:::module
        Res2["Results"]:::module

        %% Task 3 Pipeline
        Task3_nb["Task3 Notebook"]:::doc
        Data3["Iris.csv"]:::data
        Pre3["Data Preprocessing"]:::module
        Train3["Model Training (KNN Classifier)"]:::module
        Eval3["Evaluation (Accuracy)"]:::module
        Res3["Results"]:::module

        %% Connections Task 1
        Task1_nb --> Data1
        Data1 --> Pre1 --> Train1 --> Eval1 --> Res1

        %% Connections Task 2
        Task2_nb --> Data2
        Data2 --> Pre2 --> Train2 --> Eval2 --> Res2

        %% Connections Task 3
        Task3_nb --> Data3
        Data3 --> Pre3 --> Train3 --> Eval3 --> Res3
    end

    %% Legend
    subgraph "Legend"
        D1["Cylinder = Data Source"]:::data
        M1["Blue Box = Module"]:::module
        E1["Orange Boundary = Environment"]:::env
        DOC["Grey Box = Documentation / Notebook"]:::doc
    end

    %% Click Events
    click README "https://github.com/tejas-machinelearning/codveda_ml_internship-/blob/main/README.md"
    click Task1_nb "https://github.com/tejas-machinelearning/codveda_ml_internship-/blob/main/Task1_Data_Preprocessing.ipynb"
    click Task2_nb "https://github.com/tejas-machinelearning/codveda_ml_internship-/blob/main/Task2_LinearRegression.ipynb"
    click Task3_nb "https://github.com/tejas-machinelearning/codveda_ml_internship-/blob/main/Task3_KNN_Classifier.ipynb"

    %% Class Definitions
    classDef data fill:#aaffaa,stroke:#333,stroke-width:1px;
    classDef module fill:#aaaaff,stroke:#333,stroke-width:1px;
    classDef env fill:#ffeecc,stroke:#ff9900,stroke-width:2px;
    classDef doc fill:#dddddd,stroke:#333,stroke-width:1px;
```
