#Credit
Articles about Credit — exploring patterns, best practices, and real-world implementations in production systems.
16 posts tagged with credit. ← Blog home
Underwriting is the decision to do a deal; monitoring is everything after — watching whether the thesis still holds as the world changes, the borrower performs or deteriorates, and covenants tighten or breach. It's traditionally periodic, manual, and uneven, which means problems get noticed late. AI makes monitoring continuous: reading every update, tracking every covenant, and flagging variance from the original thesis the moment it appears. This post is about building the monitoring layer.
Monitoring is the long aftermath of a deal — watching whether the thesis still holds as the world changes. AI makes it continuous: reading every update, tracking every covenant, flagging variance from the thesis the moment it appears — attacking the classic failure of problems noticed too late. The make-or-break is signal over noise. (Educational, not financial advice.)
Underwriting is where a lender or investor decides whether a deal is worth doing — reading the materials, assessing the risk, forming a thesis, and documenting the judgment for an investment committee. It's slow, manual, judgment-heavy work, and it's one of the highest-value places AI can help: turning raw deal materials into structured, pressure-tested, auditable analysis. This post is about building AI underwriting that accelerates the work without surrendering the judgment or the accountability.
Underwriting turns deal materials into a decision — slow, manual, judgment-heavy work and a flagship AI application. Turning raw materials into structured, pressure-tested, auditable analysis: reading the deal record, surfacing risks, pressure-testing against precedent, drafting IC docs — while judgment stays human and everything stays traceable. (Educational, not financial advice.)
Why a scorecard trained only on funded loans quietly overstates its own accuracy, and the inference techniques that pull the declined population back into view.
Why credit models trained only on approved-and-funded loans are biased, and the reject-inference techniques (reclassification, parceling, augmentation) that correct for the applicants you never observed.
How lenders turn a model's raw probability into the specific, legally required reasons a declined applicant must receive.
Turning model outputs into legally-required adverse-action reason codes. Global vs local explainability, SHAP values, mapping contributions to reason codes, and fairness checks (disparate impact) that regulators expect.
How WOE binning turns raw variables into monotonic, interpretable predictors on a log-odds scale, and how Information Value ranks which features earn a place in a regulator-defensible scorecard.
How WOE binning turns raw variables into monotonic, interpretable predictors, how Information Value ranks feature predictive power, monotonic binning, handling missing/rare bins, and why this discipline underpins regulat…
How lenders turn application and bureau data into a single, defensible number — and why the interpretable scorecard still wins in regulated lending.
The end-to-end credit-scoring pipeline: target definition (bad = 90+ dpd), feature engineering, WOE transformation, a logistic-regression scorecard, points scaling (PDO), and validation (KS, Gini, AUC).
Modeling borrower hardship as an explicit state machine, so relief, delinquency, and accounting never disagree.
Modeling hardship: payment holidays, term extensions, re-aging, and how restructuring interacts with delinquency and accounting.
How a single loan payment is split across fees, interest, and principal — and why the engine that does it has to be deterministic, auditable, and safe to run twice.
How a loan payment is split across fees, penalties, accrued interest, and principal, with configurable waterfalls and partial-payment rules.
Modeling post-delinquency treatment paths — reminders, restructuring, settlement offers, and the charge-off handoff — as a state machine you can reason about.
Model post-delinquency treatment paths: reminders, restructuring, settlement offers, and charge-off/agency handoff.
Checkout-time soft credit checks, upfront merchant settlement, and the installment collection loop that carries the real risk.
Engineer a 4-installment BNPL flow: checkout-time soft credit check, upfront merchant settlement, and installment collection.
Design a loan origination pipeline from application through underwriting, offer, and disbursal.
Design a loan origination pipeline from application through underwriting, offer, and disbursal.
Track collateral valuation, loan-to-value, margin calls, and liquidation triggers as one auditable state machine.
Track collateral valuation, loan-to-value, margin calls, and liquidation triggers.
Model days-past-due transitions, SMA/NPA classification, provisioning triggers, and cure logic as one deterministic engine driven by time and repayment events.
Teaches how to model delinquency as a state machine: days-past-due bucket transitions, SMA/NPA classification rules, provisioning triggers, and cure/roll-forward/roll-back logic driven by repayment events.
How to assemble features from bureau, bank, and alt data, serve a scorecard or model, apply policy cutoffs, and emit adverse-action reason codes with a full audit trail.
Teaches how to build a decisioning engine: feature assembly from bureau/bank/alt data, scorecard vs ML model serving, policy rules and cutoffs, and adverse-action reason-code generation with an audit trail.
Computing loan amortization you can reproduce to the cent — annuity math, day-count conventions, the per-installment principal/interest split, and prepayment recomputation.
Teaches how to compute loan amortization deterministically: EMI/annuity vs reducing-balance formulas, day-count conventions, principal/interest split per installment, and prepayment/rescheduling recalculation.
How to compute interest that earns every day, tracks the accrued-but-unbilled balance, survives mid-period rate changes, and posts to the ledger with idempotent replay-safe jobs.
Teaches how to build a daily interest accrual engine: accrual basis and compounding, accrued-but-unbilled tracking, rate changes mid-period, and idempotent daily accrual jobs that post to the ledger.
All posts on this site are written by Pratik Dhanave, an Agentic AI Architect with 7+ years building production distributed systems, multi-agent AI platforms, and cloud-native infrastructure. About the author → Each article includes working code, architecture diagrams, and references to the specific frameworks and standards discussed. Browse the blog or explore related topics using the tag cloud above.