frites.core.copnorm_cat_1d#

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

Categorical Copula normalization for a single vector.

This function apply the copnorm per categories.

Parameters
xnumpy:array_like

Array of data of shape (n_epochs,)

ynumpy:array_like

Array of shape (n_epochs,) of integers describing the categories.

Returns
cxnumpy:array_like

Standard normal samples with the same empirical CDF value as the input.