[mlpack-git] [mlpack/mlpack] segmentation fault in using sgd while increasing number of function (#607)

Marcus Edel notifications at github.com
Sat Apr 9 07:11:01 EDT 2016


So without knowing the dimension of your data. My first guess is, that your data has less rows as 20.

The optimizer calls the ```Evaluation``` function for every sample (i = 0; i < NumFunctions), so if you write ```arma::mat Ri=data.row(i);```in your ```Evaluation``` function you should make sure, that you have enough samples.

---
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/issues/607#issuecomment-207771271
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160409/a3263240/attachment.html>


More information about the mlpack-git mailing list