mirror of
https://github.com/luxfi/aml.git
synced 2026-09-24 00:25:20 +00:00
851643291e30050b9cd006f71e371345a63dd761
Four packages, each one concept, all base-free and linkable from the
decision path:
reason the closed vocabulary an adverse decision is defended with,
DERIVED from anomaly.Inventory rather than declared beside it,
so it cannot describe a model that is not there. Ranked by the
model's own counterfactual share, never a surrogate.
calibrate isotonic (pool-adjacent-violators, exact) and Platt, turning a
density into a probability. Every map records the model shape it
was fitted under and REFUSES to answer under another, which is
the training-serving skew control: a calibration cannot outlive
the coordinates it describes.
policy the ladder from probability to action, as an immutable value
with a digest over what it DECIDES. Action names stay opaque
here so the vocabulary lives at the wire, in one place.
evaluate the imbalanced-data metrics — ROC-AUC by midranks, average
precision by the step definition, prevalence always beside
both, and a cost in exact int64 nano-units with the
cost-minimising threshold. Plus the deterministic replay of a
candidate over recorded history, and a two-arm learning curve
over a FIXED later window so two steps are comparable.
Accuracy is not computed. On a one-in-a-thousand stream it is not a weak
metric, it is a misleading one.
Co-authored-by: Hanzo Dev <[email protected]>
Description
Real-time AML/CFT transaction monitoring, sanctions screening and case management
2.1 MiB
Languages
Go
88.1%
TypeScript
9.3%
CSS
1.2%
Python
0.7%
JavaScript
0.4%
Other
0.2%