<p>As one of the user of mlpack, I would like to have following features</p>

<p>1 : allow users to get the trained parameters of SparseAutoencoder and SoftmaxRegression </p>

<p>According to UFLDL, if you want to finetune the stacked autoencoder, you will need the trained parameters of SparseAutoencoder and SoftmaxRegression, so I suggest add two functions to get and set the trained parameters of SparseAutoencoder and SoftmaxRegression </p>

<p>ex : <br>
arma::mat parameters() const;<br>
void parameters(arma::mat const &amp;parameters);</p>

<p>2 : provide a default constructor for class SparseAutoencoder and SoftmaxRegression<br>
This allow users to train the SparseAutoencoder or SoftmaxRegression later on, so the users do not need to wrap them in smart pointer just to delay the initialization time.</p>

<p>3 : This one is related to suggestion 2, provide a train function for SparseAutoencoder and SoftmaxRegression, this way the users can train the data whenever they like</p>

<p>ex : <br>
//for SoftMaxRegression<br>
void train(arma::mat const &amp;input, arma::vec const &amp;label, size_t numOfLabels);</p>

<p>//for SparseAutoencoder<br>
void train(arma::mat const &amp;input, size_t hiddenSize);</p>

<p>The programs should be able to detect the inputSize from the input(input.n_cols), so the users do not need to set it</p>

<p>Exactly, these requirements almost finished on my computer, if you agree with the suggestions, I will send a pull request.Thank you very much</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/issues/454">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPZJPSe7c2wfDs8E-zMM54Dy3cARks5o1Q-ngaJpZM4GDtwe.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/issues/454"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>