code: def _update_param(self):
          r
  
          # Update the gamma parameter.
          if not isinstance(self._gamma_update, type(None)):
              self._gamma = self._gamma_update(self._gamma)
  
          # Update lambda parameter.
          if not isinstance(self._lambda_update, type(None)):
              self._lambda_param = self._lambda_update(self._lambda_param)
docs: r"""Update parameters
  
          This method updates the values of the algorthm parameters with the
          methods provided