Kossisoroyce commited on
Commit
2f62812
·
verified ·
1 Parent(s): 4c5879e

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +155 -40
README.md CHANGED
@@ -1,44 +1,159 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
- features:
4
- - name: country_id
5
- dtype: int64
6
- - name: month_id
7
- dtype: int64
8
- - name: name
9
- dtype: string
10
- - name: gwcode
11
- dtype: int64
12
- - name: isoab
13
- dtype: string
14
- - name: year
15
- dtype: int64
16
- - name: month
17
- dtype: int64
18
- - name: main_mean_ln
19
- dtype: float64
20
- - name: main_mean
21
- dtype: float64
22
- - name: main_dich
23
- dtype: float64
24
- - name: esa_source
25
- dtype: string
26
- - name: esa_processed
27
- dtype: string
28
  splits:
29
- - name: train
30
- num_bytes: 2884
31
- num_examples: 28
32
- - name: test
33
- num_bytes: 824
34
- num_examples: 8
35
- download_size: 11143
36
- dataset_size: 3708
37
- configs:
38
- - config_name: default
39
- data_files:
40
- - split: train
41
- path: data/train-*
42
- - split: test
43
- path: data/test-*
44
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - found
6
+ language:
7
+ - en
8
+ license: cc-by-sa-4.0
9
+ multilinguality:
10
+ - monolingual
11
+ size_categories:
12
+ - n<1K
13
+ source_datasets:
14
+ - original
15
+ task_categories:
16
+ - tabular-classification
17
+ - tabular-regression
18
+ task_ids: []
19
+ tags:
20
+ - africa
21
+ - humanitarian
22
+ - hdx
23
+ - electric-sheep-africa
24
+ - conflict-violence
25
+ - fatalities
26
+ - forecasting
27
+ - hxl
28
+ - eri
29
+ pretty_name: "Eritrea - VIEWS conflict forecasts"
30
  dataset_info:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  splits:
32
+ - name: train
33
+ num_examples: 28
34
+ - name: test
35
+ num_examples: 7
 
 
 
 
 
 
 
 
 
 
 
36
  ---
37
+
38
+ # Eritrea - VIEWS conflict forecasts
39
+
40
+ **Publisher:** Violence & Impacts Early-Warning System · **Source:** [HDX](https://data.humdata.org/dataset/eri-views-conflict-forecasts) · **License:** `cc-by-sa` · **Updated:** 2026-04-01
41
+
42
+ ---
43
+
44
+ ## Abstract
45
+
46
+ The Violence & Impacts Early-Warning System (VIEWS) is an award-winning conflict prediction system that generates monthly forecasts for violent conflicts across the world up to three years in advance. It is supported by the iterative research and development activities undertaken by the VIEWS consortium.
47
+
48
+ Each row in this dataset represents country-level aggregates. Data was last updated on HDX on 2026-04-01. Geographic scope: **ERI**.
49
+
50
+ *Curated into ML-ready Parquet format by [Electric Sheep Africa](https://huggingface.co/electricsheepafrica).*
51
+
52
+ ---
53
+
54
+ ## Dataset Characteristics
55
+
56
+ | | |
57
+ |---|---|
58
+ | **Domain** | Conflict and security |
59
+ | **Unit of observation** | Country-level aggregates |
60
+ | **Rows (total)** | 36 |
61
+ | **Columns** | 12 (8 numeric, 4 categorical, 0 datetime) |
62
+ | **Train split** | 28 rows |
63
+ | **Test split** | 7 rows |
64
+ | **Geographic scope** | ERI |
65
+ | **Publisher** | Violence & Impacts Early-Warning System |
66
+ | **HDX last updated** | 2026-04-01 |
67
+
68
+ ---
69
+
70
+ ## Variables
71
+
72
+ **Geographic** — `country_id` (range 56.0–56.0), `isoab` (ERI), `year` (range 2026.0–2029.0).
73
+
74
+ **Temporal** — `month_id` (range 555.0–590.0), `month` (range 1.0–12.0).
75
+
76
+ **Identifier / Metadata** — `name` (Eritrea), `gwcode` (range 531.0–531.0), `esa_source` (HDX), `esa_processed` (2026-04-06).
77
+
78
+ **Other** — `main_mean_ln` (range 0.0266–0.1345), `main_mean` (range 0.027–0.1439), `main_dich` (range 0.0–0.0).
79
+
80
+ ---
81
+
82
+ ## Quick Start
83
+
84
+ ```python
85
+ from datasets import load_dataset
86
+
87
+ ds = load_dataset("electricsheepafrica/africa-eri-views-conflict-forecasts")
88
+ train = ds["train"].to_pandas()
89
+ test = ds["test"].to_pandas()
90
+
91
+ print(train.shape)
92
+ train.head()
93
+ ```
94
+
95
+ ---
96
+
97
+ ## Schema
98
+
99
+ | Column | Type | Null % | Range / Sample Values |
100
+ |---|---|---|---|
101
+ | `country_id` | int64 | 0.0% | 56.0 – 56.0 (mean 56.0) |
102
+ | `month_id` | int64 | 0.0% | 555.0 – 590.0 (mean 572.5) |
103
+ | `name` | object | 0.0% | Eritrea |
104
+ | `gwcode` | int64 | 0.0% | 531.0 – 531.0 (mean 531.0) |
105
+ | `isoab` | object | 0.0% | ERI |
106
+ | `year` | int64 | 0.0% | 2026.0 – 2029.0 (mean 2027.1667) |
107
+ | `month` | int64 | 0.0% | 1.0 – 12.0 (mean 6.5) |
108
+ | `main_mean_ln` | float64 | 0.0% | 0.0266 – 0.1345 (mean 0.0679) |
109
+ | `main_mean` | float64 | 0.0% | 0.027 – 0.1439 (mean 0.0704) |
110
+ | `main_dich` | float64 | 0.0% | 0.0 – 0.0 (mean 0.0) |
111
+ | `esa_source` | object | 0.0% | HDX |
112
+ | `esa_processed` | object | 0.0% | 2026-04-06 |
113
+
114
+ ---
115
+
116
+ ## Numeric Summary
117
+
118
+ | Column | Min | Max | Mean | Median |
119
+ |---|---|---|---|---|
120
+ | `country_id` | 56.0 | 56.0 | 56.0 | 56.0 |
121
+ | `month_id` | 555.0 | 590.0 | 572.5 | 572.5 |
122
+ | `gwcode` | 531.0 | 531.0 | 531.0 | 531.0 |
123
+ | `year` | 2026.0 | 2029.0 | 2027.1667 | 2027.0 |
124
+ | `month` | 1.0 | 12.0 | 6.5 | 6.5 |
125
+ | `main_mean_ln` | 0.0266 | 0.1345 | 0.0679 | 0.0633 |
126
+ | `main_mean` | 0.027 | 0.1439 | 0.0704 | 0.0654 |
127
+ | `main_dich` | 0.0 | 0.0 | 0.0 | 0.0 |
128
+
129
+ ---
130
+
131
+ ## Curation
132
+
133
+ Raw data was downloaded from HDX via the CKAN API and converted to Parquet. Column names were lowercased and standardised to snake_case. Common missing-value markers (`N/A`, `null`, `none`, `-`, `unknown`, `no data`, `#N/A`) were unified to `NaN`. The dataset was split 80/20 into train and test partitions using a fixed random seed (42) and saved as Snappy-compressed Parquet.
134
+
135
+ ---
136
+
137
+ ## Limitations
138
+
139
+ - Data originates from Violence & Impacts Early-Warning System and has not been independently validated by ESA.
140
+ - Automated cleaning cannot correct for misreported values, definitional inconsistencies, or sampling bias in the original collection.
141
+ - Refer to the [original HDX dataset page](https://data.humdata.org/dataset/eri-views-conflict-forecasts) for the publisher's own methodology notes and caveats.
142
+
143
+ ---
144
+
145
+ ## Citation
146
+
147
+ ```bibtex
148
+ @dataset{hdx_africa_eri_views_conflict_forecasts,
149
+ title = {Eritrea - VIEWS conflict forecasts},
150
+ author = {Violence & Impacts Early-Warning System},
151
+ year = {2026},
152
+ url = {https://data.humdata.org/dataset/eri-views-conflict-forecasts},
153
+ note = {Repackaged for machine learning by Electric Sheep Africa (https://huggingface.co/electricsheepafrica)}
154
+ }
155
+ ```
156
+
157
+ ---
158
+
159
+ *[Electric Sheep Africa](https://huggingface.co/electricsheepafrica) — Africa's ML dataset infrastructure. Lagos, Nigeria.*