<a class="viewcode-back" href="../../../../../EDAspy.optimization.custom.probabilistic_models.html#EDAspy.optimization.custom.probabilistic_models.univariate_binary.UniBin.sample">[docs]</a>    <span class="k">def</span> <span class="nf">sample</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">size</span><span class="p">:</span> <span class="nb">int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">np</span><span class="o">.</span><s