0

Liblinear (http://www.csie.ntu.edu.tw/~cjlin/liblinear/) does not support for probability estimates.

Say I have three classes C1, C2 and C3. I want to learn the model paramters for each 'one vs rest' cases:

           C1 vs C2&C3, 
           c2 vs C1&C3 and
           C3 vs C1&C2

How can I do it?

4

1 回答 1

0

在 lr 中,对于 -b 1 参数,它实际上并没有给出 p(c1) 值。它给

P(c1)=p(c1)/(p(c1)+p(c2)+p(c3)) 

在输出文件中。因此,当您只有 1 个类时,它会输出 1。

于 2013-08-05T07:53:42.617 回答