it defaults.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">rf</span> <span class="o">=</span> <span class="n">GridSearchCV</span><span class="p">(</span>
    <span class="n">RandomForestClassifier</span><span class="p">(</span>
        <span class="n">random_state</span><span class="o">=</span><span class="n">rng</span><span class="p">,</span>
        <span class="n">n_estimators</span><span class="o">=</span><span class="mi">50</span><span class="p">