b">frozenset</span><span class="p">,</span> <span class="nb">int</span><span class="p">]:</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        Generates frequent patterns from the candidate patterns</span>

<span class="sd">        :param candidateList: Candidate pattern will be given as input</span>

<span class="sd">        :type candidateList: list</span>

<span class="sd">        :return: returning set of all frequent patterns</span>

<span class="sd"