04_Hung-yi Lee_What to do if my network fails to train2
Classification as Regression
- Regression
- Classification as regression
Class as one-hot vector
避免不同类,被认为是相互临近关系。
比如:
Class 1 = 1, Class 2 = 2, Class 3 = 3。
这种情况,容易被认为 Class 1 与 Class 2更加临近,与Class 3 没那么相似
所以使用: one-hot encode
但是存在缺点,就是编码冗余较大
- Regression
- Classification
Softmax
Loss of Classification
Mean Square Error(MSE)
Cross-entropy
- Post title: 04_Hung-yi Lee_What to do if my network fails to train2
- Create time: 2022-03-28 10:58:29
- Post link: Machine-Learning/04-hung-yi-lee-what-to-do-if-my-network-fails-to-train2/
- Copyright notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally.