Python Artificial Intelligence Projects for Beginners


True apple  and  True orange



Download 16,12 Mb.
Pdf ko'rish
bet14/65
Sana02.01.2022
Hajmi16,12 Mb.
#311589
1   ...   10   11   12   13   14   15   16   17   ...   65
Bog'liq
Python Artificial Intelligence Projects for Beginners - Get up and running with 8 smart and exciting AI applications by Joshua Eckroth (z-lib.org)

True apple
 and 
True orange
 refers to cases where the
object was actually an apple or actually an orange. The columns refer to the prediction
made by the model. We see that in our example, there are 20 apples that were predicted
correctly, while there were 5 apples that were wrongly identified as oranges.


Building Your Own Prediction Models
Chapter 1
[ 8 ]
Ideally, a confusion matrix should have all zeros, except for the diagonal. Here we can
calculate the accuracy by adding the figures diagonally, so that these are all the correctly
classified examples, and dividing that sum by the sum of all the numbers in the matrix:
Here we got the accuracy as 84%. To know more about confusion matrices, let's go through
another example, which involves three classes, as seen in the following diagram:
5QWTEGUEKMKVNGCTPFQEU
There are three different species of iris flowers. The matrix gives raw accounts of correct
and incorrect predictions. So, 

Download 16,12 Mb.

Do'stlaringiz bilan baham:
1   ...   10   11   12   13   14   15   16   17   ...   65




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