pyntbci.utilities.euclidean
- pyntbci.utilities.euclidean(A: ndarray[tuple[Any, ...], dtype[_ScalarT]], B: ndarray[tuple[Any, ...], dtype[_ScalarT]]) ndarray[tuple[Any, ...], dtype[_ScalarT]] [source]
Compute the Euclidean distance. Computed between two sets of variables.
- Parameters:
A (NDArray) – The first set of variables of shape (n_A, n_samples).
B (NDArray) – The second set of variables of shape (n_B, n_samples).
- Returns:
scores – The correlation matrix of shape (n_A, n_B).
- Return type:
NDArray