How ercecchi-jpg/dsci-521-group-project works
This project turns historical U.S. accident data into an XGBoost severity classifier, then predicts severity for a user-selected airport using current METAR weather. The documented workflow covers cleaning, exploration, training, prediction, and GUI demonstration; the standalone GUI loads local model artifacts and location data, fetches METAR, prepares model features, and displays severity probabilities and weather. Notebook internals are not sampled, so their workflow links rely on the README; the GUI’s detailed call sequence is only partially visible.
Main entry points: gui.py Tkinter application · processed Processed accidents · model_artifacts Model artifacts · 01_data_cleaning.ipynb Data cleaning
Components 15
Data preparation
- Accident dataset
data/raw - Data cleaning
notebooks/01_data_cleaning.ipynb - Processed accidents
data/processed - Exploratory analysis
notebooks/02_eda.ipynb
Model development
- XGBoost training
notebooks/03_model_training.ipynb - Model artifacts
model_artifacts - Notebook prediction
notebooks/04_prediction.ipynb - GUI demonstration
notebooks/05_gui_prediction.ipynb
Prediction application
- Tkinter application
app/gui.py - Location lookup data
data/processed - METAR feature preparation
app/gui.py - Severity classifier
app/gui.py - Severity and weather results
app/gui.py
Other components
- User
- Aviation Weather API
Connections 14
- Accident dataset → Data cleaning: provides data
README.md - Data cleaning → Processed accidents: generates dataset
README.md - Processed accidents → Exploratory analysis: explored in
README.md - Processed accidents → XGBoost training: trains on
README.md - XGBoost training → Model artifacts: exports model
README.md - Model artifacts → Notebook prediction: used by
README.md - Notebook prediction → GUI demonstration: demonstrated by
README.md - User → Tkinter application: selects location
README.md - Tkinter application → Location lookup data: loads locations
app/gui.py - Tkinter application → METAR feature preparation: prepares features
README.md - METAR feature preparation → Aviation Weather API: requests observations
app/gui.py - Tkinter application → Severity classifier: predicts severity
README.md - Severity classifier → Model artifacts: loads model
app/gui.py - Tkinter application → Severity and weather results: displays prediction
README.md