code: def get_predictions_by_class(self, predictions):
      predictions_by_class = []
      for class_idx in range(self.num_classes):
          class_preds = [pred[class_idx] for pred in predictions]
          predictions_by_class.append(class_preds)
  
      return predictions_by_class
  
file_path: auto_ml/auto_ml/utils_ensembling.py
imports: import os
  import numpy
  import pandas
  import pathos
  from sklearn.base import BaseEstimator, TransformerMixin
label_desc: Use image node_id 5 for calling the Ensembler obj's underlying member method code with example usage: obj.get_predictions_by_class(predictions) and returns: predictions_by_class