📜  准确率和损失之间有什么区别 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:57.976000             🧑  作者: Mango

代码示例1
# Loss: is the distance between your prediction and the actual
# Accuracy: is the number of errors or incorrect predictions you made
  # low  accuracy high loss = you aren't right often and when you're wrong you're very wrong (worst case)
  # low  accuracy low  loss = you aren't right often  but the rest are pretty close 
  # high accuracy high loss = you are right a lot but but the rest are not close
  # high accuracy low  loss = most of your predictions are correct and the rest aren't off by much (best case)