shapiq.plot.abbreviate_feature_names¶

shapiq.plot.abbreviate_feature_names(feature_names)[source]¶

A rudimentary function to abbreviate feature names for plotting.

Parameters:

feature_names (Iterable[str]) – The feature names to be abbreviated.

Returns:

The abbreviated feature names.

Return type:

list[str]