Esc
Ask AIAnswers may be inaccurate; check the linked pages.Esc
Ask anything about these docs, like how to get started or what a function does.

BaseAggregator

chronax.base_aggregator.BaseAggregator

Base class to aggregate model scores across tasks.

Takes a pandas DataFrame with: - Rows: model names - Columns: task names - Values: scores (e.g., error metrics where lower is better)

Subclasses should implement the __call__ method to compute specific aggregation scores.

__init__(self, pivot_table: pd.DataFrame)

Initialize the BaseAggregator.

Parameter Type Default Description
pivot_table pd.DataFrame - DataFrame with models as index, tasks as columns, scores as values