t; endl;</div>
<div class="line"> </div>
<div class="line">  <span class="comment">// allocate memory</span></div>
<div class="line">  double(*ds_inputs)[7] = <span class="keyword">new</span> <span class="keywordtype">double</span>[num_samples][7];</div>
<div class="line">  <span class="keywordtype">bool</span> *ds_cnt_flags = <span class="keyword">new</span> <span class="keywordtype">bool</span>[num_samples];</div>
<div class="line">  double(*ds_cnt_feats)[8] = <span class="keyword">new</span> <span class=