2 클래스 분류 자 생성에 libsvm을 사용하고 있습니다. 나는 무게가 svm-predict [options] test.test model.model out.out
에 의해 사용됩니다/계수를 알 어떻게libsvm 모델 파일에서 계수/가중치를 추출하십시오.
svm_type c_svc
kernel_type rbf
gamma 8
nr_class 2
total_sv 442
rho 21
label 1 -1
nr_sv 188 254
SV
7080.357768871263 0:0 1:0.00643 2:0.01046 3:0.00963 4:0.02777 5:0.04338 19:0.04468
528.7111702760092 0:0 1:0.00058 3:0.00086 6:0.01158 7:0.0028 9:0.08991 13:0.0096
...
391.7649705739246 0:0 1:0.00055 3:0.00082 5:0.04615 7:0.06374 21:0.00374 31:0.00339 33:0.00395 38:0.16343
...
-564.1329424321915 0:0 1:0.00709 2:0.00384 3:0.00709 5:0.00399 9:0.01457 10:0.01244 11:0.0206 17:0.02124 20:0.00565 23:0.00846 27:0.04692 33:0.04271 35:0.02389 36:0.00859 39:0.02014
: 내가 ./svm-train training.training model.model
model.model
파일에 의해 생성 된 모델에 사용 된 각 기능의 계수/무게를 추출 할 같이 보인다? 마지막 줄에있는 것들?
감사 LIBSVM
의해 생성 된 모델 파일이 이루어져 M.