code: def __init__(
      self,
      num_samples,
      num_keep,
      attrib_indices,
      minibatch_per_gpu,
      **kwargs,
  ):
      assert num_keep <= num_samples
      super().__init__(**kwargs)
      self.num_samples = num_samples
      self.num_keep = num_keep
      self.attrib_indices = attrib_indices
      self.minibatch_per_gpu = minibatch_per_gpu
  
file_path: insightface/reconstruction/ostec/external/stylegan2/metrics/linear_separability.py
imports: from collections import defaultdict
  import numpy
  import sklearn.svm
  import tensorflow
  import dnnlib.tflib
  from metrics import metric_base
  from training import misc
label_desc: Use image node_id 1 to create a new LS object from inherited base classes: metric_base with example: obj = LS(num_samples, num_keep, attrib_indices, minibatch_per_gpu)