<blockquote>
<p>Here's an example of what I had to do to the NeighborSearch class to get serialization working</p>
</blockquote>

<p>I saw the example, one of the possible solution to make serialization easier, I would try to solve this problem after pull request 451 get done.</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/495#issuecomment-166058379">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHtdwsEXHaxcAQRDf9mptMeyQ8GVks5pRgywgaJpZM4G0YVk.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/495#issuecomment-166058379"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>