node-svm
node-svm copied to clipboard
Save model in the standard libsvm format
trafficstars
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
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?
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.