課題
11T4056H 永田 純平
2014/6/12
C 2
|w|
2
(1)
(log exp(w • ϕ(d(i) , y (i) )) − log Zd(i) ,w −
C 2
|w|
2
(2)
C 2
|w|
2
(3)
d(i) ,y (i) ∈D
∑
L(w) =
∑
log P (y (i) |d(i) ) −
L(w) =
d(i) ,y (i) ∈D
L(w) =
∑
(w • ϕ(d(i) , y (i) ) − log Zd(i) ,w ) −
d(i) ,y (i) ∈D
1
(w • ϕ(d, y))
∗P (y|d) =
Zd,w
∑
∗Zd,w =
exp(w • ϕ(d, y))
y
∇w L(w) =
∑
∑
(ϕ(d(i) , y (i) ) −
d(i) ,y (i) ∈D
∇w L(w) =
∑
y
ϕ(d(i) , y) exp(w • ϕ(d(i) , y))
) − Cw
Zd(i) ,w
∑
(ϕ(d(i) , y (i) ) −
P (y|d(i) )ϕ(d(i) , y)) − Cw
d(i) ,y (i) ∈D
y
1
(4)
(5)