-
[OPIK-2439] [P SDK] Implement calculation of mean/min/max/std for each metric in experiment after the evaluation (#3357)
发布于
2025-09-24 11:32:13 +00:00 - [OPIK-2439] [P SDK] Add aggregated score calculation support in an evaluation framework
- Introduced
EvaluationResultAggregatedScoresViewto represent aggregated evaluation scores. - Added
aggregate_evaluations_scoresmethod inEvaluationResultfor calculating and returning aggregated score views. - Refactored
_calculate_aggregated_scoresfor broader reuse in score aggregation logic. - Updated relevant docstrings and method annotations for clarity.
- [OPIK-2439] [P SDK] Fix typo in the
aggregate_evaluation_scoresmethod
- Renamed
aggregate_evaluations_scorestoaggregate_evaluation_scoresinEvaluationResult. - Added new test cases to cover aggregation scenarios, including handling of single, multiple, empty, and filtered-out scores.
- [OPIK-2448] [P SDK] Add detailed evaluation statistics display for verbose mode
- Introduced
display_evaluation_scores_statisticsfunction inreport.pyto show evaluation scores with mean, min, max, and std. - Updated
evaluator.pyto include detailed statistics when verbose mode is set to 2.
- [OPIK-2439] [P SDK] Extract and modularize score statistics logic
- Moved
ScoreStatisticsand_calculate_aggregated_scoresfunctionalities to a newscore_statistics.pymodule. - Updated
evaluation_result.pyto import and use the refactoredscore_statisticslogic for calculating aggregated statistics. - Improved code structure and reusability with clear separation of concerns.
- [OPIK-2439] [Docs] Add Python examples for analyzing evaluation results
- Added usage examples demonstrating
aggregate_evaluation_scoresto the documentation. - Updated evaluation guides with Python snippets showcasing how to analyze and compare model performance.
-
[OPIK-2439] [Docs] Updated documentation
-
[OPIK-2439] [Docs] Fixed documentation_preview_link.yml workflow.
下载附件