<p>Some quick thoughts on a first pass:</p>

<ul>
<li>Please review the style guide and make sure your code follows it: <a href="https://github.com/mlpack/mlpack/wiki/DesignGuidelines#style-guidelines">https://github.com/mlpack/mlpack/wiki/DesignGuidelines#style-guidelines</a>
</li>
<li>The <code>SGD_P</code> class is a different optimizer than <code>SGD</code>, so it should go into its own directory.</li>
<li>I would suggest the class name of <code>ParallelSGD</code> instead, and that it should go in <code>optimizers/parallel_sgd/</code>.</li>
<li>It looks like you have modified some existing tests instead of writing new ones.  You should write new tests in a file called <code>parallel_sgd_test.cpp</code>.</li>
<li>Can you please provide some comments on what the Booths Function is?</li>
<li>Please consider more descriptive commit comments than "change" or similar.  <a href="http://chris.beams.io/posts/git-commit/">http://chris.beams.io/posts/git-commit/</a>
</li>
</ul>

<p>I haven't looked in detail at the code at this point.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/577#issuecomment-198428433">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFAJLATiB4BaO2WSAKggBg4unaIABks5pus0lgaJpZM4HyDXC.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/577#issuecomment-198428433"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>