class_docstr: Training History Record and Plot
  
  Parameters
  ----------
  labels : list of str
      List of names of the labels in the history.
class_docstr_tok: ["Training","History","Record","and","Plot","Parameters","--","--","--","--","--","labels",":","list","of","str","List","of","names","of","the","labels","in","the","history","."]
docstr: Update the training history
  
  Parameters
  ---------
  values: list of float
      List of metric scores for each label.
docstr_tok: ["Update","the","training","history","Parameters","--","--","--","--","-","values",":","list","of","float","List","of","metric","scores","for","each","label","."]
code: def update(self, values):
      r"""Update the training history
  
      Parameters
      ---------
      values: list of float
          List of metric scores for each label.
      """
      assert len(values) == self.l
      for i, v in enumerate(values):
          label = self.labels[i]
          self.history[label].append(v)
      self.epochs += 1
  
imports: import os
label_desc: Use image node_id 2 for calling the TrainingHistory obj's underlying member method code with example usage: obj.update(values) without return types