<p>Yeah, a golden model approach may be the right thing here.  How long does it take to train the sparse autoencoder on the data from display_network.m, and how big is that data?  I suppose it could be possible to use a smaller dataset (perhaps something already in <code>src/mlpack/tests/data/</code>).  Ideally we'd want the dataset to be as small as possible (a few kb if possible, gzipped is fine) and the test should take no longer than a handful of seconds on a commodity machine.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/465#issuecomment-151878673">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFGNnA8sDY7LYe10Bs8uzF6w-A1Lqks5pAN62gaJpZM4GWT_f.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/465#issuecomment-151878673"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>