Skip to main content

models.AccumulatedLocalEffects

The result of ale.

Usage

Source

models.AccumulatedLocalEffects(
    feature,
    values,
    effects,
    counts,
)

Attributes

feature: str
values: list

A numeric feature’s grid z_0 < ... < z_K, or a categorical feature’s levels in the order the effects accumulate.

effects: list of float

The centred accumulated effect at each value.

counts: list of int
The rows in each interval (z_{k-1}, z_k] (the first closed), or at each level.