tidymodel progress

in tidymodels using control_grid verbose = True i can get information in my console how a model is progressing. How can I write this information to a variable or dataframe so i can pass this information to the user of my application to have some idea if model learning will take 5 minutes or all day?


In real time that would be very difficult. We write out the messages to the console so there is not listener function or objects to query.

If you have a lot of pople running similar code (often), you could do some simulations across the number of samples, variables, model types etc and use that to make a meta-model for how long the jobs takes. (That's how this data set came to be in a previous job of mine).

If you have thee kind of jobs infrequently, there's probably not much you can do.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.