Status
neps.status.status
#
Functions to get the status of a run and save the status to CSV files.
get_run_summary_csv
#
Create CSV files summarizing the run data.
PARAMETER | DESCRIPTION |
---|---|
root_directory |
The root directory of the NePS run. |
get_summary_dict
#
Create a dict that summarizes a run.
PARAMETER | DESCRIPTION |
---|---|
root_directory |
The root directory given to neps.run. |
add_details |
If true, add detailed dicts for previous_results, pending_configs, and pending_configs_free.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
summary_dict
|
Information summarizing a run |
Source code in neps/status/status.py
post_run_csv
#
Create CSV files summarizing the run data.
PARAMETER | DESCRIPTION |
---|---|
root_directory |
The root directory of the NePS run. |
Source code in neps/status/status.py
status
#
status(
root_directory: str | Path,
*,
best_losses: bool = False,
best_configs: bool = False,
all_configs: bool = False,
print_summary: bool = True
) -> tuple[dict[str, ConfigResult], dict[str, SearchSpace]]
Print status information of a neps run and return results.
PARAMETER | DESCRIPTION |
---|---|
root_directory |
The root directory given to neps.run. |
best_losses |
If true, show the trajectory of the best loss across evaluations
TYPE:
|
best_configs |
If true, show the trajectory of the best configs and their losses across evaluations
TYPE:
|
all_configs |
If true, show all configs and their losses
TYPE:
|
print_summary |
If true, print a summary of the current run state
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
previous_results
|
Already evaluated configurations and results. pending_configs: Configs that have been sampled, but have not finished evaluating
TYPE:
|