-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes2
37 lines (26 loc) · 787 Bytes
/
notes2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
set_features TRAIN fm_train_sparsereal.dat
set_labels TRAIN label_train_twoclass.dat
new_classifier LIBLINEAR_L1RLR
svm_epsilon 1e-5
svm_use_bias 0
c 0.42
train_classifier
set_features TEST fm_test_sparsereal.dat
out.txt = classifytrain
set_features TRAIN australian_scale.dat
set_labels TRAIN australian_scale.label
new_classifier LIBLINEAR_L1RL2
svm_epsilon 0.01
svm_use_bias 0
c 1
train_classifier
set_features TEST australian_scale.t.dat
out.txt = classify
Not a two class labeling label[1]=2.000000 (only +1/-1 allowed)
Check LIBSVM for Multicalss implementation since it has not implemented yet in shogun
set_features TRAIN test.dat
set_labels TRAIN test.label
new_classifier LIBLINEAR_L1RL2
train_classifier
set_features TEST australian_scale.t.dat
out.txt = classify