You have a typo, the equation after Free Energy should start with NLL(w)=−∑log(p(y|xi,wi))q(yi|xi).
Also the third line should be ∫⋯+∫, not minus.
Also, usually people use θ for model parameters (rather than w). I don’t know the etymology, but game theorists use the same letter (for “types” = models of players).
You have a typo, the equation after Free Energy should start with NLL(w)=−∑log(p(y|xi,wi))q(yi|xi).
Also the third line should be ∫⋯+∫, not minus.
Also, usually people use θ for model parameters (rather than w). I don’t know the etymology, but game theorists use the same letter (for “types” = models of players).