Skip to content

autogluon in kaggle notebook #46333

Discussion options

You must be logged in to vote

The error message "TypeError: n needs to be an int or a list/set/tuple of ints" suggests that one of the arguments being passed to the fit method is not of the expected type ⚠️ . The specific argument that is causing the issue is not clear from the information provided, but it is possible that hypers is not of type int, list, set, or tuple.

To resolve this issue ✅ , you will need to examine the value of hypers and ensure that it is of the correct type. If it is a list, set, or tuple, make sure that all elements are integers ✍🏼 . If it is an integer, check that it is a valid value.

If you are still encountering this issue after verifying the type of hypers, you can try printing the value o…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@shayan1234554321
Comment options

@jiheek
Comment options

@jiheek
Comment options

@shayan1234554321
Comment options

@aadilmalik994
Comment options

Answer selected by eefalco
Comment options

You must be logged in to vote
1 reply
@RichardYangHe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment