code: def create_adjusted_model_for_percentages(model_src, model_use):
      
      # Copy model file
      shutil.copyfile(model_src, model_use)
      # Adjust model file
      with open(model_src) as f:
          content = f.read()
      content = content.replace("logreg", "sigmoid")
      with open(model_use, "w") as f:
          f.write(content)
docs: Replace logreg layer by sigmoid to get probabilities.