From 23f7f643e7c12f5c8936ed7d683f8ce57a7ad29e Mon Sep 17 00:00:00 2001 From: lionel kusch Date: Fri, 13 Dec 2024 16:58:21 +0100 Subject: [PATCH] Update adaptive_permutation_threshold.py variable unnecessary and without meaning in this context --- hidimstat/adaptive_permutation_threshold.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hidimstat/adaptive_permutation_threshold.py b/hidimstat/adaptive_permutation_threshold.py index 583e8a1..1dc449a 100644 --- a/hidimstat/adaptive_permutation_threshold.py +++ b/hidimstat/adaptive_permutation_threshold.py @@ -53,8 +53,6 @@ def _manual_inversion(X, rcond=1e-3): "Inverting taking care of low eigenvalues to increase numerical stability" X = np.asarray(X) - n_samples, n_features = X.shape - U, s, V = np.linalg.svd(X, full_matrices=False) rank = np.sum(s > rcond * s.max()) s_inv = np.zeros(np.size(s))