code: def __init__(self, alpha, tau=1, wmin=0, wmax=inf):
      import numpy as np
  
      self.alpha = alpha
      self.tau = tau
      self.n = 0
      self.sumw = 0
      self.sumwsq = 0
      self.sumwr = 0
      self.sumwsqr = 0
      self.sumwsqrsq = 0
      self.wmin = wmin
      self.wmax = wmax
  
      self.duals = None
      self.mleduals = None
  
imports: from math import inf
label_desc: Use image node_id 2 to create a new OnlineCressieRead object  with example: obj = OnlineCressieRead(alpha, tau, wmin, wmax)