Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.

3.3.5. fmralign.alignment_methods.Hungarian

class fmralign.alignment_methods.Hungarian[source]

Compute the optimal permutation matrix of X toward Y

Attributes:
Rscipy.sparse.csr_matrix

Mixing matrix containing the optimal permutation

__init__()
fit(X, Y)[source]
Parameters:
X: (n_samples, n_features) nd array

source data

Y: (n_samples, n_features) nd array

target data

transform(X)[source]

Transform X using optimal permutation computed during fit.