Coding Challenge #106: XOR Problem with TensorFlow.js

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=N3ZnNa01BPM



Duration: 51:47
44,408 views
886


In this coding challenge, I visualize the outputs of a neural network solving XOR using TensorFlow.js. Code: https://thecodingtrain.com/challenges/106-xor-problem-with-tensorflowjs

πŸ•ΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/ueNMC_Wh6

πŸŽ₯ Previous video: https://youtu.be/tIXDik5SGsI?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Next video: https://youtu.be/diGjw5tghYU?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

References:
πŸ’» TensorFlow.js: https://js.tensorflow.org/
πŸ’» ml5.js: https://ml5js.org
πŸ’» Adam optimizer: https://arxiv.org/abs/1412.6980

Videos:
πŸš‚ TensorFlow.js playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YIeVA3dNxbR9PYj4wV31oQ
πŸš‚ ES6 Arrow Function: https://www.youtube.com/watch?v=mrYMzpbFz18
πŸš‚ TensorFlow.js: Layers API: https://youtu.be/F4WWukTWoXY
πŸš‚ async/await: https://youtu.be/XO77Fib9tSI
πŸ”΄ Coding Train Live 144: https://youtu.be/_wC4sn5qKQw?t=1885s


Related Coding Challenges:
πŸš‚ #92 XOR Problem: https://youtu.be/188B6k_F9jU
πŸš‚ #104 Linear Regression with TensorFlow.js: https://youtu.be/dLp10CFIvxI
πŸš‚ #105 Polynomial Regression with TensorFlow.js: https://youtu.be/tIXDik5SGsI

Timestamps:
0:00 Introduction
3:43 Architecture of model
8:02 InputShape, units, and activation function
11:46 Optimizer and loss function
13:50 tf.train.sgd()
17:23 model.predict()
23:34 Input data
29:00 Train the model
36:54 Shuffle training dta
38:02 Memory management
40:08 Draw output
45:32 Train()

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

#machinelearning #xorproblem #p5js #javascript #tensorflowjs







Tags:
tensorflow tutorial
tensorflow tutorial for beginners
tensorflow js
tensorflow basics
tensorflow example
tensor
tensorflow
machine learning
machine learning basics
machine learning tensorflow
tensorflow basics tutorial
JavaScript (Programming Language)
programming
daniel shiffman
tutorial
coding
the coding train
nature of code
artificial intelligence
xor problem
xor tensorflow
xor tensorflow.js