Hi Remi KERKOUR , Thank you for appreciation.
a) Training F1 score is computed in step -4,5. In step 4, during compiling of model we are mentioning “get_f1” as metric. And In step-5, during fit of model, passing training as well as validation data.
So, whatever steps it perform like computing F1 score will be on both train and validation data.
b) sorry, didn’t get your 2nd part. Can you please rephrase it?
Please do let me know if you have any more doubts.