In developmentMITtabularboth

Transaction Categorizer.

Target (F1 convergence): hierarchical L1/L2 categorization via LightGBM + enrichment. CURRENTLY SERVED: the rules categoriser (rules_v1) — canonical L1/L2 + confidence, or not sorted. The trained bundle stays dormant behind CATEGORIZER_SERVING_ENABLED.

Foundation · LightGBM

What it does

The honest description.

Target (F1 convergence): hierarchical L1/L2 categorization via LightGBM + enrichment. CURRENTLY SERVED: the rules categoriser (rules_v1) — canonical L1/L2 + confidence, or not sorted. The trained bundle stays dormant behind CATEGORIZER_SERVING_ENABLED.

Try it (mock)

Run the model on your own input.

Demo runs in your browser against a mocked edge — no signup, no production data. The same shape as the live route.

Categorise a transaction (mock)

Loading the demo…

Architecture

How it works.

Transaction rows with date/amount/description/category/account_id_hashed/payment_method. CURRENTLY SERVED: the rules read the row's narration (masked), merchant text and direction only — never the amount, the payee's identity or the time. Target: multi-level L1/L2 with confidence. CURRENTLY SERVED: canonical category_l1 + category_l2, a rule-tier confidence (a priori, not calibrated), and metadata rules_version / category_rule / category_source=rules; no clear evidence -> uncategorized ('Not sorted yet'). A person's correction is never overwritten. Health (health_medical) stays in the person's own view: partner rows (category_l1 only), the shared-training corpus and the transaction.categorized event all read it as uncategorized (CMP-30).

Family

LightGBM

Foundation

LightGBM

Training data & drift

What it learned from, and how we watch it.

Source

Inputs: Transaction rows with date/amount/description/category/account_id_hashed/payment_method. CURRENTLY SERVED: the rules read the row's narration (masked), merchant text and direction only — never the amount, the payee's identity or the time.

Drift baseline · current quarter

Drift baseline not yet documented for this model.

What it's NOT
  • SPN-05 / MOD-02 (2026-10-09): the rules categoriser is the served default.
  • The flat XGBoost TF-IDF bundle (categorizer_v8) stays DO-NOT-SERVE behind CATEGORIZER_SERVING_ENABLED; the LightGBM + enrichment + hierarchical-taxonomy model is the convergence target.
  • Precision/coverage: python -m ml.models.transaction_categorizer.rules_eval.
Who calls this model

Across the house and the API.

Version history · immutable once published

Every release, traceable.

v12026-05-11catalog YAML migration (stage: in-development)catalog-yaml-migration

Data Mukodi holds about you is subject to DPDP §12 erasure (use /consent in the app), and any concern about this model can be raised via [email protected] under DPDP §13 grievance, or via /security.

← Back to all models