k">def</span> <span class="nf">_removeFalsePositives</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="w">        </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">        To remove the false positive patterns generated in frequent patterns</span>
<span class="sd">        :return: patterns with accurate probability</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="k">global</span> <span class="n">_finalPatterns</spa