<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r69664105">src/mlpack/core/data/map_policies/missing_policy.hpp</a>:</p>
<pre style='color:#555'>> @@ -69,6 +69,29 @@ class MissingPolicy
> return NaN;
> }
> }
> +
> + template <typename eT, typename MapType>
> + void MapTokens(const std::vector<std::string>& tokens,
> + size_t& row,
> + arma::Mat<eT>& matrix,
> + MapType& maps,
> + std::vector<Datatype>& types)
> + {
> + std::stringstream token;
> + for (size_t i = 0; i != tokens.size(); ++i)
> + {
> + token.str(tokens[i]);
> + token>>matrix.at(row, i);
</pre>
<p>What if users set the missing value as numerical value?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<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#r69664105">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFA0i99Em5FG9BgGAEwsuYQM55y5Yks5qSwOTgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDveDiGNYc_X06Q80jQnyn50j5Lkks5qSwOTgaJpZM4I07W-.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#r69664105"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>