skglm icon indicating copy to clipboard operation
skglm copied to clipboard

ENH should `initialize` methods return self?

Open mathurinm opened this issue 1 year ago • 0 comments

This way one could chain calls, à la sklearn model().fit(X, y): compiled_clone(Quadratic()).initialize(X, y)

Clearly not a priority but it may be a nice synctactic sugar. Thoughts @Badr-MOUFAD ?

mathurinm avatar Jun 15 '23 11:06 mathurinm