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

Load trained model into libsvm js #18

Open
kosletr opened this issue Jul 7, 2020 · 1 comment
Open

Load trained model into libsvm js #18

kosletr opened this issue Jul 7, 2020 · 1 comment

Comments

@kosletr
Copy link

kosletr commented Jul 7, 2020

Is there a way I could train a ONE_CLASS SVM in python (using scikit-learn) , export it and then load it into node js using this package?

@stropitek
Copy link
Member

Have you tried using the static load method on the SVM class?

static load(serializedModel) {

It should work even though you might run into issues if the serialized model is very big

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