handson-ml2 icon indicating copy to clipboard operation
handson-ml2 copied to clipboard

[IDEA] Ch. 7: Scikit-Learn supports stacking!

Open liganega opened this issue 3 years ago • 4 comments

Since sklearn 0.22, stacking is officially supported.

This should be updated to the end of Ch. 7, and probably Exercise 9 too could be correspondingly modified.

liganega avatar May 12 '21 14:05 liganega

Hi @liganega , thanks for the advice, it's on my to-do list if/when I start writing a next edition! 👍

ageron avatar May 13 '21 05:05 ageron

So if I use the StackingClassifier in the Chapter7 exercise, I would get the same output as when implementing manually?

Ayazzia01 avatar Jul 01 '21 14:07 Ayazzia01

It was a homework for my students in May to compare two methods regarding Exercise 9 of Chapter 7, and most students checked out that the StackingClassifier learns slightly better than the one implemented manually.

Please check the blog written by one of them: Jinsang's study blog

It's written in Korean, but reading just codes would be enough, or you could use Chrome's translation extension which works reasonably well.

liganega avatar Jul 01 '21 15:07 liganega

Went through the blog, good work.

Ayazzia01 avatar Jul 02 '21 06:07 Ayazzia01