From bd486a7ede764927326bcd5aabe43836d253c7ba Mon Sep 17 00:00:00 2001 From: Le Roux Erwan <erwan.le-roux@irstea.fr> Date: Fri, 9 Apr 2021 20:06:22 +0200 Subject: [PATCH] [projection snowfall] validate aic and bic for the spline models. --- .../test_temporal_estimator/test_gev_temporal_spline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_extreme_fit/test_estimator/test_temporal_estimator/test_gev_temporal_spline.py b/test/test_extreme_fit/test_estimator/test_temporal_estimator/test_gev_temporal_spline.py index 9df9ca10..4700e2ab 100644 --- a/test/test_extreme_fit/test_estimator/test_temporal_estimator/test_gev_temporal_spline.py +++ b/test/test_extreme_fit/test_estimator/test_temporal_estimator/test_gev_temporal_spline.py @@ -70,8 +70,8 @@ class TestGevTemporalSpline(unittest.TestCase): places=2) # Assert that indicators are correctly computed self.assertAlmostEqual(estimator.result_from_model_fit.nllh, estimator.nllh()) - # self.assertAlmostEqual(estimator.result_from_model_fit.aic, estimator.aic()) - # self.assertAlmostEqual(estimator.result_from_model_fit.bic, estimator.bic()) + self.assertAlmostEqual(estimator.result_from_model_fit.aic, estimator.aic()) + self.assertAlmostEqual(estimator.result_from_model_fit.bic, estimator.bic()) def test_gev_temporal_margin_fit_spline_two_linear_location(self): self.function_test_gev_temporal_margin_fit_non_stationary_spline(NonStationaryTwoLinearLocationModel, -- GitLab