code: def point_process_dataset():
      ia_times = np.array([0.2, 0.7, 0.2, 0.5, 0.3, 0.3, 0.2, 0.1])
      marks = np.array([0, 1, 2, 0, 1, 2, 2, 2])
  
      lds = ListDataset(
          [
              {
                  "target": np.c_[ia_times, marks].T,
                  "start": pd.Timestamp("2011-01-01 00:00:00"),
                  "end": pd.Timestamp("2011-01-01 03:00:00"),
              }
          ],
          freq="H",
          one_dim_target=False,
          use_timestamp=True,
      )
  
      return lds
  
imports: import numpy
  import pandas
  from gluonts.dataset.common import ListDataset
label_desc: Use image node_id 1 for calling a global function with example usage: point_process_dataset() and returns: lds