code: def __init__(
      self,
      **kwargs: Any,
  ):
      super().__init__(**kwargs)
      self.history = collections.defaultdict(list)
      self.checkpoint_path = None
  
file_path: neural_prophet/neuralprophet/logger.py
imports: import collections
  from typing import Any, Mapping, Optional
  import pytorch_lightning
  from pytorch_lightning.callbacks import TQDMProgressBar
  from pytorch_lightning.loggers import TensorBoardLogger
  from pytorch_lightning.utilities.rank_zero import rank_zero_only
label_desc: Use image node_id 1 to create a new MetricsLogger object from inherited base classes: TensorBoardLogger with example: obj = MetricsLogger()