# krishnaharesh/machine-learning-and-deep-learning-projects architecture

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

- Interactive diagram: https://gitdiagram.com/krishnaharesh/machine-learning-and-deep-learning-projects
- Repository: https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects

## Overview

This repository contains a Tkinter autism-detection application and a separate diabetes-detection notebook. The ASD app lets users load and preprocess data, train several models, inspect evaluation plots, and run ConvTransNet predictions on test data. The diabetes notebook and its CSV are visible in the tree, but their implementation and relationship are not shown in the supplied excerpts, so they are represented without inferred connections.

Main entry points: [`Analysis and Detection of Autism Spectrum Disorder/main.py`](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py) (Tkinter App)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_asd["Autism Detection"]
  node_gui["Tkinter App<br/>[main.py]"]
  node_upload["Dataset Upload<br/>[main.py]"]
  node_preprocess["Preprocessing<br/>[main.py]"]
  node_knn["KNN Model<br/>[main.py]"]
  node_ann["ANN Model<br/>[main.py]"]
  node_proposed["Proposed Model<br/>[main.py]"]
  node_convtrans["ConvTransNet<br/>[main.py]"]
  node_evaluation["Metrics Evaluation<br/>[main.py]"]
  node_plots["Performance Plots<br/>[main.py]"]
  node_detection["Test Detection<br/>[main.py]"]
end

subgraph group_diabetes["Diabetes Analysis"]
  node_diabetes_notebook["Diabetes Analysis"]
end

subgraph group_data["Datasets"]
  node_adultdata["Adult ASD Data"]
  node_testdata["ASD Test Data<br/>[testData.csv]"]
  node_diabetes_data["Diabetes Data<br/>[diabetes.csv]"]
end

node_user(("User"))

node_user -->|"uses"| node_gui
node_gui -->|"registers callback"| node_upload
node_gui -->|"registers callback"| node_preprocess
node_gui -->|"registers callback"| node_knn
node_gui -->|"registers callback"| node_ann
node_gui -->|"registers callback"| node_proposed
node_gui -->|"registers callback"| node_convtrans
node_gui -->|"registers callback"| node_detection
node_upload -->|"plots distribution"| node_evaluation
node_knn -->|"evaluates predictions"| node_evaluation
node_ann -->|"evaluates predictions"| node_evaluation
node_proposed -->|"evaluates predictions"| node_evaluation
node_convtrans -->|"evaluates predictions"| node_evaluation
node_evaluation -->|"plots confusion matrix"| node_plots
node_convtrans -->|"provides classifier"| node_detection

click node_gui "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_upload "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_preprocess "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_knn "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_ann "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_proposed "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_convtrans "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_evaluation "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_plots "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_detection "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py"
click node_adultdata "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/Datasets/Autism-Adult-Data.csv"
click node_testdata "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/Datasets/testData.csv"
click node_diabetes_notebook "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Diabetes%20Detection%20System/diabetics_detection.ipynb"
click node_diabetes_data "https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Diabetes%20Detection%20System/diabetes.csv"

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_gui,node_upload,node_preprocess,node_knn,node_ann,node_proposed,node_convtrans,node_evaluation,node_plots,node_detection,node_user toneBlue
class node_diabetes_notebook toneAmber
class node_adultdata,node_testdata,node_diabetes_data toneMint
```

## Components

### Autism Detection

- [Tkinter App](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [Dataset Upload](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [Preprocessing](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [KNN Model](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [ANN Model](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [Proposed Model](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [ConvTransNet](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [Metrics Evaluation](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [Performance Plots](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`
- [Test Detection](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/main.py): `Analysis and Detection of Autism Spectrum Disorder/main.py`

### Diabetes Analysis

- [Diabetes Analysis](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Diabetes%20Detection%20System/diabetics_detection.ipynb): `Diabetes Detection System/diabetics_detection.ipynb`

### Datasets

- [Adult ASD Data](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/Datasets/Autism-Adult-Data.csv): `Analysis and Detection of Autism Spectrum Disorder/Datasets/Autism-Adult-Data.csv`
- [ASD Test Data](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Analysis%20and%20Detection%20of%20Autism%20Spectrum%20Disorder/Datasets/testData.csv): `Analysis and Detection of Autism Spectrum Disorder/Datasets/testData.csv`
- [Diabetes Data](https://github.com/krishnaharesh/machine-learning-and-deep-learning-projects/blob/main/Diabetes%20Detection%20System/diabetes.csv): `Diabetes Detection System/diabetes.csv`

### Other components

- **User**

## Connections

- User → Tkinter App: uses (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → Dataset Upload: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → Preprocessing: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → KNN Model: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → ANN Model: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → Proposed Model: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → ConvTransNet: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Tkinter App → Test Detection: registers callback (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Dataset Upload → Metrics Evaluation: plots distribution (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- KNN Model → Metrics Evaluation: evaluates predictions (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- ANN Model → Metrics Evaluation: evaluates predictions (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Proposed Model → Metrics Evaluation: evaluates predictions (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- ConvTransNet → Metrics Evaluation: evaluates predictions (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- Metrics Evaluation → Performance Plots: plots confusion matrix (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
- ConvTransNet → Test Detection: provides classifier (evidence: `Analysis and Detection of Autism Spectrum Disorder/main.py`)
