Back to Browse

Accumulated Local Effect Plots (ALEs) | Explanation & Python Code

3.8K views
May 20, 2024
13:44

Highly correlated features can wreak havoc on your machine-learning model interpretations. To overcome this, we could rely on good feature selection. But there are still cases when a feature, although highly correlated, will provide some unique information leading to a more accurate model. So we need a method that can provide clear interpretations, even with multicollinearity. Thankfully we can rely on ALEs. We give you the intuition for how ALEs are created, formally define the algorithm used to create ALEs and apply ALEs using Python and the Alibi Explain package. We will see that, unlike other XAI methods like SHAP, LIME, ICE Plots and Friedman's H-stat, ALEs give interpretations that are robust to multicollinearity. πŸš€ Free Course πŸš€ Signup here: https://mailchi.mp/40909011987b/signup XAI course: https://adataodyssey.com/courses/xai-with-python/ SHAP course: https://adataodyssey.com/courses/shap-with-python/ πŸš€ Companion article with link to code (no-paywall link): πŸš€ https://medium.com/data-science/deep-dive-on-accumulated-local-effect-plots-ales-with-python-0fc9698ed0ee?sk=e8e9ccb23edf2ad33dc60b1e16cf2751 πŸš€ Useful playlists πŸš€ https://www.youtube.com/playlist?list=PLqDyyww9y-1SwNZ-6CmvfXDAOdLS7yUQ4 https://www.youtube.com/playlist?list=PLqDyyww9y-1SJgMw92x90qPYpHgahDLIK https://www.youtube.com/playlist?list=PLqDyyww9y-1Q0zWbng6vUOG1p3oReE2xS πŸš€ Get in touch πŸš€ Medium: https://conorosullyds.medium.com/ Threads: https://www.threads.net/@conorosullyds Twitter: https://twitter.com/conorosullyDS Website: https://adataodyssey.com/ πŸš€ Chapters πŸš€ 00:00 Introduction 01:17 Intuition 04:39 Formal Algorithm 07:22 Python Code

Download

1 formats

Video Formats

360pmp425.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Accumulated Local Effect Plots (ALEs) | Explanation & Python Code | NatokHD