Dear all,
I believe the correct loss function is that of P.15 and not P.24.
Is that correct?
Thank you.
Dear all,
I believe the correct loss function is that of P.15 and not P.24.
Is that correct?
Thank you.
Hey @AntonioMaher,
Can you please let us know which week’s slides are you referring to?
Cheers,
Elemento
Sorry, I am referring to W1.
Thanks for the quick reply.
Hey @AntonioMaher,
I don’t see how the loss formulation mentioned on P 24 is incorrect.
Here, I assume you know that the loss formulation mentioned on P.15 is for binary classification (whether a word is a person’s name or not), while the one mentioned on P.24 is for softmax classification. Also, the binary classification loss function can easily be converted into softmax classification loss function, by just changing how the labels are defined. If for binary classification, instead of defining the labels as 0 and 1, you define them in one-hot encoding form, i.e., [1, 0] and [0, 1], you will find that both the loss formulations are the same. Let me know if this helps.
Cheers,
Elemento