compotime.models.Params#

class compotime.models.Params#

Bases: ABC

Parameters abstract class.

__init__()#

Methods

__init__()

init(time_series)

Initialize parameters based on the observed time series.

__iter__() Iterator[ndarray]#

Iterate over the different parameters.

Yields:

Iterator[np.ndarray] – Parameter.

abstract classmethod init(time_series: ndarray) Self#

Initialize parameters based on the observed time series.

Parameters:

time_series – Observed time series.

Returns:

Initialized parameters.

Return type:

Self