Skip to main content

models.IceCurves

The result of ice.

Usage

Source

models.IceCurves(
    feature,
    values,
    curves,
)

Attributes

feature: str
values: list
curves: list of list of float
curves[i][v]: row i’s prediction with the feature set to values[v] and its other columns as they are.

Attributes

Name Description
mean The mean curve over the rows: partial_dependence’s values.

mean

The mean curve over the rows: partial_dependence’s values.

mean

Methods

Name Description
centered() Each curve less its value at at (the first value by default),

centered()

Each curve less its value at at (the first value by default),

Usage

Source

centered(at=None)

so curves that differ only in level overlap (c-ICE).