CMU-MultimodalSDK icon indicating copy to clipboard operation
CMU-MultimodalSDK copied to clipboard

Classwise Accuracy calculations (WA) for MOSEI emotions

Open AnilRahate opened this issue 3 years ago • 3 comments

@A2Zadeh , I am trying to understand how accuracies are calculated for MOSEI emotions as it is multi class and multi label emotions. Do we need to use Sigmoid at the output layer with 6 output units so that it can provide predictions for class/multi label? Another question - How to use weighted accuracy function defined at below link for class wise accuracy?. Do we need to provide a class specific predictions and ground truths to this classification function and weighted accuracy function. Repeat the same process for all 6 emotion classes. Also, how do we calculate F1 score

Link:https://github.com/yaohungt/Multimodal-Transformer/blob/master/src/eval_metrics.py.

Thanks in advance.

AnilRahate avatar Oct 17 '20 19:10 AnilRahate

Hi @A2Zadeh, from your reply in below issue https://github.com/A2Zadeh/CMU-MultimodalSDK/issues/220#issuecomment-668958297.

Does it mean that we need to train individual binary classification model for each emotion to have results inline with Graph MFN in MOSEI base paper. Thanks in advance.

Your reply to above issue for quick reference: Hi tungnt55. The dataset actually has 4 classes, but we do binary in the experiments with Graph-MFN. The criteria for the emotion is >0 being equal to present and =0 being equal to absent.

AnilRahate avatar Oct 18 '20 04:10 AnilRahate

Hi @AnilRahate,

Yes exactly! <== to both your questions.

Let me know if there were further questions.

A2Zadeh avatar Oct 22 '20 01:10 A2Zadeh

Thanks a lot response @A2Zadeh , I would like threshold value being used on prediction to classify it as +ve/-ve. Can we use standard 0.5 or you have specific guidance on that.

AnilRahate avatar Oct 22 '20 04:10 AnilRahate

@AnilRahate Hi, your work is excellent, but I have a question about how you handle the labels for CMU-MOSEI, as I am currently working on a six-classification task for audio and I urgently need the labels for the audio segments, I am hoping you can help me. Thanks in advance!

gt950 avatar Oct 12 '22 01:10 gt950