Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想同时使用 loss 和 val_loss 来评估模型,因为我的数据集非常小。我不能使用 val_loss,因为它只会得到一些随机模型,碰巧测试集中的一个值被正确预测,但另一方面,仅使用损失会导致过度拟合。关于我如何实现这一目标的任何想法?