Iguanas

Readable fraud rules, generated from data and from tree models.

pip install iguanas

The problem

Fraud teams run on rules: short, readable conditions such as “amount above X and account younger than Y days” that analysts can audit, explain and switch off. Writing and tuning those rules by hand is slow, and the machine-learning models that catch more fraud are hard to turn into something an analyst can read.

What Iguanas does

Iguanas generates, evaluates and selects rules from labelled data:

It is built on Polars, so it handles large transaction tables quickly.

My role

I co-developed Iguanas in the PSP Data Team at PayPal, where it was open-sourced, and I still maintain it.

Get started

pip install iguanas          # or iguanas[onnx] for ONNX export

The documentation has a user guide and worked examples.