register_strategy#

mlquantify.multiclass.register_strategy(name)[source]#

Register a MulticlassStrategy subclass under name.

The decorated class is instantiated once and stored in the registry, so it can be selected via a quantifier’s strategy attribute (e.g. strategy='ovr').