meka icon indicating copy to clipboard operation
meka copied to clipboard

Threshold in MEKA explorer

Open JessicaKuo opened this issue 6 years ago • 3 comments

Hello,

I want to use MEKA for multi-label classification by using ANN as classifier, so I choose DBPNN with BPNN,like the figure shows:

image

And, I want to use Rcut (top-5 ranking) as threshold ,but the default in the explorer is Pcut1, so I want to ask that how can I change the threshold in evaluation options for top-5 ranking ?

Thanks in advance!

JessicaKuo avatar Nov 23 '18 15:11 JessicaKuo

Hi,

RCut (fixed cardinality for all test examples) is not implemented in Meka. But Meka can give you the confidence output of all labels per test instance, so you can simply threshold and set the top 5 labels to 1 (and the rest to 0). Out of curiosity, why do you want to use Rcut in particular?

jmread avatar Nov 23 '18 15:11 jmread

@jmread

Thanks for your instant reply!

The reason why I want to used Rcut is that each instance can be assigned up to 5 labels in my dataset , and I also want to try different threshold as evaluation. So , May I have a question that is there any other thresholds methods implemented in MEKA except Pcut and Rcut?

Besides, How can I save the confidence output of all labels from MEKA and the corresponded answer of each testing instance?

Thanks for your patient looking!

JessicaKuo avatar Nov 23 '18 16:11 JessicaKuo

In the Meka GUI, you simply need to increase the level of 'verbosity', then you can see the different confidence outputs for each label and each instance. These confidence outputs are also available in the evaluation code of Meka. Of course, it depends on having a base classifier which is able to output confidences.

jmread avatar Nov 27 '18 09:11 jmread