The softmax function is often used in machine learning to transform the outputs of the last layer of your neural network (the logits) into probabilities. In this video, I explain how the softmax function works and provide some intuition for thinking about it in higher dimensions. In addition to using the softmax function for classification, it’s also used in models that use attention, such as transformer models. The softmax function is very similar to the sigmoid function, except it’s generalized for higher dimensions, so if you’re also interested in learning more about the sigmoid function, check out my previous video about it linked below.
My previous video, "Why We Use the Sigmoid Function in Neural Networks for Binary Classification":
📼 • Why Do We Use the Sigmoid Function for Bin...
My other video, "Derivative of Sigmoid and Softmax Explained Visually":
📼 • Derivative of Sigmoid and Softmax Explaine...
GitHub code for visualizing how the logit values that are passed into the softmax function change over time as the model is trained with SGD (stochastic gradient descent) or the Adam optimizer:
💻 https://github.com/elliotwaite/softma...
Desmos 2D graph of softmax for 4 classes:
📈 https://www.desmos.com/calculator/drq...
GeoGebra 3D graph of softmax for 2 classes (with derivatives and Gaussians):
📈 https://www.geogebra.org/classic/qhdd...
GeoGebra 3D graph of softmax for 3 classes (with derivatives):
📈 https://www.geogebra.org/classic/ps9g...
GeoGebra 3D graph of softmax with Gaussians for 3 classes:
📈 https://www.geogebra.org/classic/vgwa...
GeoGebra 3D graph of the shape of the softmax input space for 4 and 5 classes:
📈 https://www.geogebra.org/classic/emjn...
Join our Discord community:
💬 / discord
Connect with me:
🐦 Twitter - / elliotwaite
📷 Instagram - / elliotwaite
👱 Facebook - / elliotwaite
💼 LinkedIn - / elliotwaite
🎵 Kazukii - Return
→ / ohthatkazuki
→ https://open.spotify.com/artist/5d07M...
→ / officialkazuki
On this page of the site you can watch the video online Softmax Function Explained In Depth with 3D Visuals with a duration of hours minute second in good quality, which was uploaded by the user Elliot Waite 23 August 2020, share the link with friends and acquaintances, this video has already been watched 56,005 times on youtube and it was liked by 2.2 thousand viewers. Enjoy your viewing!