Last answered:

06 Jan 2020

Posted on:

04 Jan 2020

0

optimization algorithm adam

Hello, Can I choose batch size when I use adam algorithm or it's only confined with SGD algorithm? I see you combined batching with SGD in one lesson so I thought it can be used only with SGD. Thank you in advance. 
1 answers ( 0 marked as helpful)
Instructor
Posted on:

06 Jan 2020

0
Hi Hady,   Usually with the TensorFlow syntax you can control the optimization algorithm and the learning rate with the same command.   The batch size itself is usually included either in the dataset preprocessing or in the 'fit' part of the model.    We have combined the theoretical lecture on SGD and batching, because that's how the normal logic goes. However, the TensorFlow syntax looks at it from a different standpoint.   Best, The 365 Team

Submit an answer