ncaa_eval.model.registry module

Plugin registry for NCAA prediction models.

Provides decorator-based registration so that built-in and external models are discoverable at runtime without modifying core code.

exception ncaa_eval.model.registry.ModelNotFoundError[source]

Bases: KeyError

Raised when a requested model name is not in the registry.

ncaa_eval.model.registry.get_model(name: str) type[Model][source]

Return the model class registered under name.

Raises ModelNotFoundError if not found.

ncaa_eval.model.registry.list_models() list[str][source]

Return all registered model names (sorted).

ncaa_eval.model.registry.register_model(name: str) Callable[[_T], _T][source]

Class decorator that registers a Model subclass.

Usage:

@register_model("elo")
class EloModel(StatefulModel):
    ...