Dataset Viewer
Auto-converted to Parquet Duplicate
user_id
stringlengths
9
9
age_range
stringclasses
5 values
income_type
stringclasses
3 values
region
stringclasses
1 value
currency
stringclasses
1 value
account_tenure_days
int64
206
5.22k
primary_archetype
stringclasses
7 values
secondary_archetype
stringclasses
8 values
avg_monthly_income
float64
21.7
2.55k
income_volatility
float64
0.09
0.52
income_frequency
float64
0.77
10.3
income_trend
float64
-0.08
0.1
income_gap_months
int64
0
12
avg_monthly_spend
float64
23.2
2.19k
spending_volatility
float64
0.16
0.5
essential_spend_ratio
float64
0.73
0.82
discretionary_spend_ratio
float64
0.1
0.19
betting_ratio
float64
0.01
0.04
avg_balance
float64
-1,330.53
6.98k
min_balance
float64
-1,998.86
1.18k
max_balance
float64
81.5
12.2k
overdraft_frequency
float64
0
0.98
bill_payment_consistency
float64
0.6
0.84
recurring_expense_ratio
float64
0.01
0.38
transaction_frequency
float64
0.54
1.49
cashflow_stability_score
float64
0.48
0.88
risk_behavior_score
float64
0.03
0.68
credit_outcome
stringclasses
3 values
default_probability
float64
0
1
risk_bucket
stringclasses
3 values
BR_000000
46-55
salary
BR
BRL
4,679
financial_stress
gig_worker
167.55
0.3769
1.48
-0.029
7
182.83
0.4679
0.7563
0.1376
0.0382
-898.74
-1,452.59
140.46
0.9848
0.6523
0.0692
1.3567
0.4801
0.6834
bad
0.7778
high
BR_000001
46-55
salary
BR
BRL
3,303
stable_salaried
gambler
528.21
0.1076
1.12
0.0018
0
453.29
0.2665
0.7705
0.1406
0.0158
1,154.65
114.33
2,485.88
0
0.6579
0.1802
1.3324
0.8194
0.079
good
0
low
BR_000002
26-35
salary
BR
BRL
1,350
stable_salaried
business_owner
532.31
0.1352
0.99
0.0074
2
479.92
0.1626
0.7635
0.1451
0.0254
175.2
-498.35
847.76
0.2791
0.7299
0.2204
1.3338
0.8008
0.2666
bad
0.75
high
BR_000003
26-35
gig
BR
BRL
812
student
financial_stress
133.66
0.3553
2.23
-0.0086
4
113.7
0.2636
0.802
0.1172
0.024
-32.38
-250.13
179.6
0.6836
0.7014
0.0653
1.3862
0.6179
0.4618
bad
0.6
high
BR_000004
46-55
business
BR
BRL
3,595
business_owner
stable_salaried
481.04
0.2846
5.41
-0.0014
1
324.91
0.2937
0.7465
0.1609
0.0158
2,783.81
1,183.76
4,686.05
0
0.7095
0.0813
1.4876
0.7684
0.079
good
0
low
BR_000005
55+
gig
BR
BRL
5,221
cash_heavy
gig_worker
132.4
0.245
2.67
-0.008
4
120.92
0.3868
0.8049
0.1039
0.0336
-85.66
-348.85
121.81
0.8069
0.7104
0.0906
1.4335
0.5912
0.5714
bad
0.5714
high
BR_000006
26-35
salary
BR
BRL
1,215
financial_stress
stable_salaried
186.26
0.369
1.82
-0.0447
3
185.8
0.4545
0.7517
0.1283
0.0331
-259.31
-623.2
96.03
0.9434
0.6008
0.0799
1.2957
0.4844
0.6372
bad
0.75
high
BR_000007
46-55
salary
BR
BRL
3,204
stable_salaried
student
532.5
0.101
1.03
0
1
538.21
0.2125
0.7683
0.148
0.0187
-381.83
-1,043.14
408.02
0.8672
0.7302
0.2727
1.3063
0.6786
0.5271
bad
0.5714
high
BR_000008
26-35
gig
BR
BRL
1,465
gig_worker
gig_worker
23.66
0.1964
10.33
0.0039
0
28.81
0.233
0.7859
0.165
0.0098
172.2
96.35
238.69
0
0.7388
0.1418
1.4513
0.8189
0.049
good
0
low
BR_000009
26-35
salary
BR
BRL
1,308
stable_salaried
business_owner
520.47
0.1067
1.11
0.0032
0
500.85
0.2615
0.7626
0.1477
0.0153
612.11
1.15
1,438.49
0
0.7031
0.3764
1.4347
0.8302
0.0765
good
0
low
BR_000010
36-45
gig
BR
BRL
2,546
gig_worker
financial_stress
27.5
0.3658
9.6
-0.0105
1
27.16
0.1911
0.7744
0.1514
0.0104
127.84
57.32
198.54
0
0.6552
0.1276
1.353
0.764
0.052
good
0
low
BR_000011
26-35
salary
BR
BRL
1,166
financial_stress
financial_stress
186.29
0.3521
1.65
-0.0584
8
206.36
0.4414
0.7711
0.1272
0.0386
-1,330.53
-1,998.86
158.81
0.962
0.6551
0.0682
1.262
0.5006
0.674
bad
0.6667
high
BR_000012
18-25
gig
BR
BRL
372
student
stable_salaried
164.25
0.3096
3.56
-0.0156
1
108.59
0.2581
0.7942
0.0971
0.0289
279.19
-163.76
690.59
0.2687
0.7369
0.0706
1.4744
0.7233
0.2788
good
0
low
BR_000013
36-45
salary
BR
BRL
1,979
financial_stress
student
177.41
0.3705
1.69
-0.0552
6
205.83
0.4014
0.7622
0.1203
0.0377
-609.14
-1,638.16
383.57
0.9368
0.6377
0.1225
1.3049
0.5086
0.6569
bad
0.8571
high
BR_000014
18-25
business
BR
BRL
528
business_owner
student
520.03
0.3094
4.55
0.0066
0
308.16
0.248
0.7276
0.1768
0.0152
2,779.36
914.3
5,102.85
0
0.6581
0.0748
1.4763
0.7644
0.076
good
0
low
BR_000015
36-45
gig
BR
BRL
1,969
student
business_owner
160.64
0.3101
2.88
-0.0137
3
110.83
0.2378
0.7805
0.132
0.0237
641.27
-12.5
1,134.93
0.0107
0.6875
0.0478
1.408
0.771
0.1238
indeterminate
0.3333
medium
BR_000016
36-45
gig
BR
BRL
2,711
student
business_owner
146.13
0.3325
3.17
-0.0001
4
115.17
0.2663
0.7656
0.1329
0.03
254.48
-28.15
481.33
0.0186
0.7058
0.0777
1.406
0.7578
0.1593
good
0
low
BR_000017
18-25
salary
BR
BRL
344
stable_salaried
gig_worker
552.05
0.131
1.26
-0.0034
1
513.93
0.369
0.7698
0.1499
0.011
313.83
-257.31
815.74
0.064
0.8055
0.0133
1.352
0.7983
0.087
good
0
low
BR_000018
18-25
salary
BR
BRL
419
financial_stress
gig_worker
208.37
0.386
1.79
-0.0791
2
194.32
0.3077
0.7347
0.1601
0.0353
70.45
-264.86
327.36
0.2334
0.7695
0.0228
1.3732
0.6991
0.2932
indeterminate
0.3333
medium
BR_000019
36-45
gig
BR
BRL
2,294
gig_worker
student
23.72
0.2012
8.72
-0.0029
2
29.04
0.2492
0.7652
0.1743
0.0066
34.56
-66.68
124.34
0.2843
0.7271
0.1331
1.4311
0.7534
0.1752
indeterminate
0.4444
high
BR_000020
46-55
gig
BR
BRL
2,925
student
gig_worker
148.77
0.3523
3.09
0.0066
2
112.77
0.1595
0.7429
0.1345
0.028
338.97
6.3
697.24
0
0.651
0.0548
1.3659
0.7767
0.14
indeterminate
0.2
medium
BR_000021
36-45
salary
BR
BRL
2,509
stable_salaried
stable_salaried
509.46
0.0897
1.07
-0.005
0
569.85
0.2918
0.7665
0.1504
0.0125
-204.6
-1,235.02
580.02
0.6942
0.7216
0.3625
1.3709
0.691
0.4096
bad
0.5714
high
BR_000022
18-25
salary
BR
BRL
413
stable_salaried
business_owner
526.58
0.1051
0.77
0.0036
8
469.39
0.4248
0.7811
0.1359
0.0131
609.17
117.71
1,224.83
0
0.7667
0.2962
0.8481
0.7944
0.0655
good
0
low
BR_000023
26-35
business
BR
BRL
1,068
business_owner
gig_worker
432.91
0.3067
4.49
0.0022
1
372.38
0.2588
0.7345
0.1749
0.0199
469.62
-363.91
1,427.68
0.2121
0.6969
0.1039
1.4766
0.7273
0.2056
indeterminate
0.2
medium
BR_000024
18-25
gig
BR
BRL
255
gig_worker
stable_salaried
29.46
0.4805
3.6
0.0954
12
23.19
0.4972
0.735
0.1775
0.0166
260.95
233.59
281.63
0
0.8311
0.1291
0.5382
0.6729
0.083
good
0
low
BR_000025
26-35
salary
BR
BRL
1,521
professional
student
2,551.66
0.1125
1.07
-0.0027
0
2,185.53
0.1912
0.7378
0.1864
0.0103
6,979.99
733.89
12,170.7
0
0.7026
0.3678
1.4382
0.8494
0.0515
good
0
low
BR_000026
26-35
salary
BR
BRL
1,027
financial_stress
cash_heavy
176.98
0.3391
1.73
-0.0431
4
212.78
0.3969
0.7371
0.1418
0.0354
-740.05
-1,385.86
337.49
0.9321
0.6531
0.0383
1.3851
0.5234
0.643
bad
1
high
BR_000027
26-35
salary
BR
BRL
527
stable_salaried
professional
531.55
0.1115
1.14
0.0016
0
484.48
0.2769
0.7548
0.1629
0.0165
624.78
-176.45
1,415.31
0.0243
0.7394
0.2738
1.3308
0.8265
0.0946
good
0
low
BR_000028
18-25
gig
BR
BRL
206
gig_worker
student
21.69
0.1288
7.21
0.0165
1
29.25
0.1818
0.8218
0.1407
0.0056
75.13
48.02
125.82
0
0.8418
0.1623
1.3186
0.8752
0.028
good
0
low
BR_000029
26-35
gig
BR
BRL
1,102
cash_heavy
cash_heavy
134.84
0.5245
2.18
0.038
4
113.27
0.2672
0.8127
0.098
0.0294
-139.81
-388.99
81.54
0.84
0.7323
0.0574
1.3201
0.541
0.567
indeterminate
0.4444
high

⚠️ Synthetic dataset — Parameterized from published SSA literature, not real observations. Not suitable for empirical analysis or policy inference.

Electric Sheep — Alternative Credit Data for Thin-File Users

Dataset Summary

The Electric Sheep Alternative Credit Dataset is a synthetic dataset for modeling creditworthiness using behavioral financial data rather than traditional credit history. It targets thin-file users — individuals excluded from conventional credit scoring due to insufficient loan or credit card history.

Four culturally authentic regions:

Region Currency Dominant Channel Median Income
🇺🇸 US (United States) USD POS / Bank ~$17,400
🇳🇬 NG (Nigeria) NGN Mobile Money ~₦2,400
🇮🇳 IN (India) INR UPI ~₹1,900
🇧🇷 BR (Brazil) BRL PIX / Bank ~R$3,500

Files Per Region

Each region contains 2 files in {region}/:

File Description
credit_profiles.parquet User-level profiles with demographics, 19 behavioral features, and credit labels (1 row per user, 30 columns)
metadata.json Generation statistics

Raw transactions are in transactions/{region}.parquet (separate download, ~900 transactions per user).

Loading the Dataset

from datasets import load_dataset

# Load US region
ds = load_dataset("electricsheepafrica/electric-sheep-credit", name="US")
profiles = ds["train"]  # credit_profiles.parquet
print(profiles[0])

Or with pandas:

import pandas as pd

profiles = pd.read_parquet("US/credit_profiles.parquet")
transactions = pd.read_parquet("US/transactions.parquet")

Credit Profiles Schema (30 columns)

Demographics:

  • user_id — Unique identifier (US_000000)
  • age_range18-25, 26-35, 36-45, 46-55, 55+
  • income_typesalary, gig, business, unemployed
  • regionUS, NG, IN, BR
  • currencyUSD, NGN, INR, BRL
  • account_tenure_days — Length of financial activity
  • primary_archetype — Behavioral pattern (stable_salaried, gig_worker, etc.)
  • secondary_archetype — Secondary pattern

Behavioral Features (19):

  • avg_monthly_income — Mean monthly inflow
  • income_volatility — Coefficient of variation of income
  • income_frequency — Income events per month
  • income_trend — Linear trend (positive = growing)
  • income_gap_months — Months with zero income
  • avg_monthly_spend — Mean monthly outflow
  • spending_volatility — Variability of spending
  • essential_spend_ratio — Fraction on food, transport, bills, healthcare
  • discretionary_spend_ratio — Fraction on non-essentials
  • betting_ratio — Fraction on betting/gambling
  • avg_balance — Mean balance
  • min_balance — Lowest balance reached
  • max_balance — Highest balance reached
  • overdraft_frequency — Fraction of transactions with negative balance
  • bill_payment_consistency — Regularity of bills (0–1)
  • recurring_expense_ratio — Fraction of spending that recurs
  • transaction_frequency — Transactions per day
  • cashflow_stability_score — Composite stability score (0–1)
  • risk_behavior_score — Composite risk indicator (0–1)

Credit Labels:

  • credit_outcomegood, bad, indeterminate
  • default_probability — Estimated default risk (0–1)
  • risk_bucketlow, medium, high

Transactions Schema

Column Type Description
transaction_id string UUID
user_id string Foreign key
timestamp datetime Transaction time
amount float Signed: +income, -expense
transaction_type string credit or debit
category string food, transport, bills, entertainment, betting, transfer, savings, healthcare, other
channel string bank, cash, POS, mobile_money
merchant_type string Region-specific merchant
balance_estimate float Running balance
is_recurring bool Recurring payment flag
counterparty string Transfer partner (if applicable)
corridor string Remittance path (e.g., US→NG)

Feature Correlations with Creditworthiness

Feature US NG IN BR Interpretation
overdraft_frequency −0.73*** −0.84*** −0.80*** −0.74*** Strongest negative
cashflow_stability_score +0.58*** +0.70*** +0.71*** +0.66*** Strongest positive
betting_ratio −0.36* −0.60*** −0.65*** −0.60*** Significant negative
avg_balance +0.49** +0.56** +0.40* +0.48** Liquidity buffer
bill_payment_consistency +0.50** +0.50** +0.38* +0.37* Reliability signal

Label Distribution (V2 — Simulated Loans)

Region Good Bad Indeterminate Default Rate
US 63% 20% 17% 0.22
NG 47% 37% 16% 0.32
IN 60% 30% 10% 0.25
BR 47% 33% 20% 0.30

Use Cases

  • Credit scoring model development for thin-file populations
  • Benchmarking alternative data approaches
  • Financial inclusion research
  • Fairness and bias testing
  • Cross-regional behavioral finance studies

Limitations

  • Synthetic data (not from real financial institutions)
  • Simulated credit outcomes
  • Simplified temporal patterns
  • Approximate regional income levels

Citation

@dataset{electric_sheep_2026,
  title={Electric Sheep: Alternative Credit Data for Thin-File Users},
  author={ElectricSheepAfrica},
  year={2026},
  license={MIT},
  url={https://huggingface.co/datasets/electricsheepafrica/electric-sheep-credit}
}

License

MIT — free for research and commercial use.

Downloads last month
60