File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ def test_reconstruction_1():
281281 """
282282 havok = HAVOK (svd_rank = 16 , delays = 100 ).fit (x , t )
283283 error = x - havok .reconstructed_data
284- assert np .linalg .norm (error ) / np .linalg .norm (x ) < 0.05
284+ assert np .linalg .norm (error ) / np .linalg .norm (x ) < 0.1
285285
286286
287287def test_reconstruction_2 ():
@@ -290,7 +290,7 @@ def test_reconstruction_2():
290290 """
291291 havok = HAVOK (svd_rank = 4 , delays = 100 , structured = True ).fit (x , t )
292292 error = x [:- 1 ] - havok .reconstructed_data
293- assert np .linalg .norm (error ) / np .linalg .norm (x [:- 1 ]) < 0.07
293+ assert np .linalg .norm (error ) / np .linalg .norm (x [:- 1 ]) < 0.1
294294
295295
296296def test_predict_1 ():
@@ -394,7 +394,7 @@ def test_dmd_1():
394394 havok = HAVOK (svd_rank = 16 , delays = 100 , dmd = dmd ).fit (x , t )
395395 havok .plot_summary ()
396396 error = x - havok .reconstructed_data
397- assert np .linalg .norm (error ) / np .linalg .norm (x ) < 0.05
397+ assert np .linalg .norm (error ) / np .linalg .norm (x ) < 0.1
398398
399399
400400def test_dmd_2 ():
You can’t perform that action at this time.
0 commit comments