asreview.models.balance.get_balance_class

asreview.models.balance.get_balance_class(name)[source]

Get class of balance model from string.

Parameters

name (str) – Name of the model, e.g. ‘simple’, ‘double’ or ‘undersample’.

Returns

BaseBalanceModel – Class corresponding to the name.