{{Short description|Machine learning method}} '''Accumulated local effects''' ('''ALE''') is a [[machine learning]] interpretability method.<ref name=":0">{{Cite web |last=Rodriguez |first=Jesus |title=Edge 255: Interpretability Methods: Accumulated Local Effects (ALE) |url=https://thesequence.substack.com/p/edge-255-interpretability-methods |access-date=2022-12-27 |website=thesequence.substack.com |date=27 December 2022 |language=en}}</ref>

== Concepts == ALE uses a conditional feature distribution as an input and generates augmented data, creating more realistic data than a marginal distribution.<ref name=":2">{{Cite web |title=Accumulated Local Effects — ADS 2.7.0 documentation |url=https://docs.oracle.com/en-us/iaas/tools/ads-sdk/latest/user_guide/model_training/model_explainability/accumulated_local_effects.html |access-date=2022-12-31 |website=docs.oracle.com}}</ref>

It ignores far out-of-distribution (outlier) values.<ref name=":0" /> Unlike partial dependence plots and marginal plots, ALE is not defeated in the presence of correlated predictors.<ref name=":1">{{Cite web |last=Gupta |first=Aman |date=2020-10-25 |title=Accumulated Local Effects (ALE)-Feature Importance Technique |url=https://www.analyticsvidhya.com/blog/2020/10/accumulated-local-effects-ale-feature-effects-global-interpretability/ |access-date=2022-12-27 |website=Analytics Vidhya |language=en}}</ref>

It analyzes differences in predictions instead of averaging them by calculating the average of the differences in model predictions over the augmented data, instead of the average of the predictions themselves.<ref name=":2" />

== Example == Given a model that predicts house prices based on its distance from city center and size of the building area, ALE compares the differences of predictions of houses of different sizes. The result separates the impact of the size from otherwise correlated features.<ref name=":0" />

== Limitations == Defining evaluation windows is subjective. High correlations between features can defeat the technique.<ref name=":0" /><ref name=":1" /> ALE requires more and more uniformly distributed observations than PDP so that the [[conditional distribution]] can be reliably determined. The technique may produce inadequate results if the data is highly sparse, which is more common with high-dimensional data ([[curse of dimensionality]]).<ref name=":2" />

== See also ==

* [[Interpretability (machine learning)]]

== References == {{Reflist}}

== External links ==

* {{Cite book |first=Michael |last=Munn |url=http://worldcat.org/oclc/1350433516 |title=Explainable AI for Practitioners |date=2022 |publisher=O'Reilly Media, Incorporated |isbn=978-1-0981-1910-2 |oclc=1350433516}}

[[Category:Machine learning algorithms]]