Рет қаралды 1,759
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: • Machine Learning Course
💻 Code
github.com/gniziemazity/ml-co...
✔️ Use P3 to follow along
✔️ P4 is the code after this lesson
💻Ilya's code: gist.github.com/id-ilych/8630...
Interpolation Video:
• Linear Interpolation (...
Euclidean Distance Video:
• Euclidean Distance: Ma...
⭐️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