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

Serializing CountVectorizer and Models #139

Closed
Vikramardham opened this issue Jun 22, 2021 · 3 comments
Closed

Serializing CountVectorizer and Models #139

Vikramardham opened this issue Jun 22, 2021 · 3 comments

Comments

@Vikramardham
Copy link

Vikramardham commented Jun 22, 2021

Hello,

Is there a way to serialize the preprocessing steps like CountVectorizer?

Any help would be greatly appreciated!

@Vikramardham Vikramardham changed the title Serializing CountVectorrizer and Models Serializing CountVectorizer and Models Jun 22, 2021
@YuhanLiin
Copy link
Collaborator

linfa-preprocessing currently has no Serde support, but I don't see any reason why it can't be added. If you open a PR adding Serde support under a feature flag (similar to other Linfa crates) then I'd be happy to look over it.

@Vikramardham
Copy link
Author

Added the serde support in a patched version. Seems to work. Will push after testing. Thanks!

@YuhanLiin
Copy link
Collaborator

Resolved by #292

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