squlearn icon indicating copy to clipboard operation
squlearn copied to clipboard

Adaption of kernel optimizer

Open DennisKleinhans opened this issue 1 year ago • 2 comments

  • The KernelOptimizer extends the KernelMatrixBase so that it can be used as a kernel in the high-level methods.
  • The KernelOptimizer now accepts a KernelMatrix, a loss function and an optimizer.
  • The KernelOptimizer automatically optimizes the provided KernelMatrix when the fit method is called by checking the is_trainable property.

closes #274

DennisKleinhans avatar Jul 06 '24 09:07 DennisKleinhans

I did some adjustments, maybe you can check them @MoritzWillmann

David-Kreplin avatar Aug 12 '24 15:08 David-Kreplin

I’ll take it from here. Most of the work looks great, but there are a few specifics that are a bit tedious to explain and fix, such as regularization.

David-Kreplin avatar Aug 15 '24 15:08 David-Kreplin