ml5.js: Training a Convolutional Neural Network for Image Classification @TheCodingTrain
ml5.js: Training a Convolutional Neural Network for Image Classification  @TheCodingTrain
Uploaded November 2020 | Updated September 2026, 1 week ago
In this video, I update the previous classification example (with pixels) and incorporate a convolutional neural network in ml5.js! Code: thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/8-convolutional-neural-network/4-image-classification

πŸš€ Watch this video ad-free on Nebula nebula.tv/videos/the-coding-train-yt-ml5-js-training-a-convolutional-neural-network-for-image-classification

p5.js Web Editor Sketches:
πŸ•ΉοΈ Training a convolutional neural network: editor.p5js.org/codingtrain/sketches/ogxO8har_
πŸ•ΉοΈ Mask: editor.p5js.org/codingtrain/sketches/tKLoeUD0u

πŸŽ₯ Previous: youtu.be/pRWq_mtuppU?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
πŸŽ₯ Next: youtu.be/cO4UP2dX944?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
πŸŽ₯ All: youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y

References:
πŸ““ Gradient-Based Learning Applied to Document Recognition: yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf

Videos:
πŸš‚ What is a Convolutional Neural Network Part 2 - Max Pooling: youtu.be/pRWq_mtuppU
πŸš‚ Train a Neural Network with Pixels: youtu.be/UaKab6h9Z0I
πŸš‚ Teachable Machine 1: Image Classification: youtu.be/kwcillcWOg0

Timestamps:
0:00 Introduction
0:45 Errors in previous video
1:46 Review training with pixels
2:37 Update to the ml library
2:53 Specifiy the task: image classification
3:31 Specify the characteristics of the data
5:11 Adjust addExample function
7:11 Train the model
8:09 Debugging: loss is not decreasing
8:53 normalizeData()
10:07 Why use the convolutional neural network in ml5?
12:03 Mask versus No mask
14:48 Defining custom layers

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

πŸš‚ Website: thecodingtrain.com
πŸ‘Ύ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: github.com/CodingTrain/Suggestion-Box
πŸ’‘ GitHub: github.com/CodingTrain
πŸ’¬ Discord: thecodingtrain.com/discord
πŸ’– Membership: youtube.com/thecodingtrain/join
πŸ›’ Store: standard.tv/codingtrain
πŸ–‹οΈ Twitter: twitter.com/thecodingtrain
πŸ“Έ Instagram: instagram.com/the.coding.train

πŸŽ₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
πŸŽ₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

πŸ”— p5.js: p5js.org
πŸ”— p5.js Web Editor: editor.p5js.org
πŸ”— Processing: processing.org

πŸ“„ Code of Conduct: github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new

#convolutionalneuralnetwork #imageclassification #ml5js #p5js
ml5.js: Training a Convolutional Neural Network for Image ClassificationCoding Challenge 164: Bending Time SlitscanSaturday Side Project Spooktacular!3.2 Angular Motion - Nature of CodeDiscord Bots 2: Discord Developer PortalCoding a Fractal Tree in 60 Seconds #programming #shortsReviewing the new Coding Train Passenger Showcase!Coding Train Live!Coding Train Live: Shaders and AutoencodersHow Fast Do Robots Think? #robot #coding #p5js #simulationIntroduction to Transformers.js (LIVE RECORDING SESSION ARCHIVE)Random Walker in p5.js (Coding Challenge 52)
The Coding Train |

ml5.js: Training a Convolutional Neural Network for Image Classification

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER