Permutation Feature Importance from Scratch | Explanation & Python Code

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • Feature importance scores are a collection of methods all used to answer one question: which machine learning model features have contributed the most to predictions in general? Amongst all these methods, permutation feature importance is the most popular. This is due to it’s intuitive calculation and because it can be applied to any machine learning model. Understanding PFI is also an important first step in understanding more complex explainable AI methods like SHAP, LIME and PDPs.
    In this video, we’re going to gain a deep understanding of PFI. To do this, we will use Python to calculate importance scores from scratch. We will also discuss the logic behind the method including why we permute, repeat and which metric to use. Really, we will be focussing on the P in PFI. Permutation is an important part of many model-agnostic methods. Taking time to understand this approach and its limitations will make those methods easier to understand.
    🚀 Free Course 🚀
    Signup here: mailchi.mp/40909011987b/signup
    XAI course: adataodyssey.com/courses/xai-...
    SHAP course: adataodyssey.com/courses/shap...
    🚀 Companion article with link to CODE (no-paywall link): 🚀
    medium.com/towards-data-scien...
    🚀 Useful playlists 🚀
    XAI: • Explainable AI (XAI)
    SHAP: • SHAP
    Algorithm fairness: • Algorithm Fairness
    🚀 Get in touch 🚀
    Medium: / conorosullyds
    Threads: www.threads.net/@conorosullyds
    Twitter: / conorosullyds
    Website: adataodyssey.com/
    🚀 Chapters 🚀
    00:00 Introduction
    01:15 PFI from scratch
    06:54 The logic behind PFI
    10:02 The limitations of permutation

КОМЕНТАРІ • 1

  • @adataodyssey
    @adataodyssey  Місяць тому

    🚀 Free Course 🚀
    Signup here: mailchi.mp/40909011987b/signup
    XAI course: adataodyssey.com/courses/xai-with-python/
    SHAP course: adataodyssey.com/courses/shap-with-python/