code: def summarizeResults(expName, suite):
    
    print("\n================",expName,"=====================")
  
    try:
      # Retrieve the last totalCorrect from each experiment
      # Print them sorted from best to worst
      values, params = suite.get_values_fix_params(
        expName, 0, "totalCorrect", "last")
      v = np.array(values)
      sortedIndices = v.argsort()
      for i in sortedIndices[::-1]:
        print(v[i], params[i]["name"])
  
      print()
    except:
      print("Couldn't analyze experiment",expName)
  
    try:
      # Retrieve the last totalCorrect from each experiment
      # Print them sorted from best to worst
      values, params = suite.get_values_fix_params(
        expName, 0, "testerror", "last")
      v = np.array(values)
      sortedIndices = v.argsort()
      for i in sortedIndices[::-1]:
        print(v[i], params[i]["name"])
  
      print()
    except:
      print("Couldn't analyze experiment",expName)
docs: Summarize the totalCorrect value from the last iteration for each experiment
    in the directory tree.