Registry

class hy2dl.evaluation.registry.MetricMeta(func: Callable, is_forecast_only: bool = False, is_probabilistic: bool = False)

Bases: object

func: Callable
is_forecast_only: bool = False
is_probabilistic: bool = False
class hy2dl.evaluation.registry.MetricRegistry

Bases: object

get(name: str) MetricMeta
get_available(forecast_mode: bool, probabilistic: bool) list[str]
register(name: str, is_forecast_only: bool = False, is_probabilistic: bool = False)