Marginal#

class interpret.data.Marginal(feature_names=None, feature_types=None, max_scatter_samples=400)#

Provides a marginal plot for provided data.

Initializes class.

Parameters:
  • feature_names – List of feature names.

  • feature_types – List of feature types.

  • max_scatter_samples – Number of sample points in visualization.

explain_data(X, y, name=None)#

Explains data as visualizations.

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

  • y – Numpy vector for y to explain.

  • name – User-defined explanation name.

Returns:

An explanation object.