You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
thank you for pointing this out. It's a fair question. And I do agree with you on the fact that max should be capped in the way you suggested. However, this part of the code is very old, and I did not write it so I will rather ask before changing it. Maybe there has been a good empirical reason for this.
I'm really sceptical, though, so I will mark it as a bug until all doubts are cleared.
Great catch! Again, thank you very much for pointing it out.
I will quickly get onto fixing it. For now, I will just use your code snippet as it's a reasonable solution and definitely the quickest one.
Later, we will likely use something more robust, like a TransformedTargetRegressor, instead of manually capping like above.
Short Question Description
A clear single sentence question we can try to help with?
In the predict() of Class SimpleRegressionPipeline, there are restrictions on the min/max values of y.
My question is should we also consider y_max < 0 like y_min?
If I have missed anything, please let me know.
Many thanks!
The text was updated successfully, but these errors were encountered: