p,itemSup,minLength,faultTolerance)</span>
<span class="sd">    </span>
<span class="sd">            obj.mine()</span>
<span class="sd">    </span>
<span class="sd">            patterns = obj.getPatterns()</span>
<span class="sd">    </span>
<span class="sd">            print(&quot;Total number of fault-tolerant frequent patterns:&quot;,  len(patterns))</span>
<span class="sd">    </span>
<span class="sd">            obj.save(&quot;outputFile&quot;)</span>
<span class="sd">    </span>
<span class="sd">     