ss="p">,</span>
                 <span class="n">scaler_data_y</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>

        <span class="c1"># Given parameters</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">model</span> <span class="o">=</span> <span class="n">model</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">optimiser</span> <span class="o">=</span> <span class="n">optimiser</span>
        <span class