Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transpose the input to get_nr_primary_components in misfit preprocessor
- Fixes bug that crept in when moving from Semeio. - The singular values are invariant to transposition, however the centering of the matrix depends upon the matrix orientation. - np.mean(x, axis=0) will calculate mean for each column, and so we need to ensure that the input is of dim (nr_realizations, nr_observations).
- Loading branch information