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

how to save svm model data and resuse it ? #338

Open
coolstudio1678 opened this issue Apr 3, 2024 · 2 comments
Open

how to save svm model data and resuse it ? #338

coolstudio1678 opened this issue Apr 3, 2024 · 2 comments

Comments

@coolstudio1678
Copy link

coolstudio1678 commented Apr 3, 2024

SVM(Multi) calculation consumes memory and time, so I want to save the model calculation data for subsequent calls, but it seems that SVM does not support the serde feature. How should I save the SVM model data?

@benjamasu
Copy link

@coolstudio1678 As a workaround, you could implement your own version of MultiTargetModel with generic types instead of dynamic dispatch and derive serde's traits to it. That's what I've done and it at least works.

@coolstudio1678
Copy link
Author

thanks!

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