<p>In <a href="https://github.com/mlpack/mlpack/pull/451#discussion_r40166501">src/mlpack/tests/sparse_autoencoder_test_2.cpp</a>:</p>
<pre style='color:#555'>> +#include <mlpack/methods/ann/layer/base_layer.hpp>
> +
> +#include <boost/test/unit_test.hpp>
> +#include "old_boost_test_definitions.hpp"
> +
> +using namespace mlpack;
> +using namespace arma;
> +
> +using FSigmoidLayer = ann::SigmoidLayer<ann::LazyLogisticFunction>;
> +
> +//sparse autoencoder function
> +using SAEF = ann::SparseAutoencoderFunction<FSigmoidLayer, FSigmoidLayer>;
> +//sparse autoencoder function greedy
> +using SAEFG = ann::SparseAutoencoderFunction<FSigmoidLayer, FSigmoidLayer, std::true_type>;
> +
> +BOOST_AUTO_TEST_SUITE(SparseAutoencoderTest2);
</pre>
<p>Just a note -- when this is merged, we can remove the old <code>sparse_autoencoder_test.cpp</code> and revert this to <code>SparseAutoencoderTest</code> instead of <code>SparseAutoencoderTest2</code>.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/451/files#r40166501">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHfSjmaDLI0zLXoUF7ogosZSmERzks5o0ggzgaJpZM4GAqt4.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/451/files#r40166501"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>