Quote:
Originally Posted by marek
I am struggling to understand how to calculate  in this question. I have two competing theories, which I will describe below. Any help is greatly appreciated.
Once the algorithm terminates, I have  . I now generate a new set of data points  . Using my original target function to generate the corresponding  .
Case 1. Just use the same cross entropy error calculation but on this new data set.

|
The above approach is correct. The problem specifies the cross entropy error measure, so
![E_{\rm out} = {\rm E} [ \ln (1+e^{-y{\bf w}^\top {\bf x}})] E_{\rm out} = {\rm E} [ \ln (1+e^{-y{\bf w}^\top {\bf x}})]](/vblatex/img/5db35b1931732431fb2272f05bb3e75e-1.gif)
, where the expectation is w.r.t. both

. The above formula estimates that through a random sample.