Overall looks really good and consistent with what Nelson is doing, which is great!
I do have a few of the same recommendations to keep things consistent though!
Could you use the same section headers if possible, just to keep the same format? (Hospital Readmissions (Classification), Car Emissions (Regression)). I think it's fine to load the data in before, like you're doing, but just want these to match so people can easily swap between the files and jump to the relevant code/recognize the headers right away.
For regression, instead of cross val score, use mean squared error as the objective function.
For points 2 and 3, recommending this because that's how I did it in grid search and how Nelson will be modifying the Optuna code, so this way we'll all be calculating identical things!
As a side note, I like your function and use of min/sec combo for time, and definitely think we should use that format across all our code! I can implement this change to the optuna/grid search code later, as part of software engineering improvements that we can make.
RE your recent commit @naskoap (6f8a3d1):
Overall looks really good and consistent with what Nelson is doing, which is great!
I do have a few of the same recommendations to keep things consistent though!
Could you use the same section headers if possible, just to keep the same format? (Hospital Readmissions (Classification), Car Emissions (Regression)). I think it's fine to load the data in before, like you're doing, but just want these to match so people can easily swap between the files and jump to the relevant code/recognize the headers right away.
For regression, instead of cross val score, use mean squared error as the objective function.
For points 2 and 3, recommending this because that's how I did it in grid search and how Nelson will be modifying the Optuna code, so this way we'll all be calculating identical things!
As a side note, I like your function and use of min/sec combo for time, and definitely think we should use that format across all our code! I can implement this change to the optuna/grid search code later, as part of software engineering improvements that we can make.