SQLiteOptunaAnalyzer
Ancestors
systematica.tuners.base.BaseOptunaAnalyzersystematica.tuners.base.BaseAnalyzerabc.ABC
Static methods
from_storage_url
| Name | Type | Default | Description |
|---|---|---|---|
storage_url | str | DEFAULT_STORAGE_URL | SQLite storage URL. |
init_kwargs | tp.Kwargs | -- | Additional initialization kwargs. |
| Type | Description |
|---|---|
SQLiteOptunaAnalyzer | Initialized analyzer instance. |
Instance variables
-
init_kwargs: Dict[str, Any]: Initialization kwargs for storage configuration. -
storage_url: str: SQLite storage URL.
Methods
run_context
| Name | Type | Default | Description |
|---|---|---|---|
kwargs | tp.Kwargs | -- | Additional arguments (unused). |
| Type | Description |
|---|---|
None | No session needed - Optuna handles database connections internally. |
fetch_trials
| Name | Type | Default | Description |
|---|---|---|---|
metadata_tag | str | -- | Data type to fetch: - ‘best/params’: Best trial parameters - ‘best/values’: Best trial metric values - ‘study/distributions’: Parameter distributions - ‘trials/trials’: All trial data |
run_ids | tuple | -- | of str Study names to fetch. |
is_trials | bool | -- | Whether fetching trial-level data (True) or study-level data (False). |
is_file | bool | False | Unused, for API compatibility. |
mode | str | "read-only" | Unused, for API compatibility with base class. |
| Type | Description |
|---|---|
pd.DataFrame | DataFrame with fetched data. |
fetch_feature_config
| Name | Type | Default | Description |
|---|---|---|---|
session | Any | -- | Unused, kept for API compatibility with base class. |
run_id | str | -- | Study name. |
| Type | Description |
|---|---|
dict | Feature configuration dictionary. |
| Type | Description |
|---|---|
SystematicaError | If feature_config not found in study attributes. |
fetch_optuna_study
| Name | Type | Default | Description |
|---|---|---|---|
run_id | str | -- | Study name. |
| Type | Description |
|---|---|
optuna.Study | Loaded Optuna study object with all user attributes intact. |

