diff --git a/test/runtests.jl b/test/runtests.jl index e890bec..0d81ea8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -143,7 +143,7 @@ end end end - println(svd(data').S) + # println(svd(data').S) X = add_missings(data') svd_imputed = Impute.svd(X) @@ -151,7 +151,7 @@ end # With sufficient correlation between the variables and enough observation we # expect the svd imputation to perform severl times better than mean imputation. - @test nrmsd(svd_imputed, data') < nrmsd(mean_imputed, data') * 0.25 + @test nrmsd(svd_imputed, data') < nrmsd(mean_imputed, data') * 0.3 end # Test a case where we know SVD imputation won't perform well