ClassHistogram#

class interpret.data.ClassHistogram(feature_names=None, feature_types=None)#

Provides histogram visualizations for classification problems.

Initializes class.

Parameters:
  • feature_names – List of feature names.

  • feature_types – List of feature types.

explain_data(X, y, name=None)#

Generates data explanations (exploratory data analysis)

Parameters:
  • X – Numpy array for X to explain.

  • y – Numpy vector for y to explain.

  • name – User-defined explanation name.

Returns:

An explanation object.