Logo Lanfrica

paystewart/Forecasting-Regional-Conflict-in-Africa-Using-TensorFlow

Domaine:

peace and security

Type de record:

modelproject
Créateur:
pay
Hôte:
Collaborative Filtering Using TensorFlow to Analyze Regional Conflict in Africa # Forecasting-Regional-Conflict-in-Africa-Using-TensorFlow _Collaborative Filtering Using TensorFlow to Analyze Regional Conflict in Africa_ This project implements a Deep Learning model to forecast conflict intensity across the African continent. Using a Recursive Negative Binomial Regression approach, the system predicts the number of weekly conflict events for 54+ countries over an 8-week horizon. ## **Project Overview** Predicting political violence is inherently difficult due to the "sparse" nature of the data. This project solves this by treating conflict forecasting as a Recommender System problem: - Countries are "Users" - Weeks are "Items" - Event Counts are the "Ratings" we are trying to predict. By using Collaborative Filtering via Neural Embeddings, the model learns latent patterns of violence that move across regions and time. ## **The Model: Deep Recursive Forecasting** The core of this system is a Negative Binomial Neural Network built in TensorFlow. Unlike standard regression, this model handles the "over-dispersion" of conflict data (where most weeks are quiet, but some are extremely violent), and we see this through the Negative Binomial Log Loss Function utilized. Ultimately, the model underpredicts large conflict counts, but the assumption that latent structures exist along countries and weeks is supported. **Key Features:** - Entity Embeddings: High-dimensional representations for countries and weeks to capture latent regional and time similarities. - Recursive Lag Logic: The model uses its own $t+1$ prediction as the input for $t+2$, allowing for a multi-step look-ahead. - Respect for Time Series Data: The model preserves the serial dependence of data and accounts for conflict persistence. ## **Visualizing the Conflict Horizon** The project includes visualization tools designed for policy-makers, researchers or other users wanting to view data from the model. 1. **Global Risk Matrix(The Heatmap)**: A 16-week "Master Matrix" that stitche …