span> <span class="n">i</span><span class="p">:</span>
                    <span class="k">continue</span>

                <span class="n">C_ij</span> <span class="o">=</span> <span class="n">C_ij_dict</span><span class="p">[</span><span class="n">i</span><span class="p">,</span> <span class="n">j</span><span class="p">]</span>
                <span class="n">k_ij</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_global_similarity</span><span class="p">