Corey Morris commited on
Commit
cd21f99
1 Parent(s): 229d6d1

removed code to print the number of outliers. could add it back later as logging potentially

Browse files
Files changed (1) hide show
  1. result_data_processor.py +0 -2
result_data_processor.py CHANGED
@@ -55,8 +55,6 @@ class ResultDataProcessor:
55
  # Identify the outliers
56
  # outliers_condition = mc1 > mc1.quantile(.95)
57
  outliers_condition = mc1 == 1.0
58
- # Print out the number of outliers
59
- print('Number of outliers: ', outliers_condition.sum())
60
  # Replace the outliers with NaN
61
  df.loc[outliers_condition, 'harness|truthfulqa:mc1'] = np.nan
62
  return df
 
55
  # Identify the outliers
56
  # outliers_condition = mc1 > mc1.quantile(.95)
57
  outliers_condition = mc1 == 1.0
 
 
58
  # Replace the outliers with NaN
59
  df.loc[outliers_condition, 'harness|truthfulqa:mc1'] = np.nan
60
  return df