py-feat icon indicating copy to clipboard operation
py-feat copied to clipboard

How to use au_model="rf" and emotion_model = "rf" in version 0.4

Open ritika24-s opened this issue 2 years ago • 4 comments

Hi,

I wish to use au_model="rf" since RF model gives the intensity as random continuous variable unlike SVM which just gives the possiblity of detecting aus for my analysis.

It was possible in version 0.3.7 but is not in latest version. What's the alternative for this? Also, my requirement is to use HOG based models only for au and emotions. So I can only use either RF or SVM. Is there any alternative for it?

ritika24-s avatar Jul 28 '22 17:07 ritika24-s

hi @ritika24-s , We discovered an issue with the output of the RF model, which we haven't had time to fully debug or retrain yet. We disabled it in version 4.0, but plan to revisit adding it in the next version. It might not be too hard to convert the SVM output into probabilities using platt scaling, but I'm not sure if we are retaining enough information in the model to do that without retraining it.

We are currently in the process of doing another major refactor to the code and the AU detector module is next up in the queue, so we should have more info about this soon.

I definitely don't advise you to use the old model at this point, but depending on your project, you could always roll back to the older release.

ljchang avatar Jul 28 '22 18:07 ljchang

Hi Luke,

Thanks for replying. I am using PyFeat for my thesis.

In your expert opinion, do you think using the rf model to get AU intensities is still okay? Because my submission is in August and I tried working with SVM but it really doesn't solve my problem at all.

I would love to know your opinion on it.

ritika24-s avatar Jul 31 '22 16:07 ritika24-s

I have long used the rf model from the older version and have recently noticed that the AU intensities are significantly different than the newer AU models in version 0.4.

I am also curious to hear if anyone has found the old rf model to be inaccurate.

med-tim avatar Aug 02 '22 17:08 med-tim

Hi Luke,

Thanks for replying. I am using PyFeat for my thesis.

In your expert opinion, do you think using the rf model to get AU intensities is still okay? Because my submission is in August and I tried working with SVM but it really doesn't solve my problem at all.

I would love to know your opinion on it.

On Thu, 28 Jul 2022 at 19:07, Luke Chang @.***> wrote:

hi @ritika24-s https://github.com/ritika24-s , We discovered an issue with the output of the RF model, which we haven't had time to fully debug or retrain yet. We disabled it in version 4.0, but plan to revisit adding it in the next version. It might not be too hard to convert the SVM output into probabilities using platt scaling, but I'm not sure if we are retaining enough information in the model to do that without retraining it.

We are currently in the process of doing another major refactor to the code and the AU detector module is next up in the queue, so we should have more info about this soon.

— Reply to this email directly, view it on GitHub https://github.com/cosanlab/py-feat/issues/134#issuecomment-1198469446, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7EBLTWIVUEBONVOEBT7DLVWLD6XANCNFSM546CY4IA . You are receiving this because you were mentioned.Message ID: @.***>

ritika24-s avatar Oct 11 '22 09:10 ritika24-s

Hello Ritika, I'm attempting to use PyFeat for my thesis to obtain the AU intensities also, but it seems that PyFeat is not the greatest option at this time. Could you share to me what you did afterall?Do you still with PyFeat? I'm hoping you'll share with me. Many thanks :D

akiratsuraii avatar Dec 04 '22 12:12 akiratsuraii