![]() |
#1
|
|||
|
|||
![]()
I am struggling to understand how to calculate
![]() Once the algorithm terminates, I have ![]() ![]() ![]() Case 1. Just use the same cross entropy error calculation but on this new data set. ![]() Case 2. Directly calculate the expected output of our hypothesis function and compare to ![]() ![]() ![]() Ultimately this gives us the probability that our hypothesis aligns with Y: ![]() In the lectures/book, we would multiply these probabilities to get the "likelihood" that the data was generated by this hypothesis. However, it seems that averaging over these should give the expected error in this sample. ![]() It feels as though the first approach is the correct one, but I struggle because the second approach makes intuitive sense since that is how I historically I would have calculated ![]() |
Thread Tools | |
Display Modes | |
|
|