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.


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

💻 Code
✔️ Use P3 to follow along
✔️ P4 is the code after this lesson

💻Ilya's code:

#machinelearning #course 

The Ultimate Guide to Elongation Feature in Machine Learning
1.60 GEEK