code: def save_checkpoint(self, model):
      """Saves model when validation loss decrease."""
      model.save_parameters("model.param")
  
imports: import numpy
label_desc: Use image node_id 3 for calling the EarlyStopping obj's underlying member method code with example usage: obj.save_checkpoint(model) without return types