Seems like while rhs was normalized, initial_guess was not. As such, initializing linear_cg() with a good initial guess (e.g. the solution) was of no use. This PR also normalizes initial_guess and adds a corresponding test.
On a side note: For my example, initializing linear_cg() with the solve from the previous iteration of Gaussian Process training with skip_logdet_forward(True) was of no use regarding convergence speed.
Seems like while
rhs
was normalized,initial_guess
was not. As such, initializinglinear_cg()
with a good initial guess (e.g. the solution) was of no use. This PR also normalizesinitial_guess
and adds a corresponding test.