Toloka documentation

default_calc_ranks

toloka.autoquality.scoring.default_calc_ranks | Source code

default_calc_ranks(scores_df: DataFrame)

Calculate default pool ranks for autoquality

Parameters Description

Parameters Type Description
scores_df DataFrame

pandas.DataFrame with pool_id column and columns with scores from default_calc_scores

  • Returns:

    input DataFrame with an additional ranks columns

  • Return type:

    DataFrame