dropoutProbs function
A function to specify dropout for a neural network.
dropoutProbs(input = 1, hidden = 1)
input |
inclusion rate for input parameters |
hidden |
inclusion rate for hidden parameters |
returns these probabilities in an appropriate format for interaction with the network and train functions, see ?network and ?train
Ian Goodfellow, Yoshua Bengio, Aaron Courville, Francis Bach. Deep Learning. (2016)
Terrence J. Sejnowski. The Deep Learning Revolution (The MIT Press). (2018)
Neural Networks YouTube playlist by 3brown1blue: https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi
http://neuralnetworksanddeeplearning.com/
netwts <- train( dat=d, truth=truth, net=net, eps=0.01, tol=0.95, # run for 100 iterations batchsize=10, # note this is not enough loss=multinomial(), # for convergence dropout=dropoutProbs(input=0.8,hidden=0.5))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.