Files
Obsidian-Main/21.01. Programming/Keras/Machine Learning.md

14 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 問題分類
| 問題類型 | 啟動函數 | 損失函數 | 範例 |
|:--------------:|:--------:|:------------------------------------------------------------------------------:|:------------------------------------------------------------------:|
| 二元分類 | sigmoid | binary_crossentropy二元交叉熵 | |
| 單標籤多元分類 | softmax | [[categorical_crossentropy]](分類交叉熵)<br> sparse_categorical_crossentropy | 範例:[[An example that use categorical_crossentropy and softmax]] |
| 多標籤分類 | sigmoid | binary_crossentropy | |
| 回歸求值 | None | mse均方誤差 | |
| 回歸求0~1值 | sigmoid | mse或binary_crossentropy | |
## Callback
- [ReduceLROnPlateau](https://keras.io/api/callbacks/reduce_lr_on_plateau/)