Check if current model the best one. get early stop counter, if counter==0: it means current model has the best validation loss
(self)
| 100 | self.val_loss_min = val_loss |
| 101 | |
| 102 | def isBestModel(self): |
| 103 | ''' Check if current model the best one. |
| 104 | get early stop counter, if counter==0: it means current model has the best validation loss |
| 105 | ''' |
| 106 | return self.counter==0 |
nothing calls this directly
no outgoing calls
no test coverage detected