Closed cliffrunner closed 5 years ago
This seems to be a bug, it should work, but only works for cv=2
. For now, I would suggest to use that until we can get this sorted. Most likely, the Evaluator
is doing something wrong when creating cv folds.
Found it, you forgot to turn model_selection
on when using ensemble classes with the Evaluator
. You need to add
learner1.model_selection = True
learner2.model_selection = True
and it will run just fine. Remember, once you've completed the model selection step, you need to turn it off:
learner1.model_selection = False
learner2.model_selection = False
For more details, see the ensemble model-selection tutorial.
Sorry the error message wasn't more helpful! Will see what I can do about that.
Hello,
I modified the sample code in tutorial so that it could work for a regression problem. Please ignore the model and parameter selection, it is just for testing.
X, and y have the shape of (500,13) and (500,). it seems no result is passing into meta regressor in this case:
Any help would be appreciated.