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

Save model in the standard libsvm format #41

Open
dailypixie opened this issue Jul 12, 2017 · 2 comments
Open

Save model in the standard libsvm format #41

dailypixie opened this issue Jul 12, 2017 · 2 comments

Comments

@dailypixie
Copy link

I would like to save the trained model as in the standard format, this way i can use it with my other modules. Is it possible?

Ex:

svm_type c_svc
kernel_type sigmoid
gamma 0.5
coef0 0
nr_class 2
total_sv 4
rho -0.389055
label 1 0
nr_sv 2 2
SV
1 2:1 
1 1:1 2:1 
-1 1:8 2:9 
-1 1:7 2:7 
@nicolaspanel
Copy link
Owner

it is possible but dangerous since node-svm comes with automatic normalization and automatic feature reduction that are not supported by libsvm.

by "other modules", do you mean sklearn?

@piercus
Copy link

piercus commented Mar 16, 2018

I'm facing same issue here, i was doing testing with svm-tools and i would like to be able to use svm-predict for example.

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

3 participants