regression_abc#
This module contains the abstract base class for polynomial regression classes.
All concrete implementations of the polynomial regression classes must inherit from this abstract base class. This abstract class ensures that all polynomial regression classes share a common interface, while allowing for variations in their implementation and the addition of specific methods or attributes.
- class minterpy.extras.regression.regression_abc.RegressionABC[source]#
The abstract base class for all regression models.
Methods
fit
(xx, yy, *args, **kwargs)Abstract container for fitting a polynomial regression.
predict
(xx)Abstract container for making prediction using a polynomial regression.
show
()Abstract container for printing out the details of a polynomial regression model.
- abstract fit(xx, yy, *args, **kwargs)[source]#
Abstract container for fitting a polynomial regression.
- abstract predict(xx)[source]#
Abstract container for making prediction using a polynomial regression.
- abstract show()[source]#
Abstract container for printing out the details of a polynomial regression model.
- __weakref__#
list of weak references to the object (if defined)