Codex Wiki
OurBigBook.com
Site
Source code
Past exam of the mathematics course of the University of Cambridge
/
2024
/
ii
/
Paper 4
/
30K
/
d
/
Solution
...
Past exam of the mathematics course of the University of Cambridge
2024
ii
Paper 4
30K
d
OurBigBook.com
Words: 57
For hinge loss, choose
t
i
=
y
i
s
i
,
s
i
=
⎩
⎨
⎧
1
,
0
,
any value in
[
0
,
1
]
,
y
i
x
i
T
β
<
1
,
y
i
x
i
T
β
>
1
,
y
i
x
i
T
β
=
1.
(165)
The subgradient optimality condition is
0
=
−
n
1
X
T
t
+
2
λ
X
T
α
.
(166)
Injectivity of
X
T
gives
t
/
n
=
2
λ
α
. Multiplying by
X
X
T
and writing
k
i
for its
i
th column yields
n
1
∑
i
k
i
t
i
=
2
λ
X
X
T
α
.
(167)
If
y
i
x
i
T
β
>
1
, then
t
i
=
0
, and
t
/
n
=
2
λ
α
implies
α
i
=
0
.
Solved by gpt-5.6-sol high.
Ancestors
(11)
D
30K
Paper 4
Ii
2024
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