">parameter_learning</span><span class="o">.</span><span class="n">fit</span><span class="p">(</span><span class="n">DAG</span><span class="p">,</span> <span class="n">df</span><span class="p">)</span>
</pre></div>
</div>
<p>The learned CPDs are:</p>
<dl>
<dt>CPD of Cloudy:</dt><dd><table class="docutils align-default">
<thead>
<tr class="row-odd"><th class="head"><p>Cloudy(0)</p></th>
<th class="head"><p>0.494</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>Cloudy(1)</p></td>
<td><p>0.506</p></