No project description provided
Project description
VIEWS Evaluation ๐
Part of the VIEWS Platform ecosystem for large-scale conflict forecasting.
๐ Table of Contents
- Overview
- Role in the VIEWS Pipeline
- Features
- Installation
- Architecture
- Project Structure
- Contributing
- License
- Acknowledgements
๐ง Overview
The VIEWS Evaluation repository provides a standardized framework for assessing time-series forecasting models used in the VIEWS conflict prediction pipeline. It ensures consistent, robust, and interpretable evaluations through metrics tailored to conflict-related data, which often exhibit right-skewness and zero-inflation.
๐ Role in the VIEWS Pipeline
VIEWS Evaluation ensures forecasting accuracy and model robustness as the official evaluation component of the VIEWS ecosystem.
Pipeline Integration:
- Model Predictions โ
- Evaluation Metrics Processing โ
- Metrics Computation (via MetricsManager) โ
- Final Performance Reports
Integration with Other Repositories:
- views-pipeline-core: Supplies preprocessed data for evaluation.
- views-models: Provides trained models to be assessed.
- views-stepshifter: Evaluates time-shifted forecasting models.
- views-hydranet: Supports spatiotemporal deep learning model evaluations.
โจ Features
1. EvaluationMetrics
A data class for managing and storing evaluation metrics for time-series forecasting models.
๐น Key Capabilities:
- Handles conflict-specific data distributions, including skewness and zero-inflation.
- Three evaluation schemas:
- Time-series-wise: Evaluates long-term forecasting behavior.
- Step-wise: Assesses performance at each forecasting step.
- Month-wise: Measures forecast accuracy on a rolling monthly basis.
- Transforms evaluation metrics into structured DataFrames for analysis.
๐ More details in the Evaluation Metrics Workshop Notes.
2. MetricsManager
A centralized evaluation engine for computing metrics on time-series forecasts.
๐น Key Capabilities:
- Customizable metric lists allow for flexible evaluation.
- Ensures metric consistency by warning about unrecognized metrics.
- Implements all three evaluation schemas (time-series, step-wise, month-wise).
- Batch processing for multiple models and forecasting targets.
๐ More details in schema.MD.
3. Roadmap & Upcoming Features ๐ง
โ Planned Enhancements:
- Multi-target evaluation (e.g., assessing multiple dependent variables simultaneously).
- Expanding metric calculations beyond RMSLE, CRPS, and AP.
- New visualization tools for better interpretability of evaluation reports.
โ๏ธ Installation
Prerequisites
- Python >= 3.11
๐ Architecture
1. Evaluation Metrics Framework
- Handles forecasting evaluation across multiple models, levels of analysis, and forecasting windows.
- Converts model outputs into standardized evaluation reports.
2. Metrics Computation Pipeline
- Input: Predictions from models in standardized DataFrames.
- Processing: Calculation of relevant evaluation metrics.
- Output: Performance scores for comparison across models.
3. Error Handling & Standardization
- Ensures conformity to VIEWS evaluation standards.
- Warns about unrecognized or incorrectly formatted metrics.
๐ Project Structure
views-evaluation/
โโโ README.md # Documentation
โโโ .github/workflows/ # CI/CD pipelines
โโโ tests/ # Unit tests
โโโ views_evaluation/ # Main source code
โ โโโ evaluation/
โ โ โโโ metrics.py
โ โโโ __init__.py # Package initialization
โโโ .gitignore # Git ignore rules
โโโ pyproject.toml # Poetry project file
โโโ poetry.lock # Dependency lock file
๐ค Contributing
We welcome contributions! Please follow the VIEWS Contribution Guidelines.
๐ License
This project is licensed under the LICENSE file.
๐ฌ Acknowledgements
Special thanks to the VIEWS MD&D Team for their collaboration and support.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file views_evaluation-0.1.2.tar.gz.
File metadata
- Download URL: views_evaluation-0.1.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb25df43731b44b28a174b7d0cd0825e49fed9839fd905a0f99453f0d4332917
|
|
| MD5 |
89df711c79b7fe8e455a9e97f1ff4ecb
|
|
| BLAKE2b-256 |
4a1ae29c0226bf886fd8bcdee7fa0d52243397543dd7cd123e79bd2697547b0e
|
File details
Details for the file views_evaluation-0.1.2-py3-none-any.whl.
File metadata
- Download URL: views_evaluation-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.11 Linux/6.8.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86c2c4f343b8c687ce30afaf52d9fe95969c5bb22a2b953078fabda9765d5019
|
|
| MD5 |
f79a77c0c6f311466527cec1e5e8dc41
|
|
| BLAKE2b-256 |
64a6fe4fb0b61e0eed790d081db6cdf8857152017e28e223e0ac7cf0b142b6c6
|