class_docstr: Class representing a simple nonlinear least squares model.
code: def _Y_changed(self):
      if self.design is not None:
          if self.Y.shape[0] != self.design.shape[0]:
              raise ValueError("Y should be same shape as design")
  
file_path: nipy/nipy/algorithms/statistics/models/nlsmodel.py
imports: import numpy
  import numpy.linalg
  from .model import Model
label_desc: Use image node_id 2 for calling the NLSModel obj's underlying member method code with example usage: obj._Y_changed() without return types