How matildecaleiras2005-afk/pratical_assigment works
This is a weather-stream classification experiment: it obtains hourly weather for two cities, derives a warm-up wind threshold, prepares Portimão features and T6 labels, then compares online classifiers with prequential evaluation. Results are written as metrics and learning/recall plots. The graph follows calls shown in the sampled source; the README is empty, and no additional capabilities are documented.
Main entry points: main.py Experiment orchestration · data_loader.py Weather loading and cache · models.py Online model factory · config.py Experiment configuration
Components 13
Weather data
- Experiment configuration
src/config.py - Open-Meteo API
- Weather loading and cache
src/data_loader.py - Raw JSON cache
data/raw
Feature preparation
- Warm-up threshold
src/data_loader.py - T6 feature preparation
src/data_loader.py
Online evaluation
- Experiment orchestration
src/main.py - Online model factory
src/models.py - Online classifiers
src/models.py - Prequential metrics
src/main.py - Metrics CSV
src/main.py - Learning and recall plots
src/main.py
Other components
- Experiment runner
Connections 14
- Experiment runner → Experiment orchestration: runs
src/main.py - Experiment orchestration → Experiment configuration: uses settings
src/main.py - Experiment orchestration → Weather loading and cache: loads weather
src/main.py - Weather loading and cache → Experiment configuration: uses cache settings
src/data_loader.py - Weather loading and cache → Raw JSON cache: reads or writes
src/data_loader.py - Weather loading and cache → Open-Meteo API: requests weather
src/data_loader.py - Experiment orchestration → Warm-up threshold: calculates threshold
src/main.py - Experiment orchestration → T6 feature preparation: prepares features
src/main.py - Experiment orchestration → Online model factory: creates models
src/main.py - Online model factory → Online classifiers: instantiates
src/models.py - Experiment orchestration → Prequential metrics: evaluates online
src/main.py - Prequential metrics → Online classifiers: predicts and learns
src/main.py - Experiment orchestration → Metrics CSV: writes metrics
src/main.py - Experiment orchestration → Learning and recall plots: saves curves
src/main.py