How to calculate (term frequency )tf of documents? Assume your query is best car insurance



Download 124,52 Kb.
bet3/3
Sana31.12.2021
Hajmi124,52 Kb.
#215655
1   2   3
Bog'liq
Bayram Hudayberdiyev

Least Squares


The name of the least squares line explains what it does. We start with a collection of points with coordinates given by (xi, yi). Any straight line will pass among these points and will either go above or below each of these. We can calculate the distances from these points to the line by choosing a value of x and then subtracting the observed y coordinate that corresponds to this x from the y coordinate of our line.

Different lines through the same set of points would give a different set of distances. We want these distances to be as small as we can make them. But there is a problem. Since our distances can be either positive or negative, the sum total of all these distances will cancel each other out. The sum of distances will always equal zero.



The solution to this problem is to eliminate all of the negative numbers by squaring the distances between the points and the line. This gives a collection of nonnegative numbers. The goal we had of finding a line of best fit is the same as making the sum of these squared distances as small as possible. Calculus comes to the rescue here. The process of differentiation in calculus makes it possible to minimize the sum of the squared distances from a given line. This explains the phrase “least squares” in our name for this line.
Download 124,52 Kb.

Do'stlaringiz bilan baham:
1   2   3




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