OpenLearning4DeepRecsys icon indicating copy to clipboard operation
OpenLearning4DeepRecsys copied to clipboard

deepFM issue with ml-1m dataset

Open xray1111 opened this issue 8 years ago • 4 comments

Hi, I met with a strange problem while training deepFM model using ml-1m dataset: if enabling "is_use_fm_part" flag to True, the training process won't converge and the rmse value will become bigger and bigger(and the loss does decrease!). But if switching the flag off, just using dnn only, it seems ok. I only change the deepFM.py a little: For comparing the predicted rating with the GT value, I removed the softmax activation function for the last layer, and then output rmse error instead of auc.

xray1111 avatar Aug 16 '17 16:08 xray1111

i am not sure if you can receive this message, but i am on a travel to Melbourne now, unfortunately no wifi access. I have to check the code next weekend when i return China

发自我的 iPhone

在 2017年8月17日,02:23,xray1111 <[email protected]mailto:[email protected]> 写道:

Hi, I met with a strange problem while training deepFM model using ml-1m dataset: if enabling "is_use_fm_part" flag to True, the training process won't converge and the loss will become bigger and bigger. But if switching the flag off, just using dnn only, it seems ok. I only change the deepFM.py a little: For comparing the predicted rating with the GT value, I removed the softmax activation function for the last layer, and then output rmse error instead of auc.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Leavingseason/OpenLearning4DeepRecsys/issues/4, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHIYGOLgi0GWA0FB8vyw8x1Xthsq_MFmks5sYxdmgaJpZM4O5KLj.

Leavingseason avatar Aug 18 '17 10:08 Leavingseason

@xray1111 hey I am back now. Have you resolved the problem?

Leavingseason avatar Aug 28 '17 03:08 Leavingseason

@Leavingseason Sorry for late response, that problem may caused by a wrong when calcuating RMSE, I changed the code then it's fine. Thanks!

xray1111 avatar Sep 06 '17 02:09 xray1111

Hi @xray1111 , could you share the code to run the deepFM with ml-1m dataset. I am a unclear on how to create the values. Or a description about the S1_4 dataset would be great

nitinsurya avatar Oct 03 '17 14:10 nitinsurya