Closed vchahun closed 11 years ago
hi @vchahun !
You are right that my function ordinal_logistic_predict
is a bit different from what is said in my blog. In the code instead of using K+1 thresholds I'm using the K means between the different thresholds, that's why there is K levels instead of K+1.
For me, the scores are almost identical (3.831 vs 3.839). I have changed it nevertheless to your implementation since it seems more consistent with the cost function we are using.
It should be fixed in 7c655840fa67ab391ca7f5576ddd9d2af33c25cf . Thanks!
This is an interesting project! However, the code seems to be doing different things from what you describe in your blog post.
If I make this change, I obtain much better performance, but it seems almost too perfect: