File tree Expand file tree Collapse file tree
vertexai/preview/evaluation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,14 +211,12 @@ def _separate_custom_metrics(
211211def _aggregate_summary_metrics (
212212 evaluation_run_config : evaluation_base .EvaluationRunConfig ,
213213 metrics_table : "pd.DataFrame" ,
214- error_list : List [Tuple [str , int , str ]],
215214) -> Dict [str , Any ]:
216215 """Computes summary metrics.
217216
218217 Args:
219218 evaluation_run_config: Evaluation Run Configurations.
220219 metrics_table: A dataframe containing per-instance metrics results.
221- error_list: A list of (metric_name, row_index, error_message) tuples.
222220
223221 Returns:
224222 A dictionary containing summary metrics results and statistics.
@@ -679,9 +677,7 @@ def _compute_metrics(
679677 metrics_table = _parse_metric_results_to_dataframe (instance_df , results_dict )
680678
681679 # Aggregate the summary metrics.
682- summary_metrics = _aggregate_summary_metrics (
683- evaluation_run_config , metrics_table , error_list
684- )
680+ summary_metrics = _aggregate_summary_metrics (evaluation_run_config , metrics_table )
685681
686682 return evaluation_base .EvalResult (
687683 summary_metrics = summary_metrics , metrics_table = metrics_table
You can’t perform that action at this time.
0 commit comments