← Questions

Debug an Extremely Randomized Trees implementation

0
AnthropicCodingLast asked Aug 2026

Reported from the Fellows program. You get an implementation of Extremely Randomized Trees (an ensemble of decision trees whose split thresholds are drawn at random) that crashes on some inputs and scores poorly on others. Find and fix the bugs so it runs and reaches the accuracy you would expect, and explain for each bug how you found it and why it hurt the model.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding