Random Forest of Stumps

hard
Unit 21 · Regression & Ensembles0/0 to milestone

Build a tiny random forest whose trees are decision stumps (one split each), to see the two sources of randomness.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Random Forest of Stumps · TechGradify