Coverage for src/tinycta/hyper/__init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.14.1, created at 2026-06-06 05:36 +0000

1"""Hyperparameter optimisation support via Optuna. 

2 

3Public API 

4---------- 

5- ``Study``: Frozen dataclass wrapping a completed Optuna study. 

6- ``optimize``: Convenience wrapper: build objective, run study, print, return ``Study``. 

7- ``get_config``: Set up logger and config sections for a notebook experiment. 

8- ``ExperimentConfig``: NamedTuple returned by ``get_config``. 

9""" 

10 

11from ._setup import ExperimentConfig, get_config 

12from ._study import Study, optimize 

13 

14__all__ = [ 

15 "ExperimentConfig", 

16 "Study", 

17 "get_config", 

18 "optimize", 

19]