s="nb">len</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">TopkDF</span><span class="p">))</span>
        <span class="n">score</span> <span class="o">=</span> <span class="n">silhouette_score</span><span class="p">(</span><span class="n">combined</span><span class="p">,</span> <span class="n">labels</span><span class="p">)</span>
        <span class="k">return</span> <span class="n">score</span></div></div>
</pre></div>

           </div>
          </div>
 