mirror of
https://github.com/hanzoai/ml.git
synced 2026-11-19 23:50:51 +00:00
An example that fits both arms on the ULB card-fraud release — 284,807 real transactions, 492 of them fraud — and prints what each one separates. The isolation forest never sees a label and reaches 0.9606 ROC area on the held-out split, but 0.1545 average precision: at a 1% alarm budget it catches 32 of 49 frauds at 10.1% precision. The logistic fit on the same matrix reaches 0.7953 average precision and catches 45 of 49 at 24.1% precision on half the budget. Both numbers belong in the open because the gap between them is the argument for labelling, and the ROC areas alone would hide it. parquet is a DEV dependency: the crate takes its data as a Matrix, so a file format is never part of what it links.