Status
Functions to get the status of a run and save the status to CSV files.
Summary
dataclass
#
Summary(
by_state: dict[State, list[Trial]],
best: tuple[Trial, float] | None,
is_multiobjective: bool,
)
Summary of the current state of a neps run.
completed
#
Return all trials which are in a completed state.
df
#
df() -> DataFrame
Convert the summary into a dataframe.
Source code in neps\status\status.py
formatted
#
formatted() -> str
Return a formatted string of the summary.
Source code in neps\status\status.py
from_directory
classmethod
#
Create a summary from a neps run directory.
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. |
RETURNS | DESCRIPTION |
---|---|
tuple[Path, Path]
|
The paths to the configuration data CSV and the run data CSV. |
Source code in neps\status\status.py
status
#
Print status information of a neps run and return results.
PARAMETER | DESCRIPTION |
---|---|
root_directory
|
The root directory given to neps.run. |
print_summary
|
If true, print a summary of the current run state
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
tuple[DataFrame, Series]
|
Dataframe of full results and short summary series. |