-
-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(sklearn 0.24) LearningCurve object Ipython REPL prettyprinting raise error #1152
Comments
@bole1 Thank you for using Yellowbrick and thank you for reporting this bug! My guess is that the issue is arising from the comparison of the
As always, we're happy for PRs or your thoughts on the matter! |
I was trying Yellowbrick today and ran into the same problem. It's indeed from class LearningCurve(ModelVisualizer):
...
def __init__(
...
#trains_sizes=DEFAULT_TRAIN_SIZES,
train_sizes=DEFAULT_TRAIN_SIZES.tolist(),
...
):
... Hope this helps. |
|
@SPDA36 , I think you can do the same thing as I did to circumvent this problem. For your setup, it will probably be:
I guess the cause of the problem is that |
Describe the bug
on sklearn 0.24 printing LearningCurve object representation after interactive cell raise error. But ValidationCurve object works well, in sklearn0.23 both work well. I think some changes in sklearn/utils/_pprint.py in 0.24 is the reason.
To Reproduce
In Ipython cell(Jupyter notebook):
after running cell:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: