CodingTrain / Toy-Neural-Network-JS

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

Add a NN Learning Rate setter #26

Closed arisanguinetti closed 6 years ago

shiffman commented 6 years ago

Thank you!

fgr0 commented 6 years ago

May I ask, what is the difference between calling the setter nn.setLearningRate(0.01) and using the property directly nn.learning_rate=0.01?

arisanguinetti commented 6 years ago

@laerador it's the same. For me, it seems better to use a setter than go directly to the property