code: def weight_pred_probas(pred_probas, weights):
      preds_norm = [
          pred * weight for pred, weight in zip(pred_probas, weights)
      ]
      preds_ensemble = np.sum(preds_norm, axis=0)
      return preds_ensemble
  
imports: import logging
  import time
  from collections import Counter
  import numpy
  from ...constants import PROBLEM_TYPES
  from ...metrics import log_loss
  from ...utils import compute_weighted_metric, get_pred_from_proba
label_desc: Use image node_id 3 for calling the AbstractWeightedEnsemble obj's underlying member method code with example usage: obj.weight_pred_probas(pred_probas, weights) and returns: preds_ensemble