Skip to content

Commit

Permalink
ADD: report computation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAuriau committed Oct 21, 2024
1 parent f47fc88 commit 2b3fac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/models/test_conditional_logit.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_mode_canada_fit():
canada_dataset = load_modecanada(as_frame=False, preprocessing="tutorial")

model = ConditionalLogit(coefficients=coefficients)
model.fit(canada_dataset)
model.fit(canada_dataset, get_report=True)

total_nll = model.evaluate(canada_dataset) * len(canada_dataset)
assert total_nll <= 1874.4, f"Got NLL: {total_nll}"
Expand Down

0 comments on commit 2b3fac5

Please sign in to comment.