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

Feature request #136

Open
saersamani opened this issue May 7, 2021 · 1 comment
Open

Feature request #136

saersamani opened this issue May 7, 2021 · 1 comment

Comments

@saersamani
Copy link

Hi,

I have been using this package with very large datasets and I very much like it. When saving the models for the deployment the final file (i.e. the model) is extremely large (e.g. 6 GB) even with the compression provided by JLD2.

I was wondering if there is another way to save the models into smaller files or only saving the model without the data itself.

Thank you in advance.

Cheers,
Saer

@bensadeghi
Copy link
Member

Not much can he done here, without major changes to the code.

When building models, make sure to cast the training data to explicit types (ie with float.(), string.(), etc). This significantly improves model training and prediction execution times, and also drastically reduces the size of saved models.

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