<p>In <a href="https://github.com/mlpack/mlpack/pull/686#discussion_r66709928">src/mlpack/methods/ne/tasks.hpp</a>:</p>
<pre style='color:#555'>&gt; +          std::vector&lt;std::vector&lt;double&gt;&gt; inputs;
&gt; +          std::vector&lt;double&gt; input1 = {0, 0, 1};
&gt; +          std::vector&lt;double&gt; input2 = {0, 1, 1};
&gt; +          std::vector&lt;double&gt; input3 = {1, 0, 1};
&gt; +          std::vector&lt;double&gt; input4 = {1, 1, 1};
&gt; +          inputs.push_back(input1);
&gt; +          inputs.push_back(input2);
&gt; +          inputs.push_back(input3);
&gt; +          inputs.push_back(input4);
&gt; +
&gt; +          std::vector&lt;double&gt; outputs;
&gt; +          outputs.push_back(1);
&gt; +          outputs.push_back(0);
&gt; +          outputs.push_back(1);
&gt; +          outputs.push_back(0);
&gt; +
</pre>
<p>I guess, using an arma::mat object to store the input is a better representation. This way, we can use all kinds of already implemented methods to preprocess the data.</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/686/files/65f093daf32f6cb353cd6b9304bab88a5e096fdc#r66709928">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFHcnKNDNZllcbzgiVYmv519WKMZlks5qKwA8gaJpZM4IwJa6">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFIkEaMf1lB-sJXF7N8mRDnLhBDELks5qKwA8gaJpZM4IwJa6.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/686/files/65f093daf32f6cb353cd6b9304bab88a5e096fdc#r66709928"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>