k" href="#example-2-asia-dataset" title="Link to this heading"></a></h2>
<p>Let’s try out a more complex model. We need both a directed acyclic graph (DAG) and dataset with the same variables. So again, the idea is to link the dataset with the DAG.</p>
<p>Let’s bring in the <strong>asia</strong> dataset:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">bnlearn</span>

<span class="c1"># Load a