# palurujaswanth/gnss-los-nlos-classification-model architecture

> Architecture diagram of the GitHub repository palurujaswanth/gnss-los-nlos-classification-model, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/palurujaswanth/gnss-los-nlos-classification-model
- Repository: https://github.com/palurujaswanth/gnss-los-nlos-classification-model

## Overview

This repository documents a GNSS signal-classification workflow: LOS/NLOS signal data is prepared, selected features feed an XGBoost classifier, and the results are evaluated and exported. The README also describes confusion-matrix visualization and K-fold validation. The tree contains a notebook and an output CSV, but no source excerpts were provided, so notebook stages and their links reflect documented workflow rather than inspected implementation details.

Main entry points: [`main.ipynb`](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb) (Model evaluation), [`Output.csv`](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/Output.csv) (Results CSV)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_preparation["Data Preparation"]
  node_signal_data[("LOS/NLOS data")]
  node_preprocessing["Preprocessing<br/>[main.ipynb]"]
  node_feature_selection["Feature selection<br/>[main.ipynb]"]
end

subgraph group_classification["Modeling"]
  node_xgboost["XGBoost training<br/>[main.ipynb]"]
end

subgraph group_evaluation["Evaluation and Results"]
  node_evaluation["Model evaluation<br/>[main.ipynb]"]
  node_cross_validation["K-fold validation<br/>[main.ipynb]"]
  node_confusion_matrix["Confusion matrix<br/>[main.ipynb]"]
  node_output_csv["Results CSV<br/>[Output.csv]"]
end

node_user(("Project user"))

node_user -->|"provides data"| node_signal_data
node_signal_data -->|"feeds"| node_preprocessing
node_preprocessing -->|"prepares features"| node_feature_selection
node_feature_selection -->|"trains on"| node_xgboost
node_xgboost -->|"evaluated by"| node_evaluation
node_evaluation -->|"checked with"| node_cross_validation
node_evaluation -->|"visualized as"| node_confusion_matrix
node_evaluation -->|"exports results"| node_output_csv
node_confusion_matrix -->|"saved to"| node_output_csv

click node_preprocessing "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb"
click node_feature_selection "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb"
click node_xgboost "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb"
click node_evaluation "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb"
click node_cross_validation "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb"
click node_confusion_matrix "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb"
click node_output_csv "https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/Output.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_signal_data,node_preprocessing,node_feature_selection,node_user toneBlue
class node_xgboost toneAmber
class node_evaluation,node_cross_validation,node_confusion_matrix,node_output_csv toneMint
```

## Components

### Data Preparation

- **LOS/NLOS data**
- [Preprocessing](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb): `main.ipynb`
- [Feature selection](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb): `main.ipynb`

### Modeling

- [XGBoost training](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb): `main.ipynb`

### Evaluation and Results

- [Model evaluation](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb): `main.ipynb`
- [K-fold validation](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb): `main.ipynb`
- [Confusion matrix](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/main.ipynb): `main.ipynb`
- [Results CSV](https://github.com/palurujaswanth/gnss-los-nlos-classification-model/blob/main/Output.csv): `Output.csv`

### Other components

- **Project user**

## Connections

- Project user → LOS/NLOS data: provides data (evidence: `README.md`)
- LOS/NLOS data → Preprocessing: feeds (evidence: `README.md`)
- Preprocessing → Feature selection: prepares features (evidence: `README.md`)
- Feature selection → XGBoost training: trains on (evidence: `README.md`)
- XGBoost training → Model evaluation: evaluated by (evidence: `README.md`)
- Model evaluation → K-fold validation: checked with (evidence: `README.md`)
- Model evaluation → Confusion matrix: visualized as (evidence: `README.md`)
- Model evaluation → Results CSV: exports results (evidence: `README.md`)
- Confusion matrix → Results CSV: saved to (evidence: `README.md`)
