iv><p>“cell_type”: “code”,
“execution_count”: null,
“metadata”: {},
“outputs”: [],
“source”: [</p>
<blockquote>
<div><p>“# generate counterfactualsn”,
“dice_exp = exp.generate_counterfactuals(query_instance, total_CFs=5, desired_class=&quot;opposite&quot;)n”,
“# visualize the resultsn”,
“dice_exp.visualize_as_dataframe(show_only_changes=True)”</p>
</div></blockquote>
<p>]</p>
</div></blockquote>
<p>},
{</p>
<blockquote>
<div><p>“cell_type”: “markdown”,
“meta