<p>Enhance the class SoftMaxRegression</p>

<p>1 : fix bugs--constructor did not initialize fitIntercept(the one which accept optimizer)<br>
2 : add default constructor<br>
3 : add function train<br>
4 : add function Serialize</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/mlpack/mlpack/pull/455'>https://github.com/mlpack/mlpack/pull/455</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>improve speed of SparseAutoencoder and make it more flexible</li>
  <li>fix example of sparse_autoencoder</li>
  <li>reduce the cost of construction and destruction of the layers</li>
  <li>refine the example; the size of the basis should not too big</li>
  <li>refine the example</li>
  <li>refine the example</li>
  <li>can use Greedy parameters to determine the Gradient should omit some repeated calculation or not</li>
  <li>add test cases of modified SparseAutoEncoder</li>
  <li>add test</li>
  <li>change the name of test suite to avoid definition confliction</li>
  <li>change boost test header to avoid build issue</li>
  <li>prevent nan/inf values</li>
  <li>first commit</li>
  <li>1 : fix bugs--constructor did not initialize fitIntercept</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-0">src/export_filters.cpp</a>
    (104)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-1">src/export_filters.hpp</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-2">src/mlpack/methods/ann/activation_functions/lazy_logistic_function.hpp</a>
    (90)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-3">src/mlpack/methods/ann/sparse_autoencoder_function.hpp</a>
    (409)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-4">src/mlpack/methods/softmax_regression/softmax_regression.hpp</a>
    (97)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-5">src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp</a>
    (92)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-6">src/mlpack/tests/CMakeLists.txt</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/mlpack/mlpack/pull/455/files#diff-7">src/mlpack/tests/sparse_autoencoder_test_2.cpp</a>
    (278)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/mlpack/mlpack/pull/455.patch'>https://github.com/mlpack/mlpack/pull/455.patch</a></li>
  <li><a href='https://github.com/mlpack/mlpack/pull/455.diff'>https://github.com/mlpack/mlpack/pull/455.diff</a></li>
</ul>

<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/455">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFAtCM9p7OoRTQ2vKH_61yFnvbcC8ks5o18hogaJpZM4GEesb.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/455"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>