Skip to content

Softmax function, normalize a vector of real numbers into a probability distribution

Notifications You must be signed in to change notification settings

eveningkid/softmax-function

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Softmax Function

Implementation of the softmax function.

Normalize a vector of real numbers into a probability distribution.

npm install softmax-function
yarn add softmax-function
const softmax = require('softmax-function');
softmax([2.0, 1.0, 0.1]);
// ~[0.7, 0.2, 0.1]

License

eveningkid, MIT

About

Softmax function, normalize a vector of real numbers into a probability distribution

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published