Skip to main content

No project description provided

Project description

GitHub License GitHub branch check runs GitHub Issues or Pull Requests GitHub Release

VIEWS Twitter Header

VIEWS Evaluation ๐Ÿ“Š

Part of the VIEWS Platform ecosystem for large-scale conflict forecasting.

๐Ÿ“š Table of Contents

  1. Overview
  2. Role in the VIEWS Pipeline
  3. Features
  4. Installation
  5. Architecture
  6. Project Structure
  7. Contributing
  8. License
  9. 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:

  1. Model Predictions โ†’
  2. Evaluation Metrics Processing โ†’
  3. Metrics Computation (via MetricsManager) โ†’
  4. Final Performance Reports

Integration with Other Repositories:


โœจ 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:
    1. Time-series-wise: Evaluates long-term forecasting behavior.
    2. Step-wise: Assesses performance at each forecasting step.
    3. 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

  1. Input: Predictions from models in standardized DataFrames.
  2. Processing: Calculation of relevant evaluation metrics.
  3. 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

Views Funders

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

views_evaluation-0.1.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

views_evaluation-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

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

Hashes for views_evaluation-0.1.2.tar.gz
Algorithm Hash digest
SHA256 eb25df43731b44b28a174b7d0cd0825e49fed9839fd905a0f99453f0d4332917
MD5 89df711c79b7fe8e455a9e97f1ff4ecb
BLAKE2b-256 4a1ae29c0226bf886fd8bcdee7fa0d52243397543dd7cd123e79bd2697547b0e

See more details on using hashes here.

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

Hashes for views_evaluation-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86c2c4f343b8c687ce30afaf52d9fe95969c5bb22a2b953078fabda9765d5019
MD5 f79a77c0c6f311466527cec1e5e8dc41
BLAKE2b-256 64a6fe4fb0b61e0eed790d081db6cdf8857152017e28e223e0ac7cf0b142b6c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page