-
Notifications
You must be signed in to change notification settings - Fork 26
Enhance cross validation #899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Adding cross validation support to batch execution, by creating folds and diving each run into folds.
Hello @miguelriemoliveira and @Kazadhum. I have now added cross validation support in batch execution on the branch The user now defines type of cross validation and its parameters in atom/atom_batch_execution/experiments/rrbot_example/data.yml Lines 23 to 26 in b61df4d
Right now, fold creation is supported with StratifiedKFold, KFold, LeaveOneOut, and StratifiedShuffleSplit from scikit-learn. atom/atom_batch_execution/scripts/batch_execution Lines 30 to 54 in b61df4d
This then creates a new
I have done a test with rrbot and everything seemed nice, can you test on your machines? |
Hi @manuelgitgomes , looks great. Thanks. @Kazadhum I do not have a lot of time right now. Can you test it please? One question: if we want the run the old way, is it possible or not? |
Hi@manuelgitgomes and @miguelriemoliveira! I'll test it as soon as I can. I'll try to tell you something today. |
Hi @manuelgitgomes and @miguelriemoliveira ! BTW, is it still the case that it doesn't make sense to have the I can run more thorough tests next week, if necessary |
Right now, you can't, but I can change that easily enough (I think). On it.
It doesn't, I believe. I can delete it. |
Now that I mention it, I think it doesn't make much sense to have any lines at all besides the "Average" line, since all other values are "meaningless" (as they belong to different collections). Do you agree? |
In the processed results? Sure, makes sense. Can also be removed, but I don't see any wrong in leaving it there, right? |
Changed batch execution and process results to allow for an empty cross validation definition in data.yml. This guarantees backwards compatibility, which was tested with old_template.yml.j2 Also removed the "Collection #" column from the processed results.
Changed batch execution and process results to allow for an empty cross validation definition in data.yml. |
Looks great! |
* #899 Adding cross validation to atom batch execution Adding cross validation support to batch execution, by creating folds and diving each run into folds. * #899 Guaranteeing backwards compatibility in batch execution Changed batch execution and process results to allow for an empty cross validation definition in data.yml. This guarantees backwards compatibility, which was tested with old_template.yml.j2 Also removed the "Collection #" column from the processed results.
This has been merged to main, closing. |
Enhance cross validation by using scikit-learn functions.
The text was updated successfully, but these errors were encountered: