Python Artificial Intelligence Projects for Beginners



Download 16,12 Mb.
Pdf ko'rish
bet26/65
Sana02.01.2022
Hajmi16,12 Mb.
#311589
1   ...   22   23   24   25   26   27   28   29   ...   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)

Random forests
Random forests are extensions of decision trees and are a kind of ensemble method. 
Ensemble methods can achieve high accuracy by building several classifiers and running a
each one independently. When a classifier makes a decision, you can make use of the most
common and the average decision. If we use the most common method, it is called 
voting
.


Prediction with Random Forests
Chapter 2
[ 25 ]
Here's a diagram depicting the ensemble method:
You can think of each classifier as being specialized for a unique perspective on the data.
Each classifier may be a different type. For example, you can combine a decision tree and a
logistic regression and a neural net, or the classifiers may be the same type but trained on
different parts or subsets of the training data.
A random forest is a collection or ensemble of decision trees. Each tree is trained on a
random subset of the attributes, as shown in the following diagram:


Prediction with Random Forests
Chapter 2
[ 26 ]
These decision trees are typical decision trees, but there are several of them. The difference,
compared with a single decision tree, particularly in a random forest, is that each tree is
only allowed to look at some of the attributes, typically a small number relative to the total
number of attributes available. Each tree is specialized to just those attributes. These
specialized trees are collected and each offers a vote for its prediction. Whichever outcome
gets the most votes from the ensemble of specialized trees is the winner. That is the final
prediction of the random forest.

Download 16,12 Mb.

Do'stlaringiz bilan baham:
1   ...   22   23   24   25   26   27   28   29   ...   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