class_docstr: Predefined user-weights ensemble
class_docstr_tok: ["Predefined","user-weights","ensemble"]
code: def __init__(self, weights, problem_type, **kwargs):
      self.weights_ = weights
      self.problem_type = problem_type
  
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 1 to create a new SimpleWeightedEnsemble object from inherited base classes: AbstractWeightedEnsemble with example: obj = SimpleWeightedEnsemble(weights, problem_type)