ss="n">get_pairwise_matrix</span><span class="p">(</span><span class="n">x_i</span><span class="p">)</span>
                    <span class="n">k_ii</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">get_global_similarity</span><span class="p">(</span><span class="n">C_ii</span><span class="p">)</span>
                    <span class="n">x_k_ii</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="o">=</span> <span class=