Overview
"Informative, engaging, and well-grounded in the realities and complexities of the financial domain.”
—Tamer Khraisha, Author of Financial Data Engineering
Banks, insurance companies, mortgage lenders, and other institutions that deal with big money play by different rules than the rest of the software industry. Financial software—including machine learning and AI models—has to survive contact with regulators, risk committees, and real markets. Financial AI in Practice shows you how to design, ship, and defend AI systems that handle credit decisions, catch fraud, guide investments, and keep customers engaged, all under the constraints of a strictly regulated industry.
In this important book, author Taehun Kim distills a decade of fintech experience into a repeatable 4-Layer Framework—Data Assets, Modeling, Strategy & Monitoring, and Application. As you go, you’ll build AI-first financial systems that take on four real-world challenges—credit scoring, fraud detection, investment, and personalized predictions. You’ll start with an end-to-end credit scoring pipeline that trains and deploys an XGBoost model to prepare and validate data, orchestrate recurring workflows, engineer features with Weight of Evidence and Information Value, and deliver verifiable explanations.
You’ll also take on fraud detection using a tuned Light-GBM classifier with autoencoders that flag anomalous patterns through reconstruction error and a Graph Neural Network in PyTorch that uncovers fraud patterns in transaction networks. For investment, you’ll build a hybrid strategy that pairs a Random Forest engine with an LLM-powered news analyst. You’ll construct a full RAG pipeline that ingests the exact data sources you need and prompts a structured “LLM Analyst” portfolio advisor with a complete decision log.
Finally, you’ll turn predictions into revenue with a personalization engine that clusters users by “financial DNA” and an autonomous retention agent with tool-calling and a human-in-the-loop Draft-Approve process. Reviewer Christopher Forbes of OneSpan appreciated how “connecting the 4-Layer Framework to the four business solution streams provides a logical, cohesive roadmap for financial AI.”
Throughout the 14 hard-hitting chapters and 6 practical appendices, Taehun Kim refuses to skip the hard parts. Regulatory constraints, model risk, fair lending, hallucinations, cost-latency trade-offs, and the ROI conversation with the boardroom are treated as first-class engineering concerns. Reviewer Hasan Banna of InfinitiLoom Tech summed it up perfectly: “Taehun Kim has clearly built these systems in production environments where regulators ask hard questions and budget holders want ROI in dollars, not AUC points. That experience shows on every page.”
About the Technology
About the Book
What's Inside
Classic ML techniques paired with cutting edge LLMs
Supervised, unsupervised, and graph-based fraud detection
Defensible, explainable models and pipelines for regulatory oversight
Agentic AI workflows with human-in-the-loop governance.
About the Reader
For data scientists, ML engineers, product owners, and financial analysts building AI in regulated environments.
About the Author
Taehun Kim is a Staff Data Scientist at a major NYSE-listed e-commerce company, where he leads financial AI initiatives across fraud detection, credit risk, and large-scale decision systems. He is also a Kaggle Notebooks Grandmaster and an adjunct professor teaching financial AI.
Quotes
Comprehensive and clearly articulated guide.
- Lex Sokolin, Generative Ventures
Accessible and easy to follow, perfect for anyone new to finance and AI.
- Roxanne Howdle-Rowe, Lloyds Bank
Brilliantly breaks down complex financial AI concepts. An indispensable guide for developers, finance professionals, and students alike looking to navigate the future of finance.
- Sejoon Kim, PwC Korea
Recommended for everyone seeking a genuine understanding of how AI is developed and controlled in finance today.
- Soung Low, NatWest Group
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access
More than 5,000 organizations count on O’Reilly
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.Julian F.
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.Addison B.
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.Amir M.
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.Mark W.