The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

optimization algorithm adam

optimization algorithm adam

0
Votes
1
Answer

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 Answer

365 Team
0
Votes

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

×
Ready to Learn
Data Science?
50% OFF