code: def __init__(
      self,
      base_name: str,
      feature_vector,
      index: int,
      name: Optional[str],
  ):
      """Help with the metrics."""
      self.classes_ = np.unique(feature_vector)
      self.raw_feature_ = feature_vector
  
      self.name_ = "{0}{1}".format(base_name, index)
      if name is not None:
          self.name_ = name
      elif isinstance(feature_vector, pd.Series):
          if feature_vector.name is not None:
              if isinstance(feature_vector.name, str):
                  self.name_ = feature_vector.name
              else:
                  msg = _SERIES_NAME_NOT_STRING.format(
                      feature_vector.name, type(feature_vector.name)
                  )
                  raise ValueError(msg)
  
imports: from typing import Optional
  import numpy
  import pandas
label_desc: Use image node_id 1 to create a new GroupFeature object  with example: obj = GroupFeature(base_name, feature_vector, index, name)