logsumexp and softmax evaluate the log-sum-exp function $lse(x) = \log \sum_{i=1}^n e^{x_i}$ and the softmax function $g(x)$ with $g_j(x) = \frac{e^{x_j}}{\sum_{i=1}^n e^{x_i}$, where x is a vector.
引用
Nick Higham (2024). logsumexp-softmax (https://github.com/higham/logsumexp-softmax/releases/tag/v1.0), GitHub. 取得済み .
MATLAB リリースの互換性
作成:
R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0 |
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。