[mlpack-git] [mlpack] Saving and Loading Submatrices (#400)
notifications at github.com
Fri Feb 6 03:35:08 EST 2015
there seems to be a problem when saving submatrices with the SaveRestoreUtility. When saving a normal object arma::mat obj, the elements are separated by commas. When saving something like obj.cols(0, 2), the elements are separated by pure whitespace. When loading such an object again into an arma::mat, only the first column of the data is loaded. The difference results from the specialisation for arma::mat matrices in the SaveRestoreUtility class. I don't know why this was implemented, as it works fine when the specialisation is just commented out (that's why I suggest that for solving the problem).
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git