[mlpack-git] [mlpack] Create a function to visualize the features learned by sparse autoencoder (#465)

Ryan Curtin notifications at github.com
Tue Oct 27 09:09:15 EDT 2015


It's an Armadillo versioning issue with this line:

```
double const max = arma::abs(input.row(k)).max();
```

Try `arma::max(arma::abs(input.row(k)))`.  I'm not sure in what version the `.max()` function was added to arbitrary expressions, but either way both of those expressions should compile to the same thing, and the `arma::max()` version should compile on older Armadillo versions.  (I'll be bumping the minimum Armadillo required version to 4.200 or so soon, I just haven't gotten around to it yet.)

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/465#issuecomment-151489477
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20151027/b2c733d2/attachment-0001.html>


More information about the mlpack-git mailing list