From Rafael Collado
Why does your model draw steps?
If you have tried the first lesson, you may have noticed that the model predicts the same loss for several different currents. I would want to check that too.
The explanation is in the model we chose. A regression tree puts those currents in the same group and returns the average it learned for that group. The resistor’s losses still change smoothly.
Try it: compare the predictions at 6 A and 6.5 A in level 3. The equation gives different answers; the tree gives 7.825 W for both.
Open the first lesson →Rafael