QuaPy/quapy/tests
Alejandro Moreo Fernandez d904c2ce24 add random_state to calibration classes, fix flaky calibration test
fit_tr_val's train_test_split had no random_state, so val_split=float
picked a different split every run; occasionally the split produced a
posterior distribution that made abstention's temperature-scaling
L-BFGS optimizer diverge to NaN. Threaded random_state through the
base class and all four calibrator subclasses, and pinned the test to
a seed confirmed stable across repeated runs.
2026-07-20 11:16:43 +02:00
..
__init__.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
_synthetic.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
integration_datasets.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
integration_methods.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
test_base.py refactored unittests 2024-04-16 17:46:58 +02:00
test_bayesian_utils.py Add smoke tests for previously-untested modules, fix wasteful svmperf tmpdir creation 2026-07-04 19:05:06 +02:00
test_calibration.py add random_state to calibration classes, fix flaky calibration test 2026-07-20 11:16:43 +02:00
test_confidence.py improving doc manuals and added bonferroni parameter to interval construction 2026-07-06 12:11:24 +02:00
test_evaluation.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
test_functional.py improving docs and new example for image datasets 2026-07-03 17:07:02 +02:00
test_hierarchy.py mergin and solving pytests 2025-10-06 12:13:10 +02:00
test_labelcollection.py adding documentation 2023-02-14 18:04:13 +01:00
test_methods.py added EDx and improve doc 2026-07-07 15:46:45 +02:00
test_modsel.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
test_plot.py improving docs and new example for image datasets 2026-07-03 17:07:02 +02:00
test_protocols.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
test_reader.py Add smoke tests for previously-untested modules, fix wasteful svmperf tmpdir creation 2026-07-04 19:05:06 +02:00
test_replicability.py integrating bayesian methods and related functionality, plus unit test refactor 2026-06-05 14:08:06 +02:00
test_threshold_optim.py Add smoke tests for previously-untested modules, fix wasteful svmperf tmpdir creation 2026-07-04 19:05:06 +02:00