Closed FernandoAMDM closed 3 years ago
I think your issue is actually a duplicate of this one #80.
Please read this issue and feel free to reopen if that's not a duplicate.
Thanks @Optimox , I had read #80 before I opened this issue, but I could make Hartorn's method work with 1 fold, but not with multiple folds, or even repeating the separation. His k-fold cv happens after the hyperparameters have be chosen, but I would want to implement it to choose them. So I would like the issue to be reopened, to see if anyone could have any tips about this problem
Hmm sure I'll leave it open.
I'm not sure I understand why it does not relate but someone else might come for help!
Describe the bug
when I try to run TabNetClassifier with RandomizedSearchCV (from sci-kit learn) I get the following error:
"The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()"
Is there any way to run repeated stratified cross validation to search for hyperparameters or I will have to create a validation set (which is not ideal for my case) ?
Error message:
ValueError Traceback (most recent call last)