class="o">=</span> <span class="p">{}</span>


<span class="k">class</span> <span class="nc">_Item</span><span class="p">:</span>
<span class="w">    </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    A class used to represent the item with probability in transaction of dataset</span>
<span class="sd">    :Attributes:</span>
<span class="sd">        item : int or word</span>
<span class="sd">            Represents the name of the item</span>
<span class="sd">        probability : float</