🏦 Part of our Banking & Financial Services Industry Training Series — browse all related courses →
About This Course
Credit risk remains one of the most consequential disciplines in modern banking and financial services. As regulators raise expectations around model transparency, stress testing, and capital adequacy, institutions are increasingly demanding professionals who can combine deep credit risk knowledge with practical data science capabilities. The ability to build probability-of-default models, estimate loss given default, and validate scorecards using open-source tools such as Python and R has become a core competency for risk analysts, quantitative modellers, and credit officers alike.
This 10-day programme delivered by TrainingComplex provides a rigorous, end-to-end curriculum that bridges credit risk theory and applied analytics. Beginning with the foundations of credit risk measurement and the Basel regulatory framework, the course progresses through data wrangling, exploratory analysis, logistic regression, machine learning-based credit models, and survival analysis techniques. Each day builds on the last, ensuring participants develop both conceptual clarity and the hands-on coding confidence to implement solutions in their own organisations.
Python and R are taught in tandem throughout the programme, allowing participants to appreciate the complementary strengths of each language — Python's extensive machine learning ecosystem and R's mature statistical modelling and visualisation libraries. Real banking datasets are used throughout, and participants complete a capstone project in which they design, build, and present a full credit risk model pipeline from raw data through to regulatory reporting outputs.
This course is ideal for professionals working in credit risk, retail and corporate lending, model validation, treasury, or financial regulation who wish to upgrade their analytical toolkit and contribute meaningfully to data-driven risk management. No prior Python or R experience beyond basic familiarity is assumed, though participants with some quantitative background will progress the furthest.
Who Should Attend
- Credit risk analysts and senior credit officers in banks, microfinance institutions, and development finance organisations
- Quantitative modellers and model validation professionals seeking hands-on programming skills
- Risk managers responsible for IFRS 9, Basel III/IV, or internal ratings-based (IRB) framework implementation
- Data scientists transitioning into financial services or credit risk roles
- Regulatory and compliance officers overseeing model governance and capital adequacy reporting
- Treasury and portfolio management professionals involved in loan book analysis and stress testing
- Financial technology (fintech) professionals building credit scoring engines for digital lending platforms
Learning Objectives
- Explain the conceptual and regulatory foundations of credit risk, including PD, LGD, EAD, and expected loss under Basel and IFRS 9 frameworks
- Set up and navigate Python and R environments for credit risk analytics, including key libraries such as scikit-learn, pandas, statsmodels, caret, and scorecardR
- Clean, explore, and engineer features from raw credit and loan performance datasets using both Python and R
- Build and interpret logistic regression scorecards with weight of evidence (WoE) transformation and information value (IV) analysis
- Develop, tune, and evaluate machine learning models — including decision trees, random forests, gradient boosting, and XGBoost — for credit classification tasks
- Apply survival analysis and vintage analysis techniques to model time-to-default and lifetime expected credit loss
- Estimate LGD and EAD using regression-based and model-based approaches aligned with regulatory requirements
- Conduct model validation, back-testing, and sensitivity analysis using industry-standard statistical tests and metrics
- Build stress testing scenarios and translate credit risk model outputs into capital and provision calculations
- Design a model governance and documentation framework consistent with SR 11-7, EBA guidelines, and institutional risk appetite
- Present and communicate credit risk model outputs effectively to both technical and non-technical stakeholders
- Complete an end-to-end capstone credit risk modelling project from data ingestion through to regulatory reporting deliverables
Course Modules
Module 1: Foundations of Credit Risk and the Regulatory Landscape
- Definition and taxonomy of credit risk: default risk, concentration risk, counterparty risk, and country risk
- Key credit risk metrics: Probability of Default (PD), Loss Given Default (LGD), Exposure at Default (EAD), and Expected Loss (EL)
- Basel II, III, and IV frameworks: standardised approach vs. internal ratings-based (IRB) approach
- IFRS 9 expected credit loss model: three-stage classification and forward-looking provisioning requirements
- Role of credit rating agencies and internal rating systems in risk measurement
- Overview of model risk management: SR 11-7, EBA guidelines, and the model lifecycle
Module 2: Python and R Environment Setup for Credit Risk Analytics
- Setting up Anaconda, Jupyter Notebook, and RStudio for a reproducible credit analytics workflow
- Key Python libraries for credit risk: pandas, NumPy, matplotlib, seaborn, scikit-learn, statsmodels, and lifelines
- Key R packages: tidyverse, scorecard, caret, survival, ggplot2, and xgboost
- Data import and export: reading loan tapes, credit bureau extracts, and financial datasets in CSV, Excel, and SQL formats
- Version control fundamentals with Git for model reproducibility and audit trails
- Best practices in script organisation, commenting, and notebook documentation for regulatory review
Module 3: Credit Data Wrangling and Exploratory Analysis
- Understanding typical credit dataset structures: application data, behavioural data, bureau data, and performance data
- Handling missing values in credit data: deletion, mean/median imputation, and model-based imputation strategies
- Detecting and treating outliers in financial variables such as income, debt-to-income ratio, and loan amount
- Exploratory data analysis: distribution plots, correlation matrices, and time-series trends in default rates
- Vintage analysis: constructing default rate curves by origination cohort to understand portfolio seasoning
- Feature engineering: creating derived variables such as utilisation rates, payment-to-income ratios, and days-past-due flags
Module 4: Weight of Evidence, Information Value, and Variable Selection
- Conceptual basis of Weight of Evidence (WoE) transformation and its role in logistic regression scorecards
- Calculating WoE and Information Value (IV) manually and using Python's scorecardpy and R's scorecard packages
- Interpreting IV thresholds: rules of thumb for predictive power classification in credit modelling
- Fine and coarse classing of continuous and categorical variables for WoE binning
- Variable selection strategies: IV filtering, Spearman correlation screening, and stepwise regression
- Documenting variable selection decisions for model governance and regulatory submission
Module 5: Logistic Regression and Scorecard Development
- Logistic regression theory: the logit link function, odds ratios, and coefficient interpretation in a credit context
- Building a logistic regression PD model in Python using statsmodels and scikit-learn
- Replicating the model in R using the glm function and the scorecard package
- Scaling model output to points: converting log-odds to a scorecard with PDO (points to double odds) scaling
- Model coefficient sign checking, multicollinearity diagnostics, and variance inflation factor (VIF) analysis
- Generating application scorecards with cut-off strategies for loan approval, pricing, and limit setting
Module 6: Model Performance Evaluation and Validation
- Discriminatory power metrics: ROC curve, AUC, Gini coefficient, and KS statistic — calculation and interpretation
- Calibration assessment: Hosmer-Lemeshow test, reliability diagrams, and predicted vs. actual default rate comparison
- Population stability index (PSI) and characteristic stability index (CSI) for monitoring model drift over time
- Back-testing methodology: out-of-time and out-of-sample validation frameworks
- Benchmarking: comparing scorecard performance against challenger models and industry benchmarks
- Documenting validation findings in a model validation report aligned with regulatory expectations
Module 7: Machine Learning Models for Credit Classification
- Decision trees for credit risk: CART methodology, pruning, and interpretability considerations
- Ensemble methods: Random Forest and Gradient Boosting Machines — how bagging and boosting improve predictive power
- XGBoost for credit default prediction: hyperparameter tuning with cross-validation in Python and R
- Model interpretability tools: SHAP (SHapley Additive exPlanations) values for explaining individual credit decisions
- Handling class imbalance in credit datasets: SMOTE, cost-sensitive learning, and threshold adjustment techniques
- Regulatory and ethical considerations of machine learning in credit decisioning: fairness, adverse action, and explainability
Module 8: LGD and EAD Modelling
- Economic and regulatory definitions of Loss Given Default: the cure rate, recovery rate, and collateral valuation concepts
- Data requirements for LGD modelling: workout data, recovery timelines, and discounting cash flows
- Regression approaches to LGD modelling: beta regression, two-stage models, and censored regression in Python and R
- Exposure at Default modelling for revolving facilities: credit conversion factors (CCF) and behavioural limits
- Sensitivity of EL to LGD and EAD assumptions: scenario analysis and conservative margin of caution adjustments
- IFRS 9 vs. Basel IRB LGD: differences in downturn adjustments, discounting, and eligible collateral recognition
Module 9: Survival Analysis and Lifetime Credit Loss Modelling
- Introduction to survival analysis: the survival function, hazard function, and censoring in credit default data
- Kaplan-Meier estimator: plotting survival curves by risk segment in Python (lifelines) and R (survival package)
- Cox proportional hazards model: estimating time-to-default with covariate adjustment
- Accelerated failure time (AFT) models as an alternative to the Cox model in credit risk applications
- Multi-period PD term structure: projecting conditional PDs across the lifetime of a loan for IFRS 9 Stage 2 and Stage 3
- Integrating survival model outputs into lifetime expected credit loss (LECL) calculations for IFRS 9 reporting
Module 10: Stress Testing and Macro-Economic Scenario Modelling
- Purpose and regulatory basis of credit risk stress testing: EBA, Federal Reserve DFAST, and central bank stress test frameworks
- Linking macro-economic variables (GDP growth, unemployment, interest rates) to PD through satellite models
- Building a vector autoregression (VAR) or OLS-based macro-credit linkage model in Python and R
- Scenario design: constructing baseline, adverse, and severely adverse macro-economic paths
- Translating stressed PD, LGD, and EAD estimates into stressed expected loss and capital impact
- Presenting stress test results to senior management and the board: narrative, tables, and visualisation best practices
Module 11: IFRS 9 Impairment Modelling and Regulatory Reporting
- IFRS 9 staging criteria in practice: significant increase in credit risk (SICR) triggers and backstop provisions
- Forward-looking information: sourcing, weighting, and incorporating macro-economic forecasts into ECL calculations
- Probability-weighted scenario approach for ECL: constructing weighted average ECL across multiple macro scenarios
- Building an IFRS 9 ECL calculation engine in Python: loan-level staging, PD term structure, and discounting
- Reconciling model-derived provisions with management overlays and expert credit judgement
- Regulatory disclosure requirements: IFRS 7 credit risk disclosures, pillar 3 reports, and auditor liaison
Module 12: Model Governance, Documentation, and Risk Culture
- The model lifecycle: development, approval, implementation, monitoring, and retirement phases
- Writing a model development document (MDD): structure, required content, and evidence standards for regulatory review
- Independent model validation: roles, responsibilities, and governance structures in financial institutions
- Model risk rating frameworks: assigning materiality and tiering to credit models across the portfolio
- Embedding model governance in risk culture: training, escalation protocols, and the role of the chief risk officer
- Regulatory interaction on credit models: responding to supervisory findings, model approval processes, and remediation plans
Module 13: Capstone Project: End-to-End Credit Risk Model Pipeline
- Project scoping: defining the business problem, target variable, modelling population, and performance window
- Data pipeline construction: ingesting, cleaning, and feature-engineering a provided real-world loan dataset
- Model selection and build: comparing scorecard, logistic regression, and gradient boosting approaches with documented rationale
- Validation and stress testing: applying back-testing, PSI monitoring, and a macro-economic stress scenario to the chosen model
- IFRS 9 integration: computing ECL at loan level using the developed PD term structure and LGD estimates
- Final presentation: each participant or team presents their model, validation findings, and governance documentation to the cohort and receives structured peer and instructor feedback
Requirements & Prerequisites
Participants should have a working knowledge of credit risk concepts such as loan classification, provisioning, and portfolio management. Familiarity with basic statistics — including regression, probability distributions, and hypothesis testing — is expected, as the course moves quickly into applied modelling. Prior exposure to Python or R at a beginner level is helpful; participants who have never written code before are advised to complete a short introductory programming tutorial before attending.
Training Methodology
- Guided live-coding sessions in both Python and R, with instructors walking through model-building steps on real banking datasets that participants replicate on their own laptops
- Case study analysis drawn from retail banking, SME lending, mortgage portfolios, and digital credit platforms across African and Middle Eastern markets
- Scorecard development workshops in which participants build a complete WoE/IV logistic regression scorecard from raw loan application data
- Model comparison exercises where participants benchmark logistic regression against machine learning alternatives using ROC-AUC, KS statistic, and Gini coefficient
- Group stress-testing simulation in which teams apply adverse macroeconomic scenarios to a shared loan portfolio and present capital impact findings
- Peer model review sessions modelled on industry validation practices, where participants critique each other's model assumptions and documentation
- Capstone project with structured milestones across the programme, culminating in a final presentation of a full credit risk modelling pipeline to the cohort
- Regulatory mapping exercises linking model outputs to IFRS 9 staging criteria, Basel IRB requirements, and supervisory reporting templates
Organisational Benefits
- Institutions gain staff who can develop and maintain in-house credit scoring and PD/LGD/EAD models, reducing reliance on costly external vendors
- Improved model quality and validation rigour supports regulatory compliance with Basel III/IV, IFRS 9, and central bank supervisory expectations
- Data-driven credit decisions reduce non-performing loan ratios and improve portfolio profitability
- Python and R skills enable faster, reproducible, and auditable model development workflows across the risk function
- Strengthened stress testing and scenario analysis capabilities enhance board-level risk reporting and capital planning
- Organisations build internal model governance capacity, reducing regulatory censure risk and model-related capital add-ons
- Cross-functional teams benefit from a shared analytical language, improving collaboration between credit, finance, technology, and compliance departments
Where Is Credit Risk Analytics using Python and R Training Offered?
This course runs in-person across: Abuja, Arusha, Nakuru, Addis Ababa, Dubai, Nairobi, Zanzibar, Kisumu, Pretoria, Kigali, Kampala, Cape Town, Lagos, Riyadh, Naivasha, Mombasa, Dar es Salaam, Accra, Johannesburg, plus Live Virtual (online) cohorts. Browse live dates for your city below.
Upcoming Schedules
| Location | Format | Dates | Price |
| Live Virtual |
Online |
24 Oct 2026 – 13 Dec 2026 |
KES 160,000 |
| Live Virtual |
Online |
26 Oct 2026 – 4 Nov 2026 |
KES 160,000 |
| Abuja, Nigeria |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
USD 5,600 |
| Arusha, Tanzania |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
USD 4,200 |
| Nakuru, Kenya |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
KES 240,000 |
| Addis Ababa, Ethiopia |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
USD 4,800 |
| Dubai, United Arab Emirates |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
USD 8,200 |
| Nairobi, Kenya |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
KES 230,000 |
| Zanzibar, Tanzania |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
USD 5,000 |
| Kisumu, Kenya |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
KES 240,000 |
| Pretoria, South Africa |
In-Person |
26 Oct 2026 – 4 Nov 2026 |
USD 6,600 |
| Dubai, United Arab Emirates |
In-Person |
2 Nov 2026 – 13 Nov 2026 |
USD 8,200 |
| Zanzibar, Tanzania |
In-Person |
2 Nov 2026 – 11 Nov 2026 |
USD 5,000 |
| Nakuru, Kenya |
In-Person |
2 Nov 2026 – 11 Nov 2026 |
KES 240,000 |
| Nairobi, Kenya |
In-Person |
2 Nov 2026 – 13 Nov 2026 |
KES 230,000 |
+227 more dates — view live schedule →
Frequently Asked Questions
Do I need to be an experienced programmer before attending this course?
Prior programming experience is not required, but participants should have at least basic familiarity with Python or R — such as having run scripts and worked with data frames. Those who have never coded before are strongly encouraged to complete a free introductory Python or R tutorial before the course begins, as the programme moves quickly into applied modelling from Day 1.
Will I receive a certificate on completion?
Yes. Participants who attend the full programme and complete the capstone project receive a TrainingComplex Certificate of Completion in Credit Risk Analytics using Python and R, which can be referenced on a professional CV and LinkedIn profile.
What software will I need, and will it be provided?
Participants should bring a laptop with Anaconda (Python 3.x) and RStudio installed prior to arrival — both are free to download. Detailed installation instructions and a pre-course setup guide are shared by TrainingComplex in advance. All datasets, code templates, and course materials are provided digitally during the programme.
Is this course applicable to IFRS 9 and Basel regulatory requirements?
Yes — regulatory alignment is a central theme throughout the course. Dedicated modules cover IFRS 9 expected credit loss modelling, Basel IRB requirements for PD/LGD/EAD, and model governance frameworks consistent with EBA guidelines and SR 11-7. Participants leave with practical tools they can apply directly to regulatory reporting and capital adequacy work.
Can this course be delivered in-house for a bank or financial institution?
Absolutely. TrainingComplex offers customised in-house delivery of this programme for teams of six or more, with the curriculum tailored to the institution's specific loan products, internal datasets, and regulatory jurisdiction. Please contact TrainingComplex directly to discuss a bespoke proposal.
View Live Schedule & Book →