[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:13:00 EDT 2015


> @@ -0,0 +1,83 @@
> +#include "maximal_inputs.hpp"
> +
> +namespace mlpack {
> +namespace nn {
> +
> +namespace {
> +
> +void VisualizeHiddenUnit(size_t rows, size_t cols,
> +                         int squareRows,
> +                         int offset,
> +                         arma::mat const &input,

After I merge this, do you mind if I change the ordering of the `const` to be the way the rest of the code is?  i.e. `const arma::mat&` vs. `arma::mat const &`.  They both do exactly the same thing.  If you have a specific reason for ordering it the way you have, that's fine too; I just try to make things look the same. :)

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


More information about the mlpack-git mailing list