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.


Data Scientist

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store