AutoML returning NoneType for model after tuning with small time budget #738
Unanswered
OliverSchacht
asked this question in
Q&A
Replies: 1 comment 9 replies
-
|
When the time budget is too small, it can happen that no estimator is trained at all within the budget. Due to variance of the execution time for the code before a training starts, in some run you have enough time left to train one model and in some other run you don't. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm not sure if this is an issue or if it is me doing something wrong so I rather open a discussion.
I'm experimenting with parameter tuning by FLAML in different time budgets.
I have the problem, that for very small time budgets (<1s) FLAML AutoML sometimes, but inconsistently, returns a NoneType after fitting to the data. My code looks somehow like this
with X being a array shaped (1000,200). I get the following error:
When I rerun the experiment with the same data, it works, but then stops later at another repetition again. Of course, an easy work-around is to catch the error and re-run the experiment, still I wonder, how this can happen, because from what I understood in the docs, it should return rather a default estimator, than a NoneType object? Can someone explain what happens?
Thank you very much,
Oliver
Beta Was this translation helpful? Give feedback.
All reactions