span class="dv">1</span> : N_train]];</span>
<span id="cb4-11"><a href="#cb4-11" aria-hidden="true" tabindex="-1"></a>  <span class="dt">vector</span>[N_train] y_train = y[permutation[<span class="dv">1</span> : N_train]];</span>
<span id="cb4-12"><a href="#cb4-12" aria-hidden="true" tabindex="-1"></a>  <span class="dt">vector</span>[N_test] x_test = x[permutation[N_train + <span class="dv">1</span> : N]];</span>
<span id="cb4-13"><a href="#cb4-13" aria-hidden="true" tabindex="-1"></a>  <span class="dt">vec