shogun-toolbox/shogun — pull request #527 by pluskid (2012-05-15 15:34:40+00:00)
Title: Multiclass ecoc

A new Encoder and a python_modular script that automatically cover all encoder/decoder pairs. When the test labels are given, the accuracy is already computed. Here's an example output (only for some sense ...)

Testing with 6 encoders and 4 decoders
----------------------------------------------------------------------
encoder+decoder codelen time accuracy
Discriminant+AED 9 1.690 0.4441
Discriminant+ED 9 1.770 0.8338
Discriminant+HD 9 1.750 0.6274
Discriminant+IHD 9 1.780 0.3779
Forest+AED 27 5.400 0.3224
Forest+ED 27 5.420 0.8139
Forest+HD 27 5.740 0.8281
Forest+IHD 27 5.650 0.3662
OVO+AED 45 2.710 0.4210
OVO+ED 45 2.690 0.7484
OVO+HD 45 2.700 0.9687
OVO+IHD 45 2.710 0.9676
OVR+AED 10 1.310 0.9452
OVR+ED 10 1.310 0.9452
OVR+HD 10 1.300 0.8911
OVR+IHD 10 1.320 0.8972
RandomDense+AED 23 13.870 0.9320
RandomDense+ED 23 14.030 0.9267
RandomDense+HD 23 14.510 0.8840
RandomDense+IHD 23 13.950 0.9096
RandomSparse+AED 35 6.440 0.3331
RandomSparse+ED 35 6.340 0.8705
RandomSparse+HD 35 9.390 0.9238
RandomSparse+IHD 35 7.510 0.9359