handson-ml2
handson-ml2 copied to clipboard
[IDEA] Ch. 7: Scikit-Learn supports stacking!
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.
Hi @liganega , thanks for the advice, it's on my to-do list if/when I start writing a next edition! 👍
So if I use the StackingClassifier in the Chapter7 exercise, I would get the same output as when implementing manually?
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.
Went through the blog, good work.