<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getErrorBars(expPath, suite):
 """ Go through each experiment in the path. Get the best scores for each experiment based on accuracy on validation set. Print out overall mean, and stdev for test accuracy, BG accuracy, and noise accuracy. """

  exps = suite.get_exps(expPath)
  testScores = np.zeros(len(exps))
  noiseScores = np.zeros(len(exps))
  for i,e in enumerate(exps):
    maxTestAccuracy, maxValidationAccuracy, maxBGAccuracy, maxIter, maxTotalAccuracy = bestScore(
      e, suite)
    testScores[i] = maxTestAccuracy
    noiseScores[i] = maxTotalAccuracy
    print(e, maxTestAccuracy, maxTotalAccuracy)

  print("")
  print("Experiment:", expPath, "Number of sub-experiments", len(exps))
  print("test score mean and standard deviation:", testScores.mean(), testScores.std())
  print("noise score mean and standard deviation:", noiseScores.mean(), noiseScores.std())