Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

multinomial

multinomial function


Description

A function to evaluate the multinomial loss function and the derivative of this function to be used when training a neural network.

Usage

multinomial()

Value

a list object with elements that are functions, evaluating the loss and the derivative

References

  1. Ian Goodfellow, Yoshua Bengio, Aaron Courville, Francis Bach. Deep Learning. (2016)

  2. Terrence J. Sejnowski. The Deep Learning Revolution (The MIT Press). (2018)

  3. Neural Networks YouTube playlist by 3brown1blue: https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi

  4. http://neuralnetworksanddeeplearning.com/

See Also

Examples

netwts <- train(dat=train_set,
                truth=truth,
                net=net,
                eps=0.001,
                tol=0.95,
                loss=multinomial(),
                batchsize=100)

deepNN

Deep Learning

v1.0
GPL-3
Authors
Benjamin Taylor [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.