ML Unit 2
ML Unit 2
ML Unit 2
,,
~ :, ➔
JuPERv1sEo
S~ pe:r~ I Sed U?a-rn Inca ~
LEARNJN&i
~
c, ~ The moLh,ne 1·s provided u...>1th a new seJ 0~ e.x.amples
~
~ ldq·ta) so thoJ supe.1\/\Sed lea-rn~ng a l go"b'ithm analljS'eS
the trai nl n9 daJQ and p ~due.e~ a c_o-roecf ou+come ,f(-om
~ \abe.t \ed de.ti-a .
~
~ :l Learn\ng •- Acquloe and crga.o1's-e Knowledge.
~
~ c LeaYni nq - ,fyom ·- obse.~vation - framewor-t t:o <:aene..-rate
~
~
rnO.lht ne~ m0\lemen t- to Q(h1eve Q ·target -task wtth l~SS
(!I~ u.se.,y'~ progiamm\nca e.ffoi--t .
"' ~
4
P...-o.\-\cal e.xetrY'ip\e~ •
l. C Yed.r+- ~\SK. °'~sess f'nen•l-
'
LI ) T~e X
,c; the p·2SOpe.rh'es of ih-e cus\-o roe.r. ,, ~ cc
., appoo ved <.a-s) h()-\- . ti" ~
ll'> •he f(1') IS C,ledft 1
":s
{§':
how to do It ·
~
n+oF ~
~
~
~ ~ ML a\go1n-th~ with lcc...u bia.s -
~ .,
~ Unea y "fe g,-es-s (on , Log Is ·ttc -Ytq-,-e.ss I on ·
,,..,_~
, - ~ ~ ~a8_S to ,s-educe High aio.~ ~
So1be,._ ~
.~ ~ occu "rS due ro o. r<"IUch si mp\e v-nod.e \
~ \hGrea~e i/p
ta;,~
.fecth.lre~ as I-he mode\ 1s und~Fi
enH~f .c;,, ~
1S,, 41
·- t>ecxea,e the --ae90 la:,rt 2-C\·non •k..'?fl"'('") ·
e
C,
Oc.a:
£. n l :1.) = ~fusv + \K.\'r\. O.r'\Le -+ l"rre du ci bl e e..~
'-¥
(t)oi~e.) tne
I'l l "'.'!Ir
,.,, ii
~ 0
{JI
l~
. .
~ I a-
fll'
~
~
C
(\
G. . .. ~
e m
1
- oveY-n \-\ln~
L variance
~
~ I ~
~
~
'--6
--~
~
'"--fii 0
Low B\C\S ~
~
·w
~:ip Io.n a. \ion~ a~ rnore Yl!.Q So o able and ~
--r~,~
u nr.e..cce ssul'"~ c.om,~ Lexi \.u shou\d be sh
0 \ " "''? C\ Ved Off .
Sil'Y)p\er, ,mp\i~ \Q.~el
pa ramei-ns, l~ss e.} tra.i ni ng
l:i tne , kwe Y o tt -rl bu \es , \QSSer U)m pLl\-a h'oml co mpltic1 ~
"' Oc.ca.rns -ra.1.01' pil n cJ p\e su.9 <a es 11 hlJ po \-he. si s funtn ..,~
O
that CIVO(d cverM\-nn~ ~ I-he +mln\n~ dal-q.
ft sla \-ts\iccl\ vnode,\ (s Sa\ d -to be O\/e o·h Hed when lht
mode,\ doe.~ not- MC\.k.e a.cc.u..rat e p-red-r ch·ons on
i€.SnV) g de\ta ·
!'\
o Heu n• ~he
, ~eo.,~L.
u 1 is c\ass of method wh( th is used
.ln order l1'h . r\ ...
U1 S€.C\Y'"'r,
C\ ~\u\ion ~pace foy an opHroal
so\u ti on for a p10blem . ,
~ Applied Ml ~gan,-ie.s -fht S<WEOl a, per l.-s~p p~teS5 ~
1- The ~earth Is H-rsf Focused on ct cla~ ot po~s)ble....,
0
,s posti ble \:o U>l'i1:e \:he ne.w c..·~-He:~fa.n Cl~ Cl
\t
r,u.m of the ~m-r on ~he mlinlng c;e~ pl.1.H o --requ10:l1,..,
h~Oh k ym ·...,....--- ~
!tAA.. ~•
e.tc4~b-A X ~'dP0 ~nesis tamp)€~,~ whele e
)\ , ve~ ~e tAt o~ pe.na \~. •4
wi thou.t ,
I
l-0 t'Y') pm rn1 s', nq. 0n mode.I et C.LU."rct c.t..4 .
0
The ensemble me:thod~ in ML terobine the ,ns\ghH
obl-O.tf)ed -~ rn VY'lUt+rp\e learning models to .t:-a.ci uate
uccuraJe a.nd impmve-d dec,s·ions.
._
"' tvto de. ~ lhe v-alue th<l~ mos~ oflen appea~ \h a...
'
c;;;
.c..._
~1"2.t.=
•
.a
do t-aset- 6~ vatu.es @1') nl.lm b~'rt •
'
4ii. a;.;
;a, The p~e.cl, cbt(Sr')S ma.de by di ffe~t model~ o~e Fat-e.t1 ru
S-,
41 sepero;ie voles ·
Q,,
-a
► ;fr Subseqlle,n\·t y I th~ p¥edfc.,hon vna.c:!e blJ mo~~ models is
'- ~ b-ro\ed as the utttrnQte p~d(ch'on .
& '.It
'= ~
Mectr,f Ave-rct'de ~ Conside.Y the av~m9e. p~edich'cn,s
-
0
br a!'
'!= ~
made blj q\ I mode,) s ir>\-o a.cc.ount when making
~
.. IE)
4 the. uf hrna1e pte dic..·tion .
• We.1' g h kd Ave.,~ge.. t
e ~ dcm\ ~c..~ecrl e sa.rn p\es er- bu; n \ ni da. i-Qs-e ~ -w) t-h
~p\ncernen+ •
e BoosHnq ~
c. Boos 1~
n ng a..'lgco1·thf'Y>i ~duce biaS' ~·n on a.nd ·~ d.~ce
f'l'€-d1' c8ve rn€.\-hccis ·
0
tnse..mble me.thods· al"€. u~ed \-c S()hre cla~~- ,vnboJanc.E
~bte.rY1.s .
-d~
c.,\ass cF intre&t- is lef)" b~ ju&i; ~ kw · so.mpte.s CAheteru'
the. rn:.\joo1 hf Ot the samples )-epn the. clhe~ l.lqss .
• qenem\ approaches for i rnp~ vement o
"' Ove.r~amp\1 n 9
• under~a.rn p\ 1n9 \
0
Tn res ho \d vnov-1n9
0
Ensemble n-ie.-rhod s •
,
~
. ~
[ ro·-r- . L~
Train,~ dataset T~l-1~
~·
~) Ro.ndorn So.r() p\i~ : Tethn\q ue t'n which e..ach sample
has an eq ua. \ plO ba bf l t hJ. cf- bei cyn cho!en •
0
e l-+ow to condu.c+- a ra.ndcm ~o..mple -
Skp - I : De..n·ne 1he poj>u lC-t·Hoh ·
~: 4) Bool-s+ro.pp irxa :
r{lh fold
h
p;i;:: 1h1$ method involves- dra.winq- o~ sample do~ ~
with ~ \QC€ rne.r'.-l- hem u dcl \-l\~ou. rc.e .
0
sctrop\in~
~ sarnp\in~ (J.)i \-h ')€..pla.cemenl
(_
11 PorarnQler .es6maHon .
-t Why do U)e need bootshapi~ ( sampling) ?
~ ~ rind rnea.n hetght or a\\ h'\-t.tc\en ·~ tn a cto.s:s _9 4 ln.\'.(
A) lnS\ead of measu~~ the heigh~ o~ a\\ s\Uden~
-e.~ H mate ef mean heiq•h\- of- S\-4 ckfl ~ (n s-c. hoo \. O°b()U1
U.~\hO
'
--, S\-a Ustic.o.l lrom\ng: Sam~
~ ~po
0
pop\.,\ \Q ltbn ~ ~0,rnple. . 1
c.
e,k. as para.mete-rl ·
~mp\e's meQWrabie Chcuuctexis.\-ic \S known as:·
e,
f"':
e
M
B
.. ,
...• 1
Ill T
S kl i--t'~h ·c · B "4
84
-r lnkren-\ioJ g\-QHs+tca.J A-na lyii~ : 8.
Ra
0 Toe
ma,n aim o~ ,n(:e. re.n·\-i a I' Si<lHSh~cs \.S \--o d'rClW • •
-thQJ'h • •
scme conC\u.SiOY\S f¥om 4ne. samp\.e and ge.n~ra.\,se ••
•• to
fu" the popu la t-i oY.l aat-a ·
••
••
.-:::r Des cr\p-l, ve. Sta.rt £rtCS : ••
0
C,
--"7 ln +e-ore.n btru v /> t>estrip ti ve, ~
-
\nferenhal Desu-f pt, ve,
-
0
U~e,d lo mo\ce, ccnciu~i'cm 0 use.cl ·to quctn-h fl( the
about the ~pulahcns b~ crarot\-e"¥1Sh'0 of lhe datq ·
~Sfh~ arcl\lJ hc.oJ -tools on
Sample da\-a .
0
USe.d ·to roq,k,e \h fo-etic£S 6 Used to de.sU-cba abollt
· a.boui- OJ") cu·, tn(j.,Un kV)ac..oh popu\afio-n/ ~o.rnple-
popu\ Q.tio11 .
t) T- ,1es~ , 2.- k~r, H\"\ea" ~ va:ri o.,r, te -' -ro.nge-, rt'\ ean ;
7 Unter~cu n t:I
0
Pre babl \t' ~ dfsh-t bu·tions a.~ o. N-nc..+ion c l-a.b\e l ~ •..., .- -.
@
• t>eJ-i'ned a<; pm ba.bi Li tt,i -lhcfr
"fO.f'\dom VO..a\Ob\e.s .
••• ••- Ex :
x- oando~
-~C1' ) -
\J a,\ a \::,\e
P\JF r
I ,
- cl..
P(A f\ B)
J j I ~Ls'.) '
-
.. M~an J
sp'!,eo.d ou \-- ·
-
Ave"'~e ~ u
.. M O
Q-€. : th Q -k )'"n) a pp ecn1 hq... ma.~ hm e \ i'") a..a. \-QS€. t C<n)
...
\::01'Y' whCch ho.s n,'ghes+ F-cequenLJ.J-~ W<Yt
• ••
b) Me.CX~Ll'"fe~ of ~ambt\\'hj / D\sperStOY);
N"'ea () ·
\~ mean ()j .Sample ~
~
.....
Sb"" '-'41
~ it m~a.n 0~ ~~\Ol~~.....
data ~-et- ·
~ua)"l-,\.es: va\ues ttn\- divide da\c\ i nto 9uacrti1es p~w:ki
ctr
6l \ -/ .
rD-f-
~~
.
•-- • Clo.~ \abe \
Dea.d
c;Lt lV\\fQ t
l c\a.ss o)
(Clo.~~ tSl.
a;
a::.
c(a<;S ,ro bakl.nce cm (SVM)
me.di an -: l< b
\