Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
5
15
h3>=4.0
numpy
pandas
networkx
python-louvain
scipy
folium
pyarrow
gradio
requests
geopandas
shapely
huggingface_hub

🎯 WOM (Word-of-Mouth) Propensity Platform β€” Romania & Moldova

A Herdify-style geographic word-of-mouth analysis platform covering Romania (2021 Census) and Moldova (2024 Census).

What it does: Maps where brand advocacy clusters geographically, identifies natural social communities, simulates how word-of-mouth spreads through those communities, and scores every ~5 kmΒ² hex cell for marketing amplification potential.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    CLIENT INTERFACE                       β”‚
β”‚  Gradio Dashboard + API                                  β”‚
β”‚  β€’ Upload CRM data β†’ View propensity heatmaps            β”‚
β”‚  β€’ Get activation recommendations per community          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚                              β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚  SCORING ENGINE     β”‚       β”‚  ACTIVATION ENGINE     β”‚
    β”‚  Per-cell propensityβ”‚       β”‚  Budget optimization   β”‚
    β”‚  scoring (XGBoost + β”‚       β”‚  Channel recommendationβ”‚
    β”‚  graph features)    β”‚       β”‚  (Influence Max)       β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚                              β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚              DIFFUSION MODEL LAYER                   β”‚
    β”‚  β€’ SIR-based brand adoption propagation model        β”‚
    β”‚  β€’ Geographic community graph                        β”‚
    β”‚  β€’ Temporal spread prediction                        β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
               β”‚                              β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚  GEO-FEATURE LAYER  β”‚       β”‚  COMMUNITY GRAPH       β”‚
    β”‚  Per H3-cell:       β”‚       β”‚  Nodes = H3 cells     β”‚
    β”‚  β€’ OSM features     β”‚       β”‚  Edges = similarity   β”‚
    β”‚  β€’ Census demographicsβ”‚     β”‚  β€’ Commuting flows    β”‚
    β”‚  β€’ Satellite-derivedβ”‚       β”‚  β€’ School catchments  β”‚
    β”‚  β€’ POI density      β”‚       β”‚  β€’ Church parishes    β”‚
    β”‚  β€’ GeoLLM embeddingsβ”‚       β”‚  β€’ Shopping patterns  β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

How It Works

1. H3 Hexagonal Grid

  • 58,670 cells at H3 resolution 7 (~5.44 kmΒ² each)
  • Uniform coverage of Romania (55,856 cells) + Moldova (2,814 cells)
  • Each cell has 6 neighbors β†’ natural graph structure

2. Feature Engineering (per cell)

  • OSM-derived: shops, restaurants, schools, churches, bus stops, hospitals, banks, etc.
  • Demographic estimates: population, urbanization score, income index, education, internet penetration
  • Community metrics: social cohesion, diaspora connection strength
  • Spatial: distance to nearest city, number of cities within 50km

3. Community Detection

  • Geographic proximity graph weighted by socioeconomic similarity
  • Louvain algorithm identifies natural "word-of-mouth communities"
  • Graph centrality metrics (degree, betweenness, clustering coefficient)

4. SIR Diffusion Model

  • Susceptible β†’ Infected β†’ Recovered epidemiological model
  • Brand WOM spreads through community graph
  • Infection rate modulated by: community cohesion Γ— internet penetration
  • Identifies "susceptible zones" ready for brand entry

5. Propensity Scoring (0-100)

Composite score from:

  • Community cohesion (25%) β€” high cohesion amplifies WOM
  • Population density (20%) β€” larger audience
  • Internet penetration (15%) β€” digital WOM speed
  • Graph betweenness centrality (15%) β€” well-connected nodes
  • Clustering coefficient (10%) β€” tightly-knit communities
  • Susceptibility state (15%) β€” not yet saturated

Data Sources

Layer Romania πŸ‡·πŸ‡΄ Moldova πŸ‡²πŸ‡©
Census INS 2021 (comuna/sat level) BNS 2024 (fresh!)
Map Data OpenStreetMap (excellent coverage) OpenStreetMap (good)
Boundaries ANCPI / Eurostat GISCO geo.gov.md / Eurostat
Satellite Sentinel-2 (ESA, free) Sentinel-2
Business Registry ONRC (~2M companies) ASP
Social Media Facebook (~11M), Instagram, TikTok Facebook (~1.5M), TikTok

Key Romania/Moldova Advantages

Opportunity Why It Matters
Diaspora Effect ~5M Romanians abroad β†’ remittance corridors create unique WOM pathways
2024 Moldova Census Freshest census data in the region β€” demographic precision advantage
Fast Internet Romania has among the fastest broadband in Europe β†’ digital WOM is highly trackable
Church Networks Strong Orthodox parish structure β†’ natural community boundaries
EU Data Access Eurostat, Copernicus, INSPIRE directive β†’ rich open geospatial data
First Mover No Herdify competitor exists in RO/MD

Files

File Description
build_mvp.py Complete pipeline: grid β†’ features β†’ graph β†’ diffusion β†’ scoring β†’ map
app.py Gradio dashboard for interactive exploration
README.md This file

Quick Start

pip install h3 numpy pandas networkx python-louvain scipy folium pyarrow gradio

# Run the full pipeline
python build_mvp.py

# Launch interactive dashboard
python app.py

Revenue Model (Indicative)

Tier What's Included Price
Explorer Static propensity map, 1 brand, quarterly €500-1,000/mo
Growth Dynamic map, community insights, activation recs €2,000-5,000/mo
Enterprise API, real-time CRM, multi-brand, custom models €5,000-15,000/mo

Target customers: eMAG, Kaufland, Lidl Romania, Orange, Vodafone, ING, BCR, UniCredit

Academic Foundations

  • GeoLLM (2310.06213): OSM + LLM knowledge achieves rΒ²=0.72 for socioeconomic prediction
  • DeepIM (2305.02200): GNN-based influence maximization
  • NNN (2504.06212): Transformer-based marketing mix with geographic embeddings
  • SIR Models: Epidemiological diffusion adapted for brand propagation

Production Roadmap

  • H3 grid covering RO + MD
  • Feature engineering pipeline
  • Community detection (Louvain)
  • SIR diffusion simulation
  • Propensity scoring model
  • Interactive map generation
  • Real OSM Overpass extraction (replace modeled features)
  • Romania 2021 Census microdata integration
  • Moldova 2024 Census integration
  • Sentinel-2 satellite features (NDVI, nightlights, built-up)
  • Real client CRM data calibration
  • Multi-brand diffusion (different Ξ²/Ξ³ per brand)
  • Diaspora network layer
  • Gradio production dashboard with live scoring API
  • A/B testing framework for causal validation
Downloads last month
31