code: def updateModel(self, X_all, Y_all, X_new, Y_new):
      self.X = X_all
      self.Y = Y_all
      ones = np.ones(X_all.shape[0]).reshape(-1, 1)
      X = np.hstack([ones, X_all])
      self.params = np.linalg.lstsq(X, Y_all.flatten())[0]
  
file_path: GPyOpt/GPyOpt/testing/functional_tests/mocks.py
imports: import numpy
  from GPyOpt.models.base import BOModel
label_desc: Use image node_id 3 for calling the MockModel obj's underlying member method code with example usage: obj.updateModel(X_all, Y_all, X_new, Y_new) without return types