code: def __init__(self, windowSize):
      assert windowSize > 1
      super(LeastSquaresRegressionWindow, self).__init__(windowSize)
      self._timestamps = collections.NumPyDeque(windowSize)
  
imports: from pyalgotrade import technical
  from pyalgotrade.utils import collections
  from pyalgotrade.utils import dt
  import numpy
  from scipy import stats
label_desc: Use image node_id 1 to create a new LeastSquaresRegressionWindow object from inherited base classes: technical with example: obj = LeastSquaresRegressionWindow(windowSize)