code: def u(self):
          'weights in the input basis'
          self._check_estimated()
          u_mod = self.u_pc_1
          N = self._R.shape[0]
          u_input = np.zeros(N+1)
          u_input[0:N] = self._R.dot(u_mod[0:-1])  # in input basis
          u_input[N] = u_mod[-1] - self.mean.dot(self._R.dot(u_mod[0:-1]))
          return u_inpuf u(self):
          'weights in the input basis'
          self._check_estimated()
          u_mod = self.u_pc_1
          N = self._R.shape[0]
          u_input = np.zeros(N+1)
          u_input[0:N] = self._R.dot(u_mod[0:-1])  # in input basis
          u_input[N] = u_mod[-1] - self.mean.dot(self._R.dot(u_mod[0:-1]))
          return u_input
docs: weights in the input basis