Рет қаралды 137,966
In this challenge, I demonstrate the entire process of training and deploying a machine learning classification model in JavaScript -- data collection, model training, and prediction! 💻 Code: thecodingtrain.com/challenges/158-shape-classifier
🎥 ml5.js: DoodleNet: kzbin.info/www/bejne/d3OxkHeNo7JofbM
Links discussed in this video:
🔗 Processing: processing.org/
🔗 p5.js Web Editor: editor.p5js.org/
🔗 ml5.js Loading a pre trained model: learn.ml5js.org/#/reference/neural-network?id=loading-a-pre-trained-model
🔗 p5.js copy() reference: p5js.org/reference/#/p5.Image/copy
🔗 DoodleNet (GitHub): github.com/yining1023/doodleNet
Other videos mentioned in this video:
🎥 Workflow Series: kzbin.info/aero/PLRqwX-V7Uu6Zu_uqEA6NqhLzKLACwU74X
🎥 ml5.js: Training a CNN for Image Classification: kzbin.info/www/bejne/nojYo4Fmjc2tgrs
🎥 ml5.js: Train a Neural Network with Pixels as Input: kzbin.info/www/bejne/i5KukpVsnZ6NZqs
🎥 ml5.js: Train Your Own Neural Network: kzbin.info/www/bejne/bnmomJh3l76jnqM
🎥 ml5.js: What is a Convolutional Neural Network?: kzbin.info/www/bejne/p4GupIl3fsSKbK8
🎥 ml5.js: Save Neural Network Trained Model: kzbin.info/www/bejne/rYbVmGx-n9CbnZI
🎥 Quick, Draw! - Coding Challenge #122: kzbin.info/www/bejne/r33YnGOqrN1rfsU
Timestamps:
0:00 Introduction
1:33 Generating the dataset in Processing
5:50 Loading images in p5.js
8:34 Create a ml5 neural network
10:54 Adding the data
12:39 About training the model
13:53 Test training
15:21 Training with full dataset
16:44 Improving the dataset
18:20 Saved model
19:01 Separate sketch for prediction
19:40 Loading the model
21:13 Testing the model with shapes drawn in p5.js
24:41 Mouse drawn shapes
31:01 Using a webcam and a notebook
33:49 Wrap up
34:33 What's next?
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: github.com/CodingTrain/Rainbow-Topics
💡 GitHub: github.com/CodingTrain
💬 Discord: discord.gg/hPuGy2g
💖 Membership: kzbin.infojoin
🛒 Store: standard.tv/codingtrain
📚 Books: www.amazon.com/shop/thecodingtrain
🖋️ Twitter: thecodingtrain
📸 Instagram: the.coding.train
🎥 Coding Challenges: kzbin.info/aero/PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: kzbin.info/aero/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