docs: def set_data_from_iterable(self, frames, values, labels=None):
          """
          Initialize a dataset structure from iterable parameters
  
          :param x: The temporal indices of the dataset
          :param y: The values of the dataset
          :type x: iterable
          :type y: iterable
          """
          if not isinstance(frames, collections.Iterable):
              raise TypeError, "frames must be an iterable"
          if not isinstance(values, collections.Iterable):
              raise TypeError, "values must be an iterable"
          assert(len(frames) == len(values))
          self.frames = frames
          self.values = values
          if labels is None:
              self.label2int['New Point'] = 0
              self.int2label[0] = 'New Point'
              self.labels = [0 for i in xrange(len(frames))]
          else:
              if not isinstance(labels, collections.Iterable):
                  raise TypeError, "labels must be an iterable"
              for l in labels:
                  if l not in self.label2int:
                      self.label2int[l] = len(self.label2int)
                      self.int2label[len(self.int2label)] = l
                  self.labels.append(self.label2int[l])