PRML / PRMLT

Matlab code of machine learning algorithms in book PRML
http://prml.github.io/
MIT License
6.03k stars 2.16k forks source link

remove log1pexp with logistic function to correct inverted labels #37

Closed erikr closed 8 years ago

erikr commented 8 years ago

I am unclear on the use of log1pexp.m; it may be more efficient than the proposed implementation here, but this fixes the inverted labels problem and I'll be using this version of the script for now. Thanks for considering!

erikr commented 8 years ago

Sorry, keyboard macro went crazy there, and also I apparently committed an unchanged file to my fork. Let me fix this.