<p>In <a href="https://github.com/mlpack/mlpack/pull/694#discussion_r71806590">src/mlpack/core/data/dataset_mapper.hpp</a>:</p>
<pre style='color:#555'>&gt; +  //! Modify (Replace) the policy of the mapper with a new policy
&gt; +  void Policy(PolicyType&amp;&amp; policy);
&gt; +
&gt; + private:
&gt; +  //! Types of each dimension.
&gt; +  std::vector&lt;Datatype&gt; types;
&gt; +
&gt; +  // BiMapType definition
&gt; +  using BiMapType = boost::bimap&lt;std::string, typename PolicyType::MappedType&gt;;
&gt; +
&gt; +  // Mappings from strings to integers.
&gt; +  // Map entries will only exist for dimensions that are categorical.
&gt; +  // MapType = map&lt;dimension, pair&lt;bimap&lt;string, MappedType&gt;, numMappings&gt;&gt;
&gt; +  using MapType = std::unordered_map&lt;size_t, std::pair&lt;BiMapType, size_t&gt;&gt;;
&gt; +
&gt; +  MapType maps;
</pre>
<p>Can you comment the <code>maps</code> and <code>policy</code> parameter?</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/028c217057410e2e75691c32bf062202ce5dca3f#r71806590">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFHZxp27ChKYN2WCzMnEPR3i_W7uIks5qYAKbgaJpZM4I07W-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJR1rtxVAQSyPKfo2sB3idmjhWjFks5qYAKbgaJpZM4I07W-.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/028c217057410e2e75691c32bf062202ce5dca3f#r71806590"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>