pyriemann.utils.viz.plot_bihist

pyriemann.utils.viz.plot_bihist(X, y, n_bins=10, title='Histogram')

Plot histogram of bi-class predictions.

Parameters:
Xndarray, shape (n_matrices, 2)

Predictions, distances or probabilities.

yndarray, shape (n_matrices,)

Labels for each matrix.

n_binsint, default=10

Number of bins of histogram.

titlestr, default=”Histogram”

Title of figure.

Returns:
figmatplotlib figure

Figure of histogram.

Notes

New in version 0.6.