pyriemann.transfer.decode_domains

pyriemann.transfer.decode_domains(X_enc, y_enc)

Decode the domains of the matrices in the labels.

We handle the possibility of having different domains for the datasets by encoding the domain information into the labels of the matrices. This method converts the data into its original form, with a separate data structure for labels and for domains.

Parameters
X_encndarray, shape (n_matrices, n_channels, n_channels)

Set of SPD matrices.

y_encndarray, shape (n_matrices,)

Extended labels for each matrix.

Returns
Xndarray, shape (n_matrices, n_channels, n_channels)

Set of SPD matrices.

yndarray, shape (n_matrices,)

Labels for each matrix.

domainndarray, shape (n_matrices,)

Domains for each matrix.

See also

encode_domains

Notes

New in version 0.3.1.