Datasets:
Formats:
parquet
Languages:
English
Size:
< 1K
Tags:
credit-scoring
financial-inclusion
thin-file
synthetic-data
behavioral-finance
alternative-data
License:
ElectricSheepAfrica commited on
Commit ·
50c9e45
0
Parent(s):
Electric Sheep Alternative Credit Dataset v1.0
Browse filesFour regions: US, NG, IN, BR
19 behavioral features for credit scoring
Two labeling strategies (rule-based + simulated)
120 users, 105K+ transactions
- .gitattributes +10 -0
- BR/features.parquet +3 -0
- BR/labels_v1.parquet +3 -0
- BR/labels_v2.parquet +3 -0
- BR/metadata.json +25 -0
- BR/transactions.parquet +3 -0
- BR/users.parquet +3 -0
- IN/features.parquet +3 -0
- IN/labels_v1.parquet +3 -0
- IN/labels_v2.parquet +3 -0
- IN/metadata.json +25 -0
- IN/transactions.parquet +3 -0
- IN/users.parquet +3 -0
- LICENSE +21 -0
- NG/features.parquet +3 -0
- NG/labels_v1.parquet +3 -0
- NG/labels_v2.parquet +3 -0
- NG/metadata.json +25 -0
- NG/transactions.parquet +3 -0
- NG/users.parquet +3 -0
- README.md +241 -0
- US/features.parquet +3 -0
- US/labels_v1.parquet +3 -0
- US/labels_v2.parquet +3 -0
- US/metadata.json +24 -0
- US/transactions.parquet +3 -0
- US/users.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Git LFS for large files
|
| 2 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
BR/features.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84db2939337bf8114568d07a21dacd421540447b245cce4826dc751a8821507b
|
| 3 |
+
size 17597
|
BR/labels_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b2676cf3527726ae0632f00a08ba408a20832c596bbd0ba8037d7525753434e
|
| 3 |
+
size 3743
|
BR/labels_v2.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc0bfd085d3c523f896e7f9325887204b9e37fd15964c6a8407c8d27fe86f0ef
|
| 3 |
+
size 4378
|
BR/metadata.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"region": "BR",
|
| 3 |
+
"currency": "BRL",
|
| 4 |
+
"generated_at": "2026-03-21T13:48:45.198247",
|
| 5 |
+
"n_users": 30,
|
| 6 |
+
"n_transactions": 26350,
|
| 7 |
+
"seed": 42,
|
| 8 |
+
"label_method": "both",
|
| 9 |
+
"generation_time_seconds": 5.28,
|
| 10 |
+
"user_metadata": {
|
| 11 |
+
"region": "BR",
|
| 12 |
+
"currency": "BRL",
|
| 13 |
+
"n_users": 30,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"archetype_distribution": {
|
| 16 |
+
"stable_salaried": 8,
|
| 17 |
+
"financial_stress": 6,
|
| 18 |
+
"student": 5,
|
| 19 |
+
"gig_worker": 5,
|
| 20 |
+
"business_owner": 3,
|
| 21 |
+
"cash_heavy": 2,
|
| 22 |
+
"professional": 1
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
BR/transactions.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a3970379933a17c082b3ef0e80133c35197a9aca3b83b2c8b6120fb2b720143
|
| 3 |
+
size 1537028
|
BR/users.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:300f486ee6d8391f5b01c7b6870c278f28869267c643b670a7b61ca75b2fdc51
|
| 3 |
+
size 5618
|
IN/features.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12f4a6f23efc47c2bdc1a3f0fd88c11da469fc7c038f94fa1de8dc6334e96eb4
|
| 3 |
+
size 17506
|
IN/labels_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c85752f287850530f32bc6da88f515f0e37b3de4dd5f7a8a9096679c273ac8f1
|
| 3 |
+
size 3759
|
IN/labels_v2.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f54bdba67e6d839069fb778eb7a62535ee98e722eff204e189cd91851ada086
|
| 3 |
+
size 4391
|
IN/metadata.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"region": "IN",
|
| 3 |
+
"currency": "INR",
|
| 4 |
+
"generated_at": "2026-03-21T13:48:39.915667",
|
| 5 |
+
"n_users": 30,
|
| 6 |
+
"n_transactions": 25526,
|
| 7 |
+
"seed": 42,
|
| 8 |
+
"label_method": "both",
|
| 9 |
+
"generation_time_seconds": 5.07,
|
| 10 |
+
"user_metadata": {
|
| 11 |
+
"region": "IN",
|
| 12 |
+
"currency": "INR",
|
| 13 |
+
"n_users": 30,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"archetype_distribution": {
|
| 16 |
+
"stable_salaried": 8,
|
| 17 |
+
"cash_heavy": 6,
|
| 18 |
+
"student": 5,
|
| 19 |
+
"gig_worker": 5,
|
| 20 |
+
"business_owner": 3,
|
| 21 |
+
"financial_stress": 2,
|
| 22 |
+
"professional": 1
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
IN/transactions.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a2ce89a11182ff1307ec648efbae80dc79f9012adbb9c9372994214cfc5ebf5c
|
| 3 |
+
size 1476997
|
IN/users.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9b181b94396698c35a6adc0860624d9d88c079919b1b84a960144c9bc0d9276
|
| 3 |
+
size 5617
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Electric Sheep Contributors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
NG/features.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c417fe144f665ed1027101b0032e9a09a20bc1e884a244d72bb55a0fd85c913b
|
| 3 |
+
size 17557
|
NG/labels_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5e5e9be49c6009ea96dc27aab5b070016dbd2da5e15a2b96717f0662912a3ad
|
| 3 |
+
size 3761
|
NG/labels_v2.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdad453ada74446b405a6e7fede2c817e6cbbe7ee3de7c4537f3159807b29c5a
|
| 3 |
+
size 4385
|
NG/metadata.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"region": "NG",
|
| 3 |
+
"currency": "NGN",
|
| 4 |
+
"generated_at": "2026-03-21T13:48:34.845351",
|
| 5 |
+
"n_users": 30,
|
| 6 |
+
"n_transactions": 25402,
|
| 7 |
+
"seed": 42,
|
| 8 |
+
"label_method": "both",
|
| 9 |
+
"generation_time_seconds": 5.18,
|
| 10 |
+
"user_metadata": {
|
| 11 |
+
"region": "NG",
|
| 12 |
+
"currency": "NGN",
|
| 13 |
+
"n_users": 30,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"archetype_distribution": {
|
| 16 |
+
"stable_salaried": 8,
|
| 17 |
+
"cash_heavy": 6,
|
| 18 |
+
"student": 6,
|
| 19 |
+
"gig_worker": 4,
|
| 20 |
+
"business_owner": 3,
|
| 21 |
+
"financial_stress": 2,
|
| 22 |
+
"professional": 1
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
NG/transactions.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bde733731a829c435c2d4f6ed17343760903a227be55e9f31d0dce62f3b658c0
|
| 3 |
+
size 1474138
|
NG/users.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e4f95d3051224e5423dcd5d42cd1684dfc249fecb97904d7a4a4990f5590c1f
|
| 3 |
+
size 5619
|
README.md
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
annotations_creators:
|
| 3 |
+
- machine-generated
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
license:
|
| 7 |
+
- mit
|
| 8 |
+
multilinguality:
|
| 9 |
+
- monolingual
|
| 10 |
+
pretty_name: Electric Sheep Alternative Credit Data for Thin-File Users
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100<n<1000
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
+
tags:
|
| 16 |
+
- credit-scoring
|
| 17 |
+
- financial-inclusion
|
| 18 |
+
- thin-file
|
| 19 |
+
- synthetic-data
|
| 20 |
+
- behavioral-finance
|
| 21 |
+
- alternative-data
|
| 22 |
+
- tabular
|
| 23 |
+
- fintech
|
| 24 |
+
- machine-learning
|
| 25 |
+
task_categories:
|
| 26 |
+
- tabular-classification
|
| 27 |
+
- tabular-regression
|
| 28 |
+
configs:
|
| 29 |
+
- config_name: US
|
| 30 |
+
data_files: "US/*.parquet"
|
| 31 |
+
- config_name: NG
|
| 32 |
+
data_files: "NG/*.parquet"
|
| 33 |
+
- config_name: IN
|
| 34 |
+
data_files: "IN/*.parquet"
|
| 35 |
+
- config_name: BR
|
| 36 |
+
data_files: "BR/*.parquet"
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
# Electric Sheep — Alternative Credit Data for Thin-File Users
|
| 40 |
+
|
| 41 |
+
## Dataset Summary
|
| 42 |
+
|
| 43 |
+
The **Electric Sheep Alternative Credit Dataset** is a synthetic, multi-layer dataset designed to model creditworthiness using behavioral financial data rather than traditional credit history. It targets **thin-file users** — individuals excluded from conventional credit scoring systems due to insufficient loan or credit card history.
|
| 44 |
+
|
| 45 |
+
This dataset provides **culturally authentic financial behavior data** for four distinct regions:
|
| 46 |
+
|
| 47 |
+
| Region | Currency | Channel Dominant | Income (median) |
|
| 48 |
+
|--------|----------|------------------|-----------------|
|
| 49 |
+
| **US** (United States) | USD | POS / Bank | ~$17,400 |
|
| 50 |
+
| **NG** (Nigeria) | NGN | Mobile Money | ~₦2,400 |
|
| 51 |
+
| **IN** (India) | INR | UPI | ~₹1,900 |
|
| 52 |
+
| **BR** (Brazil) | BRL | PIX / Bank | ~R$3,500 |
|
| 53 |
+
|
| 54 |
+
## Supported Tasks
|
| 55 |
+
|
| 56 |
+
- **Binary Classification:** Creditworthy vs not creditworthy
|
| 57 |
+
- **Multi-class Classification:** Good / Bad / Indeterminate credit outcome
|
| 58 |
+
- **Regression:** Default probability estimation
|
| 59 |
+
- **Fairness Research:** Bias analysis across demographic groups
|
| 60 |
+
- **Cross-Regional Studies:** Behavioral pattern comparison across economies
|
| 61 |
+
|
| 62 |
+
## Dataset Structure
|
| 63 |
+
|
| 64 |
+
Each region contains **5 parquet files**:
|
| 65 |
+
|
| 66 |
+
| File | Rows | Description |
|
| 67 |
+
|------|------|-------------|
|
| 68 |
+
| `users.parquet` | 1 per user | Demographic metadata (age, income type, archetype) |
|
| 69 |
+
| `transactions.parquet` | ~900 per user | Raw financial behavior (amounts, categories, channels) |
|
| 70 |
+
| `features.parquet` | 1 per user | 19 aggregated behavioral metrics |
|
| 71 |
+
| `labels_v1.parquet` | 1 per user | Rule-based credit labels |
|
| 72 |
+
| `labels_v2.parquet` | 1 per user | Simulated loan outcome labels |
|
| 73 |
+
|
| 74 |
+
### Users Table
|
| 75 |
+
|
| 76 |
+
| Field | Type | Description |
|
| 77 |
+
|-------|------|-------------|
|
| 78 |
+
| user_id | string | Unique identifier (format: `{region}_{index:06d}`) |
|
| 79 |
+
| age_range | string | Age bucket: `18-25`, `26-35`, `36-45`, `46-55`, `55+` |
|
| 80 |
+
| income_type | string | `salary`, `gig`, `business`, `unemployed` |
|
| 81 |
+
| region | string | `US`, `NG`, `IN`, `BR` |
|
| 82 |
+
| currency | string | `USD`, `NGN`, `INR`, `BRL` |
|
| 83 |
+
| account_tenure_days | int | Length of financial activity in days |
|
| 84 |
+
| primary_archetype | string | Dominant behavioral pattern |
|
| 85 |
+
| secondary_archetype | string | Secondary behavioral overlay |
|
| 86 |
+
|
| 87 |
+
### Transactions Table
|
| 88 |
+
|
| 89 |
+
| Field | Type | Description |
|
| 90 |
+
|-------|------|-------------|
|
| 91 |
+
| transaction_id | string | Unique transaction ID (UUID) |
|
| 92 |
+
| user_id | string | Foreign key to users |
|
| 93 |
+
| timestamp | datetime | Transaction time (2024-01-01 to 2025-12-31) |
|
| 94 |
+
| amount | float | Signed: `+income`, `-expense` in local currency |
|
| 95 |
+
| transaction_type | string | `credit` or `debit` |
|
| 96 |
+
| category | string | `food`, `transport`, `bills`, `entertainment`, `betting`, `transfer`, `savings`, `healthcare`, `other` |
|
| 97 |
+
| channel | string | `bank`, `cash`, `POS`, `mobile_money` |
|
| 98 |
+
| merchant_type | string | Region-specific merchant classification |
|
| 99 |
+
| balance_estimate | float | Running balance approximation |
|
| 100 |
+
| is_recurring | bool | Recurring payment flag |
|
| 101 |
+
| counterparty | string | Transfer recipient/sender (if applicable) |
|
| 102 |
+
| corridor | string | Remittance corridor (e.g., `US→NG`) |
|
| 103 |
+
|
| 104 |
+
### Features Table
|
| 105 |
+
|
| 106 |
+
| Field | Type | Description |
|
| 107 |
+
|-------|------|-------------|
|
| 108 |
+
| user_id | string | Foreign key |
|
| 109 |
+
| avg_monthly_income | float | Mean monthly inflow |
|
| 110 |
+
| income_volatility | float | Coefficient of variation of monthly income |
|
| 111 |
+
| income_frequency | float | Income events per month |
|
| 112 |
+
| income_trend | float | Linear trend (positive = growing) |
|
| 113 |
+
| income_gap_months | int | Months with zero income |
|
| 114 |
+
| avg_monthly_spend | float | Mean monthly outflow |
|
| 115 |
+
| spending_volatility | float | Variability of monthly spending |
|
| 116 |
+
| essential_spend_ratio | float | Fraction on food, transport, bills, healthcare |
|
| 117 |
+
| discretionary_spend_ratio | float | Fraction on non-essentials |
|
| 118 |
+
| betting_ratio | float | Fraction on betting/gambling |
|
| 119 |
+
| avg_balance | float | Mean balance over period |
|
| 120 |
+
| min_balance | float | Lowest balance reached |
|
| 121 |
+
| max_balance | float | Highest balance reached |
|
| 122 |
+
| overdraft_frequency | float | Fraction of transactions where balance < 0 |
|
| 123 |
+
| bill_payment_consistency | float | Regularity of bill payments (0–1, higher = better) |
|
| 124 |
+
| recurring_expense_ratio | float | Fraction of spending that recurs |
|
| 125 |
+
| transaction_frequency | float | Transactions per day |
|
| 126 |
+
| cashflow_stability_score | float | Composite score (0–1, higher = more stable) |
|
| 127 |
+
| risk_behavior_score | float | Composite risk indicator (0–1, higher = riskier) |
|
| 128 |
+
|
| 129 |
+
### Labels Table
|
| 130 |
+
|
| 131 |
+
| Field | Type | Description |
|
| 132 |
+
|-------|------|-------------|
|
| 133 |
+
| user_id | string | Foreign key |
|
| 134 |
+
| credit_outcome | string | `good`, `bad`, `indeterminate` |
|
| 135 |
+
| default_probability | float | Estimated probability of default (0–1) |
|
| 136 |
+
| risk_bucket | string | `low`, `medium`, `high` |
|
| 137 |
+
| labeling_method | string | `v1_rules` or `v2_simulation` |
|
| 138 |
+
|
| 139 |
+
## Loading the Dataset
|
| 140 |
+
|
| 141 |
+
### Python (Hugging Face Datasets)
|
| 142 |
+
|
| 143 |
+
```python
|
| 144 |
+
from datasets import load_dataset
|
| 145 |
+
|
| 146 |
+
# Load US region
|
| 147 |
+
us = load_dataset("electricsheepafrica/electric-sheep-credit", name="US")
|
| 148 |
+
users = us["train"]["users"]
|
| 149 |
+
transactions = us["train"]["transactions"]
|
| 150 |
+
features = us["train"]["features"]
|
| 151 |
+
labels = us["train"]["labels_v2"]
|
| 152 |
+
|
| 153 |
+
# Load Nigeria
|
| 154 |
+
ng = load_dataset("electricsheepafrica/electric-sheep-credit", name="NG")
|
| 155 |
+
|
| 156 |
+
# Load India
|
| 157 |
+
ind = load_dataset("electricsheepafrica/electric-sheep-credit", name="IN")
|
| 158 |
+
|
| 159 |
+
# Load Brazil
|
| 160 |
+
br = load_dataset("electricsheepafrica/electric-sheep-credit", name="BR")
|
| 161 |
+
```
|
| 162 |
+
|
| 163 |
+
### Python (Pandas)
|
| 164 |
+
|
| 165 |
+
```python
|
| 166 |
+
import pandas as pd
|
| 167 |
+
|
| 168 |
+
users = pd.read_parquet("US/users.parquet")
|
| 169 |
+
transactions = pd.read_parquet("US/transactions.parquet")
|
| 170 |
+
features = pd.read_parquet("US/features.parquet")
|
| 171 |
+
labels = pd.read_parquet("US/labels_v2.parquet")
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
## Feature Correlations with Creditworthiness
|
| 175 |
+
|
| 176 |
+
Strong and significant correlations (point-biserial r, p < 0.001 unless noted):
|
| 177 |
+
|
| 178 |
+
| Feature | US | NG | IN | BR | Interpretation |
|
| 179 |
+
|---------|----|----|----|----|----------------|
|
| 180 |
+
| `overdraft_frequency` | −0.73*** | −0.84*** | −0.80*** | −0.74*** | Strongest negative predictor |
|
| 181 |
+
| `cashflow_stability_score` | +0.58*** | +0.70*** | +0.71*** | +0.66*** | Strongest positive predictor |
|
| 182 |
+
| `betting_ratio` | −0.36* | −0.60*** | −0.65*** | −0.60*** | Significant negative |
|
| 183 |
+
| `avg_balance` | +0.49** | +0.56** | +0.40* | +0.48** | Positive (liquidity buffer) |
|
| 184 |
+
| `bill_payment_consistency` | +0.50** | +0.50** | +0.38* | +0.37* | Reliability signal |
|
| 185 |
+
|
| 186 |
+
## Dataset Statistics (per region, 30 users)
|
| 187 |
+
|
| 188 |
+
| Metric | US | NG | IN | BR |
|
| 189 |
+
|--------|----|----|----|----|
|
| 190 |
+
| Transactions per user | ~936 | ~847 | ~851 | ~878 |
|
| 191 |
+
| Spend/Income ratio (median) | 0.93 | 1.06 | 0.98 | 1.01 |
|
| 192 |
+
| Users ending with negative balance | 8/30 | 13/30 | 10/30 | 10/30 |
|
| 193 |
+
| Users who had overdraft | 10/30 | 18/30 | 17/30 | 19/30 |
|
| 194 |
+
| Peak spending month | December | December | October | February |
|
| 195 |
+
| Dominant payment channel | POS/Bank | Mobile Money | UPI | PIX/Bank |
|
| 196 |
+
|
| 197 |
+
## Generation Methodology
|
| 198 |
+
|
| 199 |
+
This dataset is generated using a **hybrid synthetic-realistic pipeline**:
|
| 200 |
+
|
| 201 |
+
1. **User Archetypes**: 8 behavioral templates (stable salaried, gig worker, business owner, student, cash-heavy, financial stress, professional, gambler) sampled with region-specific weights
|
| 202 |
+
2. **Transaction Simulation**: Poisson-based timing, log-normal amounts, category-specific spending profiles
|
| 203 |
+
3. **Noise Injection**: Amount jitter, category misclassification, timestamp drift, duplicate detection
|
| 204 |
+
4. **Feature Engineering**: 19 behavioral metrics computed over rolling time windows
|
| 205 |
+
5. **Label Assignment**: Rule-based heuristics (v1) and simulated loan outcomes (v2)
|
| 206 |
+
|
| 207 |
+
## Limitations
|
| 208 |
+
|
| 209 |
+
- **Synthetic data**: Not from real financial institutions
|
| 210 |
+
- **Heuristic labels**: Credit outcomes are simulated, not observed
|
| 211 |
+
- **Simplified patterns**: Real financial behavior has more complex temporal patterns
|
| 212 |
+
- **Regional estimates**: Income levels and spending patterns are approximated
|
| 213 |
+
|
| 214 |
+
## Use Cases
|
| 215 |
+
|
| 216 |
+
- Training credit scoring models for thin-file populations
|
| 217 |
+
- Benchmarking alternative data approaches
|
| 218 |
+
- Research on financial inclusion
|
| 219 |
+
- Fairness and bias testing across demographic groups
|
| 220 |
+
- Cross-regional behavioral finance studies
|
| 221 |
+
|
| 222 |
+
## Citation
|
| 223 |
+
|
| 224 |
+
```bibtex
|
| 225 |
+
@dataset{electric_sheep_2026,
|
| 226 |
+
title={Electric Sheep: Alternative Credit Data for Thin-File Users},
|
| 227 |
+
author={ElectricSheepAfrica},
|
| 228 |
+
year={2026},
|
| 229 |
+
version={1.0},
|
| 230 |
+
license={MIT},
|
| 231 |
+
url={https://huggingface.co/datasets/electricsheepafrica/electric-sheep-credit}
|
| 232 |
+
}
|
| 233 |
+
```
|
| 234 |
+
|
| 235 |
+
## License
|
| 236 |
+
|
| 237 |
+
MIT — free for research and commercial use.
|
| 238 |
+
|
| 239 |
+
## Contact
|
| 240 |
+
|
| 241 |
+
[ElectricSheepAfrica](https://huggingface.co/electricsheepafrica)
|
US/features.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4685a4ca8e488ef30798849f2ddffd19ffe0ccd3f29124529b4d94f7d8df531
|
| 3 |
+
size 17537
|
US/labels_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:952084b91ffbd8d3beb063ca63fd80711fd6c1693c679960c4d21b53e70988d8
|
| 3 |
+
size 3737
|
US/labels_v2.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4689e7259f43b467c065c9cb2efee57b06d5c9369b713bd1061a585ffd31d0bf
|
| 3 |
+
size 4395
|
US/metadata.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"region": "US",
|
| 3 |
+
"currency": "USD",
|
| 4 |
+
"generated_at": "2026-03-21T13:48:29.655879",
|
| 5 |
+
"n_users": 30,
|
| 6 |
+
"n_transactions": 28084,
|
| 7 |
+
"seed": 42,
|
| 8 |
+
"label_method": "both",
|
| 9 |
+
"generation_time_seconds": 5.67,
|
| 10 |
+
"user_metadata": {
|
| 11 |
+
"region": "US",
|
| 12 |
+
"currency": "USD",
|
| 13 |
+
"n_users": 30,
|
| 14 |
+
"seed": 42,
|
| 15 |
+
"archetype_distribution": {
|
| 16 |
+
"stable_salaried": 9,
|
| 17 |
+
"financial_stress": 6,
|
| 18 |
+
"gig_worker": 6,
|
| 19 |
+
"student": 5,
|
| 20 |
+
"professional": 3,
|
| 21 |
+
"business_owner": 1
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
US/transactions.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4f1eb2657dbce6a13df1f2301c1daec19fe33aed9d612be456497dec8bcbfac
|
| 3 |
+
size 1684389
|
US/users.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec28c22b2b5b076f86a8ab4302241edbc7029aaca9015ba2afdf51ae59dcceeb
|
| 3 |
+
size 5607
|