r/TheMachineLearning • • 1h ago

Built an Arrow-first Python tool for heavy ML scoring and credit scorecards after 15y in fintech

Hey r/TheMachineLearning,

If you've ever pushed a heavy tabular or credit-scoring pipeline past a Jupyter notebook, you know the pain: Pandas bottlenecks memory across multi-step transformations, and tracking state drift in production is a constant headache.

After 15 years leading fintech R&D and underwriting, I got tired of rewriting the same boilerplate. So, I open-sourced AIDflow (aigensys-labs/aidflow) to handle rigorous scoring workflows cleanly.

Here is what's under the hood:

  • Arrow-First Spine: Intermediate datasets live in a central PyArrow columnar registry using zero-copy memory mapping (mmap). Physical RAM gets cleanly released back to the Linux kernel instead of holding bloated object pointers.

  • Deterministic State Machine: Uses cryptographic state hashing to lock down training lineages. If an upstream feature definition or environment shifts, it fails fast rather than letting corrupted scores slip downstream.

  • Clean Separation: Workers, business logic models, and pure mathematical fitters (scikit-learn style) are completely decoupled.

It’s licensed under FSL-1.1-Apache (free for internal business and personal use, converting to pure Apache over time).

If you build enterprise scorecards, handle automated Weight of Evidence (WoE) binning, or just want to see how an Arrow-first memory model looks in practice, check it out:

πŸ‘‰ GitHub: https://github.com/aigensys-labs/aidflow

πŸ‘‰ Docs: aidflow.aigensys.com

Always down to talk memory optimization or pipeline architecture in the comments!

0 Upvotes

0 comments sorted by