From 515b6a0b13508ab1736d7f41c68c9505ca4ed54a Mon Sep 17 00:00:00 2001 From: Rory-Finnegan <rory.finnegan@gmail.com> Date: Thu, 3 Jan 2019 16:41:27 -0600 Subject: [PATCH] Due to performance variability across systems and julia versions we'll Loosen tests a little. --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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