Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 57 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
57
Dung lượng
9,49 MB
Nội dung
KNN Classification Algorithm What’s in it for you? Why we need KNN? What is KNN? How we choose the factor ‘K’? When we use KNN? How does KNN Algorithm work? Use Case: Predict whether a person will have diabetes or not Why KNN? By By now, now, we we all all know know Machine Machine learning learning models models makes makes predictions predictions by by learning learning from from the the past past data data available available Machine Learning Model Input value Predicted Output Is that a dog? No dear, you can differentiate between a cat and a dog based on their characteristics CATS DOGS Sharp Claws, uses to climb Dull Claws Smaller length of ears Bigger length of ears Meows and purrs Barks Doesn’t love to play around Loves to run around No dear, you can differentiate between a cat and a dog based on their characteristics DOGS Sharpness of claws CATS Length of ears No dear, you can differentiate between a cat and a dog based on their characteristics Now tell me if it is a cat or a dog? DOGS Sharpness of claws CATS Length of ears Now tell me if it’s a cat or a dog? It’s features are more like cats, it must be a cat!