lass="n">new_column_name</span><span class="o">=</span><span class="s2">&quot;predicted_cell_type&quot;</span><span class="p">,</span>
    <span class="n">random_state</span><span class="o">=</span><span class="mi">42</span> <span class="c1">#for reproducibility</span>
    <span class="p">)</span>

<span class="c1">#save the labeled data</span>
<span class="n">adt</span><span class="o">.</span><span class="n">write_adata_dict</span><span class="p">(</span><span class="n">adata_dict</span><span class="o">=</