LinearComponentSplitterModel#

class openstef_models.models.component_splitting.linear_component_splitter.LinearComponentSplitterModel(*args, **kwargs)[source]

Bases: Protocol

Protocol for linear component splitter model interface.

Defines the expected interface for the linear component splitter model loaded from joblib.

predict(x: DataFrame | ndarray[tuple[Any, ...], dtype[float64]]) ndarray[tuple[Any, ...], dtype[float64]][source]

Predict energy components from input features.

Parameters:
Returns:

Predicted components as numpy array.

Return type:

ndarray[tuple[Any, ...], dtype[float64]]

__init__(*args, **kwargs)