frites.core.gcmi_mixture_1d_cd#
- frites.core.gcmi_mixture_1d_cd(x, y)[source]#
Gaussian-Copula MI between a continuous and a discrete variable.
This method evaluate MI from a Gaussian mixture.
The Gaussian mixture is fit using robust measures of location (median) and scale (median absolute deviation) for each class. I = gcmi_mixture_cd(x,y) returns the MI between the (possibly multidimensional).
- Parameters
- x, ynumpy:array_like
Continuous arrays of shape (n_epochs,) or (n_dimensions, n_epochs). y must be an array of integers
- Returns
- i
python:float
Information shared by x and y (in bits)
- i