def METHOD_NAME(self, dic: Dict) -> None:
    """
    Load a dictionary with the status of the class. Typically used in checkpointing.
    Parameters
    ----------
    dic: Dictionary
        contains the values to be set as the class parameters
    """
    self.patience = dic["patience"]
    self.cooldown = dic["cooldown"]
    self.cooldown_counter = dic["cooldown_counter"]
    self.mode = dic["mode"]
    self.threshold = dic["threshold"]
    self.threshold_mode = dic["threshold_mode"]
    self.best = dic["best"]
    self.num_bad_epochs = dic["num_bad_epochs"]
    self.mode_worse = dic["mode_worse"]
    self.last_epoch = dic["last_epoch"]