ubarea ">
<h4 id="erdos_renyi_sparsity" class="doc_header"><code>erdos_renyi_sparsity</code><a href="https://github.com/dcato98/fastsparse/tree/master/fastsparse/core.py#L80" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>erdos_renyi_sparsity</code>(<strong><code>params</code></strong>, <strong><code>model_sparsity</code></strong>, <strong><code>include_kernel</code></strong>=<em><code>True</code></em>, <strong><code>erk_power_scale</code></strong>=<em><code>1.0</code></em>)</