code: def generate_random_one_hot_encoding(self):
          
          encoding = []
          for ps in self.param_list:
              one_hot = np.zeros(ps.choices_count())
              choice = random.randrange(ps.choices_count())
              one_hot[choice] = 1
              encoding.append(one_hot)
          return encoding
docs: Returns a list of one-hot encodings for all parameters.
  
          1 one-hot np.array for 1 parameter,
          and the 1's place is randomly chosen.