PDPs and ICE Plots | Python Code | scikit-learn Package

Pubblicato il: 06 maggio 2024
sul canale di: A Data Odyssey
2,958
55

Both Partial Dependence Plots (PDPs) and Individual Conditional Expectation (ICE) plots are a popular explainable AI (XAI) method. They can visualise the relationships used by a machine learning model to make predictions. In this video, we will see how to apply the methods using Python. We will use the scikit-learn package and the PartialDependenceDisplay & partial_dependence functions.

We will see that this allows us to easily visualise the plots including:
PDPs for individual features
2-dimensional PDPs
Custom ICE Plots
ICE Plots for categorical features
ICE Plots for binary target variables

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

🚀 Companion article with link to code (no-paywall link): 🚀
https://medium.com/data-science/the-u...

🚀 Useful playlists 🚀
XAI:    • Explainable AI (XAI)  
SHAP:    • SHAP  
Algorithm fairness:    • Algorithm Fairness  

🚀 Get in touch 🚀
Medium:   / conorosullyds  
Threads: https://www.threads.net/@conorosullyds
Twitter:   / conorosullyds  
Website: https://adataodyssey.com/

🚀 Chapters 🚀
00:00 Introduction
00:51 Application with scikit-learn
02:21 Applying PDPs
08:22 Custom ICE Plot
09:48 2D PDPs
10:54 Categorical features
11:47 Binary target variables


In questa pagina del sito puoi guardare il video online PDPs and ICE Plots | Python Code | scikit-learn Package della durata di ore minuti seconda in buona qualità , che l'utente ha caricato A Data Odyssey 06 maggio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,958 volte e gli è piaciuto 55 spettatori. Buona visione!