reset derived files to original state

This commit is contained in:
Gattocrucco 2025-08-26 10:56:55 +02:00
parent fca297a6e1
commit 5b6d050a52
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -993,8 +993,7 @@ print(sliding_window_view(Z, window_shape=4))
Z = np.random.uniform(0,1,(10,10))
U, S, V = np.linalg.svd(Z) # Singular Value Decomposition
threshold = len(S) * S.max() * np.finfo(S.dtype).eps
rank = np.sum(S > threshold)
rank = np.sum(S > 1e-10)
print(rank)
# alternative solution:

View File

@ -993,8 +993,7 @@ print(sliding_window_view(Z, window_shape=4))
Z = np.random.uniform(0,1,(10,10))
U, S, V = np.linalg.svd(Z) # Singular Value Decomposition
threshold = len(S) * S.max() * np.finfo(S.dtype).eps
rank = np.sum(S > threshold)
rank = np.sum(S > 1e-10)
print(rank)
# alternative solution: