DeepCTR icon indicating copy to clipboard operation
DeepCTR copied to clipboard

我在跑FGCNN遇到一些问题,随着迭代次数的增加,训练集的损失在下降,但是验证集的在上升

Open gjq718 opened this issue 4 years ago • 4 comments

Please check the latest version manually on https://pypi.org/project/deepctr/#history Train on 72000 samples, validate on 8000 samples Epoch 1/10 72000/72000 - 354s - loss: 0.4977 - accuracy: 0.7778 - val_loss: 0.4676 - val_accuracy: 0.7891 Epoch 2/10 72000/72000 - 349s - loss: 0.3557 - accuracy: 0.8562 - val_loss: 0.5036 - val_accuracy: 0.7904 Epoch 3/10 72000/72000 - 349s - loss: 0.2538 - accuracy: 0.9005 - val_loss: 0.6154 - val_accuracy: 0.7794 Epoch 4/10 72000/72000 - 348s - loss: 0.1978 - accuracy: 0.9180 - val_loss: 0.7321 - val_accuracy: 0.7711 Epoch 5/10 72000/72000 - 349s - loss: 0.1659 - accuracy: 0.9318 - val_loss: 0.8480 - val_accuracy: 0.7491 Epoch 6/10 72000/72000 - 350s - loss: 0.1431 - accuracy: 0.9417 - val_loss: 1.1403 - val_accuracy: 0.7665 Epoch 7/10 72000/72000 - 355s - loss: 0.1226 - accuracy: 0.9507 - val_loss: 1.2374 - val_accuracy: 0.7479 Epoch 8/10

Process finished with exit code -1

gjq718 avatar Aug 14 '20 12:08 gjq718

这个可能是过拟合了

shenweichen avatar Aug 18 '20 12:08 shenweichen

我的也是,感觉这库不行呀,动不动过拟合。。。。

jqsl2012 avatar Aug 25 '20 14:08 jqsl2012

| | guojq718 | | [email protected] | 如果数据集够大就过拟合也没啥问题,特别小的数据集过拟合就很有问题,而且我发现连续特征也没有用上这个模型,但是换个数据集也能训练个几次才过拟合,不知道问题在哪

签名由网易邮箱大师定制 在2020年8月25日 22:58,举起手来[email protected] 写道:

我的也是,感觉这库不行呀,动不动过拟合。。。。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

gjq718 avatar Aug 26 '20 00:08 gjq718

| | guojq718 | | [email protected] | 如果数据集够大就过拟合也没啥问题,特别小的数据集过拟合就很有问题,而且我发现连续特征也没有用上这个模型,但是换个数据集也能训练个几次才过拟合,不知道问题在哪 签名由网易邮箱大师定制 在2020年8月25日 22:58,举起手来[email protected] 写道: 我的也是,感觉这库不行呀,动不动过拟合。。。。 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

难道不是数据集越小越容易overfitting ?

chentao169 avatar Aug 21 '23 22:08 chentao169