MLT Unit 2: Machine Learning Notes
MLT Unit 2: Machine Learning Notes
12000
• •
•
4oo-o
•
g lo
2. 4- '
T ff U. ~ ~ OA-1
[Y=HhX+l.11
W~ © Yj.J fw hf e,wJ. eM,) ViAAi abLe Wt Wa.c.J to rruL c1 . (~[Link])
. 0 X iA -rw j ~ ~ \/Mi tLb2t LUuJ. f1> t p-ridl th' f;xA l ~o G)
G) a. Jh -+¼ i ~~ L Bl t<A.t ~ ~ Qj ~ vJM.t °I> y
-b d ~~ x .: oJ
l
0 b .i& +"'-t -U9f t ~ 1M. Ji ...e , ~ -
1 -Ji,,,
~ e . lV\ 1 rx
o.. 0\M, .t,u,J-i ~ e vtJVI x.
1
0 u .ii tw ~~ lli.W [Link],u,t , vJl-ticJ,,., ~ +tu. ~
J~ ~ [Link] c)j (91/l,.
Downloaded by hidden leaf (hiddenleaf1347@[Link])
lOMoARcPSD|35954677
500000- 0
~5o oo o
...........
"100000
c1.
-.I
:$
35 b 00 O 'O :E
3000000
~ 2500000
YI ( S41u. ;., ~Y
'
Xl (Jve.u)I
I /·l
2. I. g
3 2,J
+-
s
J.2
3, Q
-'
Iv~ att ~
Th.,vu ON 5 j-J-U¾& J.e ( ~ I, 2, 3, Lf, 5
91,t ~ ..M .-0 ~ "1 b~·
X1 y,- { XJ)
l.
X.,i · Y./
I I· 2 I /· 2-
2
I· g 4 3.c ..::,--
2-t q 7-~
3 ~ ,2.~
-..... 3.2 It
-4 J
3, g L5 17 .
5
1 Vi= 12·'
z. Cx i-J1-; 55 '2 XL ~t = 4-4-- t1-
Z.'1-{: 15 Av-,: 1
- 2
41 1 ~xi J,·
'1 ,Xt5 - 15
Yr -
= 11· i
.. .,.... ~ ~
i(Xc)
.. 5
5 --
-X -- 3 -
~::::.2.-52..
2.
(X e J == I }
44-- = P.g9
5
-
b =(J'tr)- (JXy) g. gg _ 1 1-2 · 52
- - 2- 1I - 1
lX riJ - Cx ) Y
== 0 •5lf-,. 7-j~
~== g.l-f, ~
.J
X ( 2, >'I g ) ' y ( 3 7, 5 I IO )
0
Lf I
'
' I
X ,y x2. X1
'
+
'
l
2 3
I' 28
4 1- I \ • ( ' I
'
3! 3"
5 "
~
'
~ I t, ' , . f ·, I
,I II 1\
go
i I\
j
' I ) '
'
I
I
\
YI c~x 1
) -(~X) 7. ( • • ; ' ' ,' I
I
I
\ 1 t
\ ' ., I I '
I I l .- \ I . I
=. 4 { 1+4) - 2o X 25
4- ( 120 ) - (2 O) l. . .
y (1zo) - (2°)2.
1
-- j O b t, - 2_g g 0 ~c/ -
-- Jty; /
__..
2-
2
-- I· S" L
4-Bo - ~rro
Downloaded by hidden leaf (hiddenleaf1347@[Link])
_...
41 ,., •
lOMoARcPSD|35954677 ~ - -
No
2 4- 2
oLu1u,J .
Logistic Regression
Linear Regression
y=l •-
a,
::cra
·;:
.....C: Straight lin ~
y )-Curve Predicted YLies
QJ
"O
Predicted Ycan e:oeceed c QI
y
within
C:
Q.I
Oand 1 range "Cl
C:
0. QI
0 i:in:l 1 rJ ngc
l1J n.
a QI
0
~ Y=O
• y=O "'-~- . - ~ # - ¢- C'-"9>--- - ·
X X
Independent Variable Independent Variable
line ar R • .- - -
solvi ng Regr essio n Logistic regression is used for solving
Problem_egress1on Is used for
Classification problems .
.
In L.I
~ear regression, we predict the value of In logistic Regression , we predict the value s of
cont inuo us variables. categorical variables.
In l_inear regre ssion , we find the best fit line, by In Logistic Regression, we find the S-cu rve by
whic h we can easi ly pred ict the output. which we can classify the samples.
-
Leas t squa re estim ation method is used for Maximum likelihood estimation meth od is used
estim ation of accu racy . for estimation of accuracy.
(f)
"-
-rP 2.o 3o
f(8)=~ ::::.o·3
p (A) /o o
P(AfltJ,) 2 :: o· L
:::_!!_
"""'\ f(AfB). l'fB) = P(flnB) 100
e I
~ ~~
~ - ~2
•
3•
PJ..iM.t tJo t P) l
; ' ~
Md Ne (o) J
p (P\o) :: P(DIP) · P(P)
. P( o)
f (o) :: .i. .. o ·5
(O -
P(olf)::. 3/y
~(-f);; 1L
Ic
.
.i.& +w plOvCVD 111exnro 0- ~fl<,,. ~
JJda j vi bupelWlJ> ~ LLJvtw 1 .
Su.11wa
rorl
vJo.A,WJ tJ~ Wo>tW7 ~
2.
[Link] WQM,M. 1~
3 ~ s~
\
Rai ~
-i,
4 ~L t.~ w~ ...ur 5
\NCIMM,,,
(-O'QJ
w d, e. ,r
V t: W ~
ww
le-vvJ.l ti ~ 1 9'\IYl ~ w '-4 d« tr o.,J ·
A+[Link]~ 1-- -,1,u,{Y \} ~ U
~
- ~Low l..luw 1 .C,·vu! s ~,-;,,,,,,, -
r [Link] 4 -
L
I
+aJc ~ Af+,,-ibufe
No ~ ~o~ v/JhLe
~{
~--::,, _ _
_ _
--L .
. . _ _ __
( ~ . .if [Link] ~
Vcdtte
I - ~ - - - · - - - 11 --- -
•
---. Protvv.)
r~
.(1) ~+i-ft.'
[Link]-i~ I
.•
a.o W-t +!A. tw w ~-1 ,.<,p wf ~ 41otf.U4..I.I , w1M cJ.< 1•u: .:tt.O_k
·~.,, - a
~ lMA-y
&~ ~ 0
1\1\.A~ .
.
~ : cswi~, Wa>.WI, I l l ~ , ~ · w~, SaMu-)
Ci) Cn ~ -zj-1'9\A, .
~ tutti)~ -k, ~ ~ ~ -
® ~tW-11 ~o+wU() -
•
•
•
. ( \JVUi ~ ~p4Gl) . .
~f1Vlll ~o~
1
.i~./c4½( (~u~~, ~ ~) 1 ([Link]~,#Jo~
c Sun 1 , r J{ r ?, ~ ) f'..
~~,
~4).4.
r LI tJ
i
~ 1 ½fo~ cw 1~f~ .
G) ·r
~ ¼ + ir u. ii. e -tl<I ~ ~d-J. Ct,o aMA ~o
(AMA ~r W f'c b w w l~ - -
"to->t. [Link].. p«l&i+-1ve ~
11-\we fn-- spWf c ~ ~WW
W W ~ aU Va.luf6 61,
q~ ? ~ -h-ru'w' ~
@) +o-r e.w,, - I) ' ~ {W ~~
~e ~ ~ +o srWfic
?~ ~ IA J~ ~ 1/aJ»_e f nw i
~ -h·[Link]'d W-a ,i,,. IU U {J ~ I
'(?U1
\
W4 1-<1~
~~ \[Link].
~r Mo
[Link] W4'1.,wt
I
(,Uf ~~ - (£OJ
'
~t yVJ
I
1 ? 7
-r
L. • ' '
tJot
~ ltkAt)fet