BCG-X-Official / sklearndf

DataFrame support for scikit-learn.
https://bcg-x-official.github.io/sklearndf/
Apache License 2.0
63 stars 7 forks source link

REFACTOR: replace `EstimatorDF.ensure_fitted()` with pytools `@fitted_only` #239

Closed j-ittner closed 1 year ago

j-ittner commented 1 year ago

This PR removes method EstimatorDF.ensure_fitted() and instead uses the @fitted_only decorator from gamma-pytools to mark properties/methods as only available once the estimator has been fitted.

DRAFT: first need to release pytools 2.1