frites.core.gcmi_model_1d_cd#

frites.core.gcmi_model_1d_cd(x, y)[source]#

Gaussian-Copula MI between a continuous and a discrete variable.

This method is based on ANOVA style model comparison. I = gcmi_model_cd(x,y,Ym) returns the MI between the (possibly multidimensional) continuous variable x and the discrete variable y.

Parameters
x, ynumpy:array_like

Continuous arrays of shape (n_epochs,) or (n_dimensions, n_epochs). y must be an array of integers

Returns
ipython:float

Information shared by x and y (in bits)