code: def selection(self, tourn_size=3):
      FitV = self.FitV
      sel_index = []
      for i in range(self.size_pop):
          aspirants_index = np.random.choice(
              range(self.size_pop), size=tourn_size
          )
          sel_index.append(max(aspirants_index, key=lambda i: FitV[i]))
      self.Chrom = self.Chrom[sel_index, :]  # next generation
      return self.Chrom
  
imports: import numpy
  from sko.GA import GA, GA_TSP
  from sko.operators import ranking, selection, crossover, mutation
label_desc: Use image node_id 1 for calling the MyGA obj's underlying member method code with example usage: obj.selection(tourn_size) and returns: self