code: def update_params(self, rating_data):
      res = opt.fmin_l_bfgs_b(
          self._func,
          x0=self.params,
          args=rating_data,
          maxiter=self.grad_iter,
      )
      self.params = res[0]
      return res[1]
  
file_path: cornac/cornac/models/hft/hft.py
imports: import numpy
  import scipy.optimize
label_desc: Use image node_id 6 for calling the Model obj's underlying member method code with example usage: obj.update_params(rating_data) and returns: res