Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 8 commits into from
Sep 29, 2022

Conversation

j-ittner
Copy link
Member

@j-ittner j-ittner commented Sep 27, 2022

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

@j-ittner j-ittner added the refactor Internal changes that don't change functionality label Sep 27, 2022
@j-ittner j-ittner added this to the 2.0.2 milestone Sep 27, 2022
@j-ittner j-ittner self-assigned this Sep 27, 2022
@j-ittner j-ittner marked this pull request as draft September 27, 2022 20:05
@j-ittner j-ittner changed the base branch from 2.0.x to 2.2.x September 28, 2022 14:11
@j-ittner j-ittner marked this pull request as ready for review September 28, 2022 14:21
@j-ittner j-ittner requested a review from rkdy September 28, 2022 14:22
@j-ittner j-ittner requested a review from mtsokol September 28, 2022 15:28
@j-ittner j-ittner added API New feature or request and removed refactor Internal changes that don't change functionality labels Sep 29, 2022
@j-ittner j-ittner modified the milestones: 2.0.2, 2.2.0 Sep 29, 2022
@j-ittner j-ittner merged commit 555a040 into 2.2.x Sep 29, 2022
@j-ittner j-ittner deleted the doc/attribute_error_on_unfitted_attributes branch September 29, 2022 07:45
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
API New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants