gds_psuu.results¶
Sweep results and summary types.
Sweep results and summary types.
EvaluationSummary
¶
Bases: BaseModel
Summary of a single evaluation (without raw simulation data).
Source code in packages/gds-psuu/gds_psuu/results.py
SweepResults
¶
Bases: BaseModel
Container for all evaluation results from a sweep.
Source code in packages/gds-psuu/gds_psuu/results.py
summaries
property
¶
Summaries without raw simulation data.
best(kpi, *, maximize=True)
¶
Return the evaluation with the best score for the given KPI.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
kpi
|
str
|
Name of the KPI to optimize. |
required |
maximize
|
bool
|
If True, return the evaluation with the highest score. |
True
|
Source code in packages/gds-psuu/gds_psuu/results.py
best_by_objective(objective)
¶
Return the evaluation with the best objective score.
The objective reduces multiple KPI scores to a single scalar. Higher is better.
Source code in packages/gds-psuu/gds_psuu/results.py
to_dataframe()
¶
Convert to pandas DataFrame. Requires pandas installed.