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

[WIP] fit size reduction #363

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open

[WIP] fit size reduction #363

wants to merge 2 commits into from

Conversation

jeremyrcoyle
Copy link
Collaborator

WIP PR that adds Lrnr_base$reduce_fit to drop fit_object components not necessary for prediction, reducing memory demands.

In response to #12

  • Implements Lrnr_base$reduce_fit, which drops out fit_object components
  • Adds private$.fit_can_remove, which takes a character vector of fit_object components not necessary for prediction
  • Adds options("sl3.reduce_fit") If true, we automatically call reduce_fit as part of the training process
  • Adds test-reduce-fit.R, tests fit reduction for a few learners that I've verified so far

Base automatically changed from devel to master December 23, 2021 19:16
@nhejazi nhejazi changed the base branch from master to devel December 24, 2021 02:25
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.

1 participant