NotFittedError#

class openstef_core.exceptions.NotFittedError(component_class: str)[source]#

Bases: Exception

Exception raised when a model or a transform is used before being fitted.

Parameters:

component_class (str)

__init__(component_class: str)[source]#

Initialize the exception with the name of the component class.

Parameters:
  • component_class (str) – Name of the component class that was not fitted.

  • component_class