regressioninc.base module#

Common parent classes

pydantic model regressioninc.base.Estimate[source]#

Bases: BaseModel

Base class for the results for an Estimator

Fields:
field params: ndarray [Required]#

The estimated parameters

pydantic model regressioninc.base.Estimator[source]#

Bases: BaseModel, ABC

Base class for estimators. Estimators fit parameters to the given data, typically using a set of assumptions about the data.

Fields:
field estimate: Estimate = None#

Attribute with variables estimated from the data

abstract fit(X, y)[source]#

Method to estimate the parameters