Hi ptrblck,
hope you enjoy these-2-day world cup matches.
I remove repetitive codes and try to clean my code.
For training part, below is my code:

similar to validation part as below:

Any suggestion is appreciated!
Thank you very much!