<blockquote>
<p>I didn't completely understand this idea, could you elaborate more please?<br>
Ok, I mean provide a default constructor which takes the name of the files</p>
</blockquote>

<pre><code>SoftmaxRegression(std::string const &amp;fileName);
</code></pre>

<p>This way the users can reuse the training results in their codes easier(without training).</p>

<pre><code>SoftmaxRegression&lt;&gt; sm("smoke_params_of_sm"); 
sm.Predict(data, result);
</code></pre>

<blockquote>
<p>Replace it with what? Do you mean moving it to src/mlpack/methods/ann/ or something?<br>
Replace it with the original files under the folder method/sparse_autoencoder<br>
Since backward compatibility is not an issue, I will place them int the folder "method/sparse_autoencoder"</p>

<p>I think maybe instead of default constructors, simple constructors that don't take data can be used.<br>
Thanks, will reference from it</p>

<p>Why not just use the existing data::Load() function that works with boost::serialization once Serialize() is implemented?<br>
Thanks:), I did not noticed this solution</p>
</blockquote>

<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#issuecomment-143475336">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFIaKWI3_0JmM5-_d-ZGhF3rD8Iyfks5o1tGsgaJpZM4GDtwe.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#issuecomment-143475336"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>