<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r69802173">src/mlpack/core/data/map_policies/missing_policy.hpp</a>:</p>
<pre style='color:#555'>&gt; +    if (missingSet.count(string) != 0 &amp;&amp;
&gt; +        (maps.count(dimension) == 0 ||
&gt; +         maps[dimension].first.left.count(string) == 0))
&gt; +    {
&gt; +      // This string does not exist yet.
&gt; +      size_t&amp; numMappings = maps[dimension].second;
&gt; +
&gt; +      typedef boost::bimap&lt;std::string, mapped_type&gt;::value_type PairType;
&gt; +      maps[dimension].first.insert(PairType(string, NaN));
&gt; +
&gt; +      ++numMappings;
&gt; +      return NaN;
&gt; +    }
&gt; +    else
&gt; +    {
&gt; +      // This string already exists in the mapping or .
</pre>
<p>Uncompleted comment?</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/694/files/a8818316a04506530e2269a2e0a32ba2f6a1c83b#r69802173">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFIv37WdSxgrmm13Ic3-f6bbYpzjpks5qTAspgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFM4jlu_-kMvIjVPoHwfICH8NFy1Zks5qTAspgaJpZM4I07W-.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/694/files/a8818316a04506530e2269a2e0a32ba2f6a1c83b#r69802173"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>