CodingTrain / Toy-Neural-Network-JS

Neural Network JavaScript library for Coding Train tutorials
MIT License
426 stars 242 forks source link

Gradient Optimization #148

Open momtr opened 4 years ago

momtr commented 4 years ago

Since the derivative of the cost function is actually 2 * error, training speed can be increased by doubling the learningRate or multiplying the gradients by two.