<p>Hi there Vinayak,</p>

<p>The <code>data::CreateNVP()</code> function is used in place of <code>BOOST_SERIALIZATION_NVP()</code>; see here:<br>
<a href="https://github.com/mlpack/mlpack/blob/master/src/mlpack/core/data/serialization_shim.hpp#L64">https://github.com/mlpack/mlpack/blob/master/src/mlpack/core/data/serialization_shim.hpp#L64</a><br>
There's a little more documentation in that file, and you could also see this section of the design guidelines:<br>
<a href="https://github.com/mlpack/mlpack/wiki/DesignGuidelines#requirements-of-each-class">https://github.com/mlpack/mlpack/wiki/DesignGuidelines#requirements-of-each-class</a></p>

<p>I hope this is helpful.  Let me know if I can clarify anything.</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/540#issuecomment-192343869">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFG2BeWbyLCgjgRE5yVjXqaB98Dqnks5pqF3zgaJpZM4HnfY2.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/540#issuecomment-192343869"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>