Grokking Algorithms


Introduction to machine learning



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

Introduction to machine learning
KNN is a really useful algorithm, and it’s your introduction to 
the magical world of machine learning! Machine learning is all 
about making your computer more intelligent. You already saw 
one example of machine learning: building a recommendations 
system. Let’s look at some other examples.
OCR
OCR stands for 
optical character recognition
. It means you can take a 
photo of a page of text, and your computer will automatically read the 
text for you. Google uses OCR to digitize books. How does OCR work? 
For example, consider this number.
How would you automaticall
y igure out what number this is? You can 
use KNN for this: 
1. Go through a lot of images of numbers, and extract features of those 
numbers. 
2. When you get a new image, extract the features of that image, and 
see what its nearest neighbors are! 
It’s the same problem as oranges versus grapefruit. Generally speaking, 
OCR algorithms measure lines, points, and curves.
hen, when you get a new character, you can extract the same features 
from it.


200
Chapter 10
 
 
I
 
 
k-nearest neighbors
Feature extraction is a lot more complicated in OCR than the 
fruit example. But it’s important to understand that even complex 
technologies build on simple ideas, like KNN. You could use the same 
ideas for speech recognition or face recognition. When you upload a 
photo to Facebook, sometimes it’s smart enough to tag people in the 
photo automatically
. hat’s machine learning in action! 
he irst step of OCR, where you go through images of numbers and 
extract features, is called 
training
. Most machine-learning algorithms 
have a training step: before your computer can do the task, it must
be trained. he next example involves spam ilters, and it has a
training step. 

Download 6,4 Mb.

Do'stlaringiz bilan baham:
1   ...   92   93   94   95   96   97   98   99   ...   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