<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r69720930">src/mlpack/core/data/map_policies/missing_policy.hpp</a>:</p>
<pre style='color:#555'>&gt; @@ -69,6 +69,29 @@ class MissingPolicy
&gt;        return NaN;
&gt;      }
&gt;    }
&gt; +
&gt; +  template &lt;typename eT, typename MapType&gt;
&gt; +  void MapTokens(const std::vector&lt;std::string&gt;&amp; tokens,
&gt; +                 size_t&amp; row,
&gt; +                 arma::Mat&lt;eT&gt;&amp; matrix,
&gt; +                 MapType&amp; maps,
&gt; +                 std::vector&lt;Datatype&gt;&amp; types)
&gt; +  {
&gt; +    std::stringstream token;
&gt; +    for (size_t i = 0; i != tokens.size(); ++i)
&gt; +    {
&gt; +      token.str(tokens[i]);
&gt; +      token&gt;&gt;matrix.at(row, i);
</pre>
<p>Thats brilliant, thanks!</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/1a908c2a7b014b825667da28526b30e45dfea084..2edbc400adac676fa2909724a608adf96a70e024#r69720930">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFBTCudtBQaJEXUk-hHCKzxOty_vqks5qS5_2gaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFOe7KcvVL074YOIUTDtKcK2BGKEAks5qS5_2gaJpZM4I07W-.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/1a908c2a7b014b825667da28526b30e45dfea084..2edbc400adac676fa2909724a608adf96a70e024#r69720930"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>