mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
Update metrics.py
This commit is contained in:
parent
16c6897b21
commit
3157e6d7e8
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ def get_std_min_max_avg(name: str, data: list, metrics_dict: dict) -> dict:
|
|||
metrics_dict: Dictionary to add the computed metrics to.
|
||||
|
||||
Returns:
|
||||
dict: A dictionary containing the standard deviation, minimum, maximum, and average.
|
||||
The updated metrics dictionary with added statistics (mean, std, max, min).
|
||||
"""
|
||||
metrics_dict[f"{name}_mean"] = np.mean(data)
|
||||
metrics_dict[f"{name}_std"] = np.std(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue