# minhbuns/machinelearning_endterms architecture

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

- Interactive diagram: https://gitdiagram.com/minhbuns/machinelearning_endterms
- Repository: https://github.com/minhbuns/machinelearning_endterms

## Overview

This repository is an end-term machine-learning project for classifying online-shopping sessions by purchase intent. Its visible runtime support covers dataset inspection and validation, plus reusable binary, discrete, and mixed-feature preprocessing pipelines; the CSV can also be previewed through the preprocessing module’s command-line entry point. The notebook is a central project artifact, but its contents were not provided, so its analysis and modeling stages and its connections to the preprocessing code cannot be verified. The graph therefore limits relationships to those shown by the README or sampled source.

Main entry points: [`dataset/preprocess_data.py`](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py) (Data inspection), [`dataset/online_shoppers_intention.csv`](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/online_shoppers_intention.csv) (Session dataset), [`NoteBook_90_done.ipynb`](https://github.com/minhbuns/machinelearning_endterms/blob/main/NoteBook_90_done.ipynb) (Project notebook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_project["Project workflow"]
  node_notebook["Project notebook"]
  node_csv["Session dataset"]
end

subgraph group_preprocessing["Data preprocessing"]
  node_explore["Data inspection<br/>[preprocess_data.py]"]
  node_validate["Data validation<br/>[preprocess_data.py]"]
  node_binary["Binary features<br/>[preprocess_data.py]"]
  node_discrete["Discrete features<br/>[preprocess_data.py]"]
  node_mixed["Mixed features<br/>[preprocess_data.py]"]
end

node_user(("Project user"))

node_user -.->|"uses project"| node_notebook
node_csv -->|"reads for preview"| node_explore
node_explore -->|"checks data"| node_validate

click node_notebook "https://github.com/minhbuns/machinelearning_endterms/blob/main/NoteBook_90_done.ipynb"
click node_csv "https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/online_shoppers_intention.csv"
click node_explore "https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py"
click node_validate "https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py"
click node_binary "https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py"
click node_discrete "https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py"
click node_mixed "https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py"

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_notebook,node_csv,node_user toneBlue
class node_explore,node_validate,node_binary,node_discrete,node_mixed toneAmber
```

## Components

### Project workflow

- [Project notebook](https://github.com/minhbuns/machinelearning_endterms/blob/main/NoteBook_90_done.ipynb): `NoteBook_90_done.ipynb`
- [Session dataset](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/online_shoppers_intention.csv): `dataset/online_shoppers_intention.csv`

### Data preprocessing

- [Data inspection](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py): `dataset/preprocess_data.py`
- [Data validation](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py): `dataset/preprocess_data.py`
- [Binary features](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py): `dataset/preprocess_data.py`
- [Discrete features](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py): `dataset/preprocess_data.py`
- [Mixed features](https://github.com/minhbuns/machinelearning_endterms/blob/main/dataset/preprocess_data.py): `dataset/preprocess_data.py`

### Other components

- **Project user**

## Connections

- Project user → Project notebook: uses project (evidence: `README.md`)
- Session dataset → Data inspection: reads for preview (evidence: `dataset/preprocess_data.py`)
- Data inspection → Data validation: checks data (evidence: `dataset/preprocess_data.py`)
