[mlpack] [mlpack/mlpack] Modify Softmax regression to have numClasses - 1 weights (#820)

Ryan Curtin notifications at github.com
Thu Dec 22 23:14:12 EST 2016


Just for the sake of annotation, the issue here is that this breaks the softmax regression tests for some reason:

```
$ bin/mlpack_test -t SoftmaxRegressionTest
Running 2 test cases...
/home/ryan/src/mlpack-sumedh/src/mlpack/tests/softmax_regression_test.cpp(252): fatal error in "SoftmaxRegressionTwoClasses": difference{40.8%} between acc{59.200000000000003} and 100.0{100} exceeds 0.5%

*** 1 failure detected in test suite "mlpackTest"
```

If we can resolve that problem this is a nice improvement for the softmax regression implementation.

I haven't had a chance to really dig in to what is wrong here yet, just to reproduce the problem.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/820#issuecomment-268938375
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20161222/817ea2e3/attachment.html>


More information about the mlpack mailing list