NeptuneOptunaAnalyzer
Ancestors
systematica.tuners.base.BaseOptunaAnalyzersystematica.tuners.base.BaseAnalyzerabc.ABC
Methods
run_context
| Name | Type | Default | Description |
|---|---|---|---|
kwargs | tp.Kwargs | -- | Additional arguments to pass to neptune.init_run (e.g., with_id, mode). |
| Type | Description |
|---|---|
neptune.Run | The initialized Neptune run object. |
fetch_trials
| Name | Type | Default | Description |
|---|---|---|---|
metadata_tag | str | -- | The metadata field to fetch (e.g., ‘best/values’, ‘trials/trials’). |
run_ids | tp.Tuple[str] | -- | The ID(s) of the Neptune run(s) to fetch. |
is_trials | bool | -- | Whether the metadata represents trials (True) or other data (False). |
is_file | bool | True | Flag to fetch compressed file trials if True. Use namespace fetch() otherwise. Defaults to True. |
mode | str | read-only | Connection mode for Neptune. Options: ‘async’, ‘sync’, ‘offline’, ‘read-only’, ‘debug’. Defaults to ‘read-only’. |
| Type | Description |
|---|---|
pd.DataFrame | DataFrame containing the fetched metadata. |
fetch_feature_config
| Name | Type | Default | Description |
|---|---|---|---|
run | neptune.Run | -- | Neptune run. |
run_id | str | -- | The ID of the Neptune run to fetch. |
| Type | Description |
|---|---|
SystematicaError | No metadata found for run_id. |
| Type | Description |
|---|---|
tp.Kwargs | metadata params. |
get_all_trials
| Name | Type | Default | Description |
|---|---|---|---|
run_ids | str | -- | The ID(s) of the Neptune run(s) to fetch. |
is_file | bool | True | Flag to fetch compressed file trials through ‘trials/compressed_trials’ if True. Fetch ‘trials/trials’ otherwise. Defaults to True. |
| Type | Description |
|---|---|
pd.DataFrame | All trial data, including ‘run_id’ and ‘number’. |
fetch_optuna_study
- If the study used
InMemoryStorage, it will be loaded from the logged pickled study object. - If the study used database storage, it will be loaded from the logged database URL.
sys/id field.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
run_id | str | -- | The ID of the Neptune run to fetch. |
| Type | Description |
|---|---|
optuna.Study | The Optuna study object. |

