Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

REFACTO: split MapieRegressor.fit into .init_fit, .fit_estimator, and .conformalize, split EnsembleRegressor.fit into .fit_single_estimator and .fit_multi_estimators, remove EnsembleEstimator useless interface #564

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

Valentin-Laurent
Copy link
Collaborator

Refactoring, in preparation for v1:

  1. We split MapieRegressor.fit into .init_fit, .fit_estimator, and .conformalize. Note: the MapieRegressor.fit method now just calls those 3 sub-methods, and the public API is not broken.
  2. In order to perform the first point, we also have to split EnsembleRegressor.fit into .fit_single_estimator and .fit_multi_estimators. Note: the EnsembleRegressor.fit method has been kept (and calls those 2 sub-methods) to avoid breaking this low-level API, but is now deprecated
  3. We remove the EnsembleEstimator interface, that is not used (nothing in the code actually requires this interface), and will not be relevant anyways in future refactoring

… .conformalize, split EnsembleRegressor .fit into .fit_single_estimator and .fit_multi_estimators, remove EnsembleEstimator useless interface
@Valentin-Laurent Valentin-Laurent merged commit e47171c into master Dec 16, 2024
8 checks passed
@Valentin-Laurent Valentin-Laurent deleted the split-fit-conformalize branch December 16, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants