Dec. 29, 2023, 9:59 p.m. | /u/AlonMalkaR

Deep Learning www.reddit.com

I'm trying to create a neural network to solve the XOR gate problem. I've done it with stochastic gradient descent successfully but I'm struggling a bit when it comes to batch gradient descent.

I've ran it several times and the model got to the correct answer but it took 14 attempts. (I've initialized the parameters, trained it for 600 epocs and it didn't work. Then I initialized the parameters again... 14 times).

Am I doing something wrong?

My code is …

backpropagation deeplearning gate gradient network neural network solve stochastic xor

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne