Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Machine Learning for Credit Risk Python-Beginner to Advanced
Rating: 3.5 out of 5(7 ratings)
69 students

Machine Learning for Credit Risk Python-Beginner to Advanced

Build real Machine Learning models for Credit Risk using Python: PD, LGD, EAD, IFRS 9, Basel and Explainability
Last updated 12/2025
English

What you'll learn

  • Understand how Machine Learning is applied in Credit Risk modelling, including PD, LGD, EAD and IFRS 9 concepts, from both business and technical perspectives.
  • Develop end-to-end Python skills to build, train, validate and explain ML models for credit portfolios using real datasets and industry techniques.
  • Develop end-to-end Python skills to build, train, validate and explain ML models for credit portfolios using real datasets and industry techniques.
  • Learn to implement feature engineering, model evaluation (ROC/KS/GINI/Brier), SHAP explainability, and deployment pipelines using FastAPI and SQL.
  • Apply ML to real banking case studies including retail PD, SME LGD, EAD/CCF, and stress-testing.
  • Apply ML to real banking case studies including retail PD, SME LGD, EAD/CCF, and stress-testing.

Course content

11 sections110 lectures10h 59m total length
  • Welcome to Python Foundations for Credit Risk and Machine Learning3:49

    Master python foundations for credit risk and machine learning, covering syntax, data types, libraries, with steps from data preparation to deployment, including pd, lgd, ead, IFRS 9, and explainability.

  • Variables and Data Types in Python3:52

    Explore variables and data types in Python, including integers, floats, strings, and booleans, how Python infers types using the type function, and simple conversions for credit risk analysis.

  • Python Data Structures for Credit Risk Analysis6:23

    Explore Python data structures—lists, tuples, dictionaries, and sets—and organize and analyze credit risk datasets for machine learning models. See practical examples and when to use each structure.

  • If-Else Decision Logic5:22

    Explore decision logic with if, elif, and else in python to classify credit risk, set pd thresholds, and automate high or acceptable risk decisions across scorecards.

  • Loops in Python5:23

    Master for and while loops in Python to automate data processing and feature engineering for credit risk, using range, dictionary iteration, and break or continue to scale calculations.

  • Functions in Python5:56

    Explore functions in Python and learn to package logic into reusable blocks for PD calculators, ECL formulas, feature engineering, and ML pipelines, with parameters, returns, and clear naming.

  • Classes and Objects OOP in Python7:02
  • Modules and Libraries in Python6:25

    Explore modules and libraries in Python, including NumPy, Pandas, Matplotlib, and scikit-learn, to build, train, and visualize credit risk models (PD, LGD, EAD) and prepare data.

  • NumPy Basics5:46

    Learn NumPy, the fast, efficient numerical library behind ML tools. Create and manipulate arrays, perform vectorized operations, and apply these skills to PD, LGD, EAD, and ECL.

  • Pandas Basics6:44

    Master pandas basics for credit risk modeling, load and inspect data, clean and transform, create features, group and join datasets, and export results for modeling.

  • Working With Files in Python7:16
  • Mini Python Project End-to-End ECL Workflow5:31

    Load a portfolio dataset with balance, limit, pd, lgd, and ead; clean missing values; engineer utilization; apply risk flags; compute and export 12-month ECL for IFRS 9-style credit risk analysis.

  • PD Scoring and Risk Banding Expanded6:12

    Translate model outputs into decisions through PD scoring and risk banding. Establish monotonic bands, intuitive grades, and continuous monitoring aligned with IFRS 9 and governance.

  • End-to-End PD Mini Project4:52

    Build an end-to-end PD modeling pipeline—from model-ready data to scored outputs—benchmark logistic regression and advanced models using roc auc, ks, and risk bands, with governance and documentation.

Requirements

  • Basic understanding of Excel or numbers (no advanced skills required)
  • No prior programming experience needed — all Python concepts are taught step-by-step
  • A general interest in credit risk, finance, data analytics, or machine learning
  • A general interest in credit risk, finance, data analytics, or machine learning

Description

This course contains the use of artificial intelligence.


Machine Learning is transforming the way banks and financial institutions assess credit risk, build predictive models, and make lending decisions. This course teaches you how to apply Machine Learning techniques to Probability of Default (PD), Loss Given Default (LGD), Exposure at Default (EAD), and Expected Credit Loss modelling using Python.

Designed for both beginners and experienced professionals, the course covers every step required to build production-ready credit risk solutions. You will learn not only how to code these models, but also how they fit into real-world risk management, IFRS 9 provisioning, Basel capital modelling, and stress-testing environments.

Throughout the program, you will build hands-on models using practical Python examples and clearly structured workflow lessons.

You will learn how to:

• Build supervised Machine Learning models for PD, LGD, and EAD predictions
• Perform data preparation, data cleaning, and feature engineering
• Apply model performance metrics such as ROC, KS, Gini, and Brier Score
• Evaluate and compare models using logistic regression, tree-based methods, and boosting algorithms
• Use model explainability techniques including SHAP-based interpretation
• Create ML pipelines to train, score, and monitor production models
• Set up basic deployment concepts such as APIs, dashboards, and data feeds
• Understand risk governance expectations for model validation and transparency
• Connect ML concepts to real-world credit risk decisioning and portfolio management

The course includes structured examples and practical case studies such as retail PD modelling, LGD estimation examples, EAD modelling challenges, and credit portfolio stress-testing demonstrations.

By the end of this course, you will be able to:

• Build real Machine Learning solutions in Python
• Understand end-to-end model development in a financial risk setting
• Communicate results to analysts, stakeholders, and risk managers
• Apply modern ML methods in credit analytics, portfolio monitoring, and modelling projects

No prior Python programming experience is required. All coding concepts are introduced step-by-step, making this course accessible to motivated beginners, while offering advanced depth for experienced analysts, quants, and risk professionals.

This training is ideal for learners who want to upgrade their technical modelling capabilities and build confidence applying Machine Learning in real financial environments.

Who this course is for:

  • Credit Risk Analysts who want to upgrade from Excel/SAS to Python and Machine Learning
  • Banking and Finance professionals looking to understand modern credit modelling techniques
  • Data Analysts and aspiring Data Scientists interested in building real ML models used in banks
  • Students or graduates aiming for roles in Risk, Analytics, FinTech, or Quantitative Finance
  • Professionals preparing for IFRS 9, Basel, or credit-risk related projects