Guruh talabasi Saloxiddinov Sirojbek Azizbek og’li Mashinali o’qitish fanidan 2-Amaliy Ish Mavzu: Ko’p o’zgaruvchilik chiziqlik regressiya


Bunda biz hosil bo’lgan nuqtalar rangini ko’k rangdan qizil rangga o’zgartirib olishimiz mumkin


Download 1.23 Mb.
bet3/3
Sana05.12.2020
Hajmi1.23 Mb.
#160344
1   2   3
Bog'liq
Saloxiddinov Sirojbek Azizbek og'li 715-18 4.2


Bunda biz hosil bo’lgan nuqtalar rangini ko’k rangdan qizil rangga o’zgartirib olishimiz mumkin.

Buning uchun plot3(x1,x2,y,'bo','linewidth',4); dan “bo” ni “ro” o’zgartirish kifoya



a=[1 8 3.4 2 11 2.4



  1. 13 5.6

  2. 15 6.2

  3. 21 5.3

  4. 28 7.2

  5. 33 6.8

  6. 39 8.5

  7. 45 8.23 10 56 9.123]; y=a(:,1)'; x1=a(:,2)'; x2=a(:,3)'; plot3(x1,x2,y,'ro','linewidth',4); hold on; n=length(x1); a=[ones(n,1) x1' x2']; c=pinv(a)*y'; x1=linspace(1,100,100); x2=linspace(1,100,100); [x1,x2]=meshgrid(x1,x2); y=c(1)+c(2)*x1+c(3)*x2; mesh(x1,x2,y) xlabel('Abdimuratov Do’stbek 715-18'); ylabel('Teacher:Elnur Islomovich'); zlabel('Machine learning'); title('Mashinali oqitish 3-kurs ') grid on;

yuqoridagi dasturda x o’qini biz “Abdimuratov Do’stbek 715-18” y o’qini 'Teacher:Elnur Islomovich' z o’qini 'Machine learning'



hamda title qismini 'Mashinali oqitish 3-kurs” deb nomlab oldik va “run and advance” buyrug’i berilsa quyidagi natijani olamiz.








Xulosa


Men bu amaliy ishni bajarish davomida ko’p o’zgaruvchili chiziqli regressiya ustida amallar bajarib o’tdim. Buning uchun o’qituvchi tomonidan o’rgatilgan amallar ustida ish olib bordim hamda video darslardan foydalandim.
Download 1.23 Mb.

Do'stlaringiz bilan baham:
1   2   3




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