code: def __init__(self, samples, labels):
      # dlib.solve_structural_svm_problem() expects the class to have
      # num_samples and num_dimensions fields.  These fields should contain
      # the number of training samples and the dimensionality of the PSI
      # feature vector respectively.
      self.num_samples = len(samples)
      self.num_dimensions = len(samples[0]) * 3
  
      self.samples = samples
      self.labels = labels
  
file_path: dlib/python_examples/svm_struct.py
imports: import dlib
label_desc: Use image node_id 1 to create a new ThreeClassClassifierProblem object  with example: obj = ThreeClassClassifierProblem(samples, labels)