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

Reduce memory usage of ctree #282

Open
JensWahl opened this issue Oct 18, 2021 · 0 comments
Open

Reduce memory usage of ctree #282

JensWahl opened this issue Oct 18, 2021 · 0 comments

Comments

@JensWahl
Copy link
Contributor

When explaining predictions using explain(..., approach = "ctree") we create one ctree model for each row in the binary matrix S. The training data is saved in each ctree model meaning that it's is saved nrow(S) times or nrow(S) / n_batches when n_batches > 1.

There should be a way to reduce the size of the ctree object by removing the training data while still being able to sample from the model.

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

No branches or pull requests

2 participants