eckity.sklearn_compatible.sk_regressor

1from sklearn.base import RegressorMixin
2
3from eckity.sklearn_compatible.sklearn_wrapper import SklearnWrapper
4
5
6class SKRegressor(SklearnWrapper, RegressorMixin):
7    pass
class SKRegressor(eckity.sklearn_compatible.sklearn_wrapper.SklearnWrapper, sklearn.base.RegressorMixin):
7class SKRegressor(SklearnWrapper, RegressorMixin):
8    pass

Sklearn-compatible wrapper to support evolution using sklearn methods.

Parameters
  • algorithm (Algorithm): Wrapped Evolutionary algorithm. The Wrapper invokes 'evolve' and 'execute' methods of the algorithm during the fitting and prediction process, respectively.
Attributes
  • is_fitted (bool): Determines if the model is fitted (evolved).