Rebase Inducing Points Using QR #476
                
     Open
            
            
          
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Prereq: #475
The existing
rebase_inducing_pointsmethod relied heavily on thefit_from_predictionmethod. It was computing a prediction of the new inducing points, then callingfit_from_predictionon that result,This involved a few questionable steps. For example, if the prediction is not full rank (which could happen when you have numerically identical inducing points) then this step:
could become unstable since
C_ldltmay have near zero diagonals and we then invert them inC_ldlt.sqrt_solve.This PR switches to a new approach which is more directly based on the QR decomposition. While there is still a step involving the cholesky of a potentially singular matrix, the subsequent decomposition is not used in any inverses, so the consequences should be much smaller.
A description of the algorithm was added to the documentation (screenshot below)