 class="st"> </span><span class="kw"><a href="../reference/getDataset.html">getDataset</a></span>(<span class="st">"covertype"</span>)</code></pre></div>
<p>First we’ll remove about 10000 observations from the original dataset to form a test set, this will be used to check the validity of the algorithm. Then we’ll separate out the response variable <code>y</code> and the explanatory variables <code>X</code>. The response variable is the first column in the dataset.</p>
<div class="sourceCode"><pre class