Skip to content

Commit

Permalink
Update adaptive_permutation_threshold.py
Browse files Browse the repository at this point in the history
variable unnecessary and without meaning in this context
  • Loading branch information
lionelkusch authored Dec 13, 2024
1 parent b006a08 commit 23f7f64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hidimstat/adaptive_permutation_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 23f7f64

Please sign in to comment.