<p>Hi, in <a href="https://github.com/mlpack/mlpack/commit/b34dac8e4bceab76ff860af035ef9d0bee1ac1fa" class="commit-link"><tt>b34dac8</tt></a> , I fixed serialization of NSModel. Loading was not working before that commit.<br>
I use the <em>serialize</em> function for variants, defined by boost. So, I had to add a definition of <em>serialize</em> for NeighborSearchClass, because it is need by boost variant serialization.<br>
Another option to fixing the serialization can be seeing in this branch: <a href="https://github.com/MarcosPividori/mlpack/tree/variant-serialization">https://github.com/MarcosPividori/mlpack/tree/variant-serialization</a> , but I prefer the solution included above, because it is simple.</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, <a href="https://github.com/mlpack/mlpack/pull/693#issuecomment-226824813">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFLg5RjbgQqgptgE_bWl8ce5YcVX6ks5qMtNVgaJpZM4I0YA9">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPG_oN5xe-PgmdOx__Fqx_cGivt2ks5qMtNVgaJpZM4I0YA9.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/693#issuecomment-226824813"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>