Commit bd486a7e authored by Le Roux Erwan's avatar Le Roux Erwan
Browse files

[projection snowfall] validate aic and bic for the spline models.

parent dbe4a717
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -70,8 +70,8 @@ class TestGevTemporalSpline(unittest.TestCase): ...@@ -70,8 +70,8 @@ class TestGevTemporalSpline(unittest.TestCase):
places=2) places=2)
# Assert that indicators are correctly computed # Assert that indicators are correctly computed
self.assertAlmostEqual(estimator.result_from_model_fit.nllh, estimator.nllh()) 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.aic, estimator.aic())
# self.assertAlmostEqual(estimator.result_from_model_fit.bic, estimator.bic()) self.assertAlmostEqual(estimator.result_from_model_fit.bic, estimator.bic())
def test_gev_temporal_margin_fit_spline_two_linear_location(self): def test_gev_temporal_margin_fit_spline_two_linear_location(self):
self.function_test_gev_temporal_margin_fit_non_stationary_spline(NonStationaryTwoLinearLocationModel, self.function_test_gev_temporal_margin_fit_non_stationary_spline(NonStationaryTwoLinearLocationModel,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment