topk_select

probly.evaluation.active_learning.strategies.topk_select = <flextype.singledispatch.Flexdispatch object>

Select n indices with the highest scores.

Parameters:
  • scores – Per-sample scores of shape (n_pool,). Higher = more informative.

  • n – Number of indices to select.

Returns:

Array of n integer indices.