vault backup: 2023-11-14 10:25:23

This commit is contained in:
2023-11-14 10:25:23 +08:00
parent 1d53fb47de
commit 573de783d6
4 changed files with 65 additions and 20 deletions

View File

@@ -1,2 +1,3 @@
- 僅適用於 one-hot 編碼。
- 如果輸出不是 one-hot而是整數標籤也就是直接輸出 0、1、2而不是一個array`[0, 0, 0, 1, 0]` 之類),那就需要 sparse_categorical_crossentropy。
- 如果輸出不是 one-hot而是整數標籤也就是直接輸出 0、1、2而不是一個array`[0, 0, 0, 1, 0]` 之類),那就需要 sparse_categorical_crossentropy。
- 範例:[[An example that use categorical_crossentropy and softmax]]