Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
ml5.js: KNN Classification Part 2
Play lesson

Beginners Guide to Machine Learning in JavaScript - ml5.js: KNN Classification Part 2

4.0 (0)
12 learners

What you'll learn

This course includes

  • 10 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

This video series covers "KNN Classification." In this second part, I train the KNN image classifier using the ml5.js library. Code: https://thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/5-knn-classification/2-train-the-model 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/RERqlwJL 🎥 Previous: https://youtu.be/KTNqXwkLuM4?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y 🎥 Next: https://youtu.be/JWsKay58Z2g?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y 🎥 All: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y References: 💻 ml5.js: https://ml5js.org/ 💻 Machine Learning for the Web by Yining Shi: https://github.com/yining1023/machine-learning-for-the-web 📓 How to build a Teachable Machine with TensorFlow.js by Nikhil Thorat: https://observablehq.com/@nsthorat/how-to-build-a-teachable-machine-with-tensorflow-js 💻 Webcam PacMan: https://storage.googleapis.com/tfjs-examples/webcam-transfer-learning/dist/index.html Videos: 🚂 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y 🚂 https://www.youtube.com/watch?v=N8Fabn1om2k&t=0s Timestamps: 0:00 Introduction 0:31 Tensors: an object which can house N dimensional data 1:50 Create a ml5 model 2:34 KNN classification 6:42 Multi-dimensional inference 7:54 Cosine similarity 8:43 addExample() function 9:14 Let's Code! 12:16 Add an async function GotResult() 14:10 Handle the error 14:35 Train the model 15:18 Distance calculation done in real time 17:58 goClassify function 20:20 What's missing? Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: https://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/ 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 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 #knnclassification #machinelearningml #ml5js #p5js

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere