Coding Challenge #92: XOR Problem
In this coding challenge, I use my Toy Neural Networks library to solve the XOR problem. Code: https://thecodingtrain.com/challenges/92-xor-problem
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/_QGR5d0Bi
π₯ Previous video: https://youtu.be/JrRO3OnWs5s?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Next video: https://youtu.be/uWzPe_S-RVE?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
π» Toy-Neural-Network-JS: https://github.com/CodingTrain/Toy-Neural-Network-JS
π» Deeplearn.js: https://deeplearnjs.org
π» ml5.js: https://ml5js.org/
Videos:
π My Neural Networks series: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aCibgK1PTWWu9by6XFdCfh
π My Perceptron video: https://codingtrain.github.io/website-archive/more/archive/nature-of-code/10-Neural-Networks/10.2-Neural-Networks-Perceptron-Part-1
π₯ Neural Networks: https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi
Live Stream Archive:
π΄ Live Stream Archive #118: https://youtu.be/e8H588SXu6U?t=8090s
π΄ Live Stream Archive #119: https://youtu.be/f9vaiHoq-Fk?t=3171s
Timestamps:
0:00 Introduction
1:15 Machine learning
3:00 Supervised learning
4:20 XOR problem
7:07 Hidden layer
11:49 Training data
13:14 nn.train()
15:14 nn.predict()
16:26 Visualize results
19:30 Initializing weights
20:15 Learning rate
22:33 Add more hidden nodes
23:40 What's next?
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: http://thecodingtrain.com/
πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
π‘ GitHub: https://github.com/CodingTrain
π¬ Discord: https://thecodingtrain.com/discord
π Membership: http://youtube.com/thecodingtrain/join
π Store: https://standard.tv/codingtrain
ποΈ Twitter: https://twitter.com/thecodingtrain
πΈ Instagram: https://www.instagram.com/the.coding.train/
π₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: https://p5js.org
π p5.js Web Editor: https://editor.p5js.org/
π Processing: https://processing.org
π Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new
#neuralnetwork #machinelearning #gradientdescent #xorproblem #javascript #p5js