Grokking Algorithms



Download 6,4 Mb.
Pdf ko'rish
bet95/120
Sana21.12.2022
Hajmi6,4 Mb.
#893167
1   ...   91   92   93   94   95   96   97   98   ...   120
Bog'liq
Grokking Algorithms An Illustrated Guide for Programmers and Other

Chapter 10
 
 
I
 
 
k-nearest neighbors
Picking good features
To 
igure out recommendations, you had users rate 
categories of movies. What if you had them rate pictures 
of cats instead? hen you’d ind users who rated those 
pictures similarly. his would probably be a worse recommendations 
engine, because the “features” don’t have a lot to do with taste in 
movies!
Or suppose you ask users to rate movies so you can give them 
recommendations—but you only ask them to rate 
Toy Story

Toy Story
2
, and 
Toy Story 3
. his won’t tell you a lot about the users’ movie tastes!
When you’re working with KNN, it’s really important to pick the right 
features to compare against. Picking the right features means
• Features that directly correlate to the movies you’re trying to 
recommend
• Features that don’t have a bias (for example, if you ask the users to 
only rate comedy movies, that doesn’t tell you whether they like 
action movies)
Do you think ratings are a good way to recommend movies? Maybe I 
rated 
he Wire
more highly than 
House Hunters
, but I actually spend 
more time watching 
House Hunters
. How would you improve this 
Netlix recommendations system?
Going back to the bakery: can you think of two good and two bad 
features you could have picked for the bakery? Maybe you need to make 
more loaves ater you advertise in the paper. Or maybe you need to 
make more loaves on Mondays. 
here’s no one right answer when it comes to picking good features. You 
have to think about all the diferent things you need to consider.
EXERCISE
10.3
Netlix has millions of users. he earlier example looked at the ive 
closest neighbors for building the recommendations system. Is this 
too low? Too high? 


199
Introduction to machine learning

Download 6,4 Mb.

Do'stlaringiz bilan baham:
1   ...   91   92   93   94   95   96   97   98   ...   120




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish