Analyse
"""How to generate a summary (neps.status) and visualizations (neps.plot) of a run.
Before running this example analysis, run the hyperparameters example with:
python -m neps_examples.basic_usage.hyperparameters
"""
import neps
# 1. At all times, NePS maintains several files in the root directory that are human
# read-able and can be useful
# 2. Printing a summary and reading in results.
# Alternatively use `python -m neps.status results/hyperparameters_example`
full, summary = neps.status("results/hyperparameters_example", print_summary=True)
config_id = "1"
print(full.head())
print("")
print(full.loc[config_id])