class_docstr: Wrapper class to handle ensemble algorithms that use multiple forecasters.
  
  This implements default methods for setting uniform weights, updating
  and prediction.
  
  Parameters
  ----------
  n_estimators : float
      number of estimators
  loss_func : function
      loss function which follows sklearn.metrics API, for updating weights
class_docstr_tok: ["Wrapper","class","to","handle","ensemble","algorithms","that","use","multiple","forecasters",".","This","implements","default","methods","for","setting","uniform","weights",",","updating","and","prediction",".","Parameters","--","--","--","--","--","n_estimators",":","float","number","of","estimators","loss_func",":","function","loss","function","which","follows","sklearn.metrics","API",",","for","updating","weights"]
docstr: Update fitted parameters and performs a new ensemble fit.
  
  Resets the weights over the estimators by passing previous
  observations to the weighting algorithm.
  
  Parameters
  ----------
  y_pred : np.array(), shape=(time_axis,estimator_axis)
      array with predictions from the estimators
  y_true : np.array(), shape=(time_axis)
      array with actual values for predicted quantity
docstr_tok: ["Update","fitted","parameters","and","performs","a","new","ensemble","fit",".","Resets","the","weights","over","the","estimators","by","passing","previous","observations","to","the","weighting","algorithm",".","Parameters","--","--","--","--","--","y_pred",":","np.array","(",")",",","shape=","(","time_axis",",","estimator_axis",")","array","with","predictions","from","the","estimators","y_true",":","np.array","(",")",",","shape=","(","time_axis",")","array","with","actual","values","for","predicted","quantity"]
code: def _update(self, y_pred, y_true):
      """Update fitted parameters and performs a new ensemble fit.
  
      Resets the weights over the estimators by passing previous
      observations to the weighting algorithm.
  
      Parameters
      ----------
      y_pred : np.array(), shape=(time_axis,estimator_axis)
          array with predictions from the estimators
      y_true : np.array(), shape=(time_axis)
          array with actual values for predicted quantity
      """
      raise NotImplementedError()
  
imports: import numpy
  from scipy.optimize import bisect, nnls
label_desc: Use image node_id 4 for calling the _PredictionWeightedEnsembler obj's underlying member method code with example usage: obj._update(y_pred, y_true) without return types