logsumexp-softmax

Version 1.0 (3.09 KB) by Nick Higham
Log-sum-exp and softmax functions
81 Downloads
Updated Mon, 28 Dec 2020 17:07:11 +0000

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.

Cite As

Nick Higham (2024). logsumexp-softmax (https://github.com/higham/logsumexp-softmax/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.