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.
均方误差将误差平方,结果所有误差都变为正数。与错误的积极性或消极性有关的信息会丢失。是否有任何考虑错误符号的错误函数?
如果你想惩罚低估而不是高估(反之亦然),甚至容忍一些低估,你可以设计一个特定于模型的损失函数。
例如,这可以借助分段线性损失函数来实现。然后你必须使用一些(子)梯度优化程序来学习模型。