int(parents_temp)</span>
                        <span class="c1"># Compute the predicted residuals for each variable</span>
                        <span class="n">predicted</span> <span class="o">=</span> <span class="n">pred</span><span class="o">.</span><span class="n">predict</span><span class="p">(</span>
                            <span class="n">target</span><span class="o">=</span><span class="nb">list</span><span class="p">(</span><span class="nb">range</span><span class="p">(</span><span class="