code: def clean_pipeline_string(self, individual):
          
          dirty_string = str(individual)
          # There are many parameter prefixes in the pipeline strings, used solely for
          # making the terminal name unique, eg. LinearSVC__.
          parameter_prefixes = [(m.start(), m.end()) for m in re.finditer(', [\w]+__', dirty_string)]
          # We handle them in reverse so we do not mess up indices
          pretty = dirty_string
          for (start, end) in reversed(parameter_prefixes):
              pretty = pretty[:start + 2] + pretty[end:]
  
          return pretty
docs: Provide a string of the individual without the parameter prefixes.
  
          Parameters
          ----------
          individual: individual
              Individual which should be represented by a pretty string
  
          Returns
          -------
          A string like str(individual), but with parameter prefixes removed.