Machine Learning Course - Lesson 12: Elongation Feature @Radu
Machine Learning Course - Lesson 12: Elongation Feature  @Radu
Uploaded July 2023 | Updated September 2026, 2 weeks ago
To improve the accuracy of our machine learning classifier, we'll implement another feature where we measure how elongated a shape is. We do this by first computing the convex hull, then finding which oriented bounding box has the smallest area and finally dividing it's width (the longest side) to the height (the shortest side). Then, we add this feature to create a 3 dimensional feature vector and use the KNN classifier using the Euclidean distance.

The Course: youtube.com/playlist?list=PLB0Tybl0UNfYe9aJXfWw-Dw_4VnFrqRC4

💻 Code
github.com/gniziemazity/ml-course-phase-2
✔️ Use P3 to follow along
✔️ P4 is the code after this lesson

💻Ilya's code: gist.github.com/id-ilych/8630fb273e5c5a0b64ca1dc080d68b63

Interpolation Video:
youtu.be/J_puRs40GhM

Euclidean Distance Video:
youtu.be/3rPwfmrCwVw

⭐️TIMESTAMPS⭐️

00:00 Course Introduction
02:05 Reviewing Ilya's Code
04:54 Debugging the Code
08:25 Elongation Feature
11:00 Euclidean Distance
16:08 Analysis and Discussion
Machine Learning Course - Lesson 12: Elongation FeatureDecode the Drawings - Status & Prize UpdateJavaScript 🧤 Christmas Calendar 📅 Day 9 🎄Drawing CIRCLES in 10 Different Ways with JavaScriptAnimated Counter using Google Chrome Dev Tools and JavaScript (Fake Subscriber Count)JavaScript 🔔 Christmas Calendar 📅 Day 6 🎄JavaScript 🍭 Christmas Calendar 📅 Day 4 🎄Basic PHP web server for Game (Backend Part 2)BRIO Train Track Piece Generator in JavaScript🚙Self-driving Car🚗🏢DRIVING INSIDE BUILDINGS🏢🚗 Easter Egg 🐰🎅Help me make a NEW Machine Learning CourseJavaScript Train Simulation
Radu Mariescu-Istodor |

Machine Learning Course - Lesson 12: Elongation Feature

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER