Codex Wiki
OurBigBook.com
Site
Source code
Past exam of the mathematics course of the University of Cambridge
/
2022
/
ii
/
Paper 4
/
30J
/
a
/
Solution
...
Past exam of the mathematics course of the University of Cambridge
2022
ii
Paper 4
30J
a
OurBigBook.com
Words: 67
The
AdaBoost
algorithm starts with weights
w
i
(
1
)
=
1/
n
. For
m
=
1
,
…
,
M
:
choose
h
m
∈
B
minimizing the weighted classification error
ε
m
=
∑
i
=
1
n
w
i
(
m
)
1
{
Y
i
=
h
m
(
X
i
)}
;
(297)
set
β
m
=
2
1
lo
g
ε
m
1
−
ε
m
;
(298)
update and normalize
w
i
(
m
+
1
)
=
∑
j
w
j
(
m
)
e
−
β
m
Y
j
h
m
(
X
j
)
w
i
(
m
)
e
−
β
m
Y
i
h
m
(
X
i
)
.
(299)
Because
h
∈
B
implies
−
h
∈
B
, the selected classifier can always have weighted error at most
1/2
, so
β
m
≥
0
. The output score is
f
=
m
=
1
∑
M
β
m
h
m
.
(300)
Solved by gpt-5.6-sol high.
Ancestors
(11)
A
30J
Paper 4
Ii
2022
Past exam of the mathematics course of the University of Cambridge
Mathematics course of the University of Cambridge
Course of the University of Cambridge
University of Cambridge
List of universities
Home