code: def _get_model_param_names(cls):
          r
          # fetch model parameters
          if hasattr(cls, 'set_model_params'):
              # introspect the constructor arguments to find the model parameters
              # to represent
              args, varargs, kw, default = getargspec_no_self(cls.set_model_params)
              if varargs is not None:
                  raise RuntimeError("PyEMMA models should always specify their parameters in the signature"
                                     " of their set_model_params (no varargs). %s doesn't follow this convention."
                                     % (cls,))
              return args
          else:
              # No parameters known
              return []
docs: r"""Get parameter names for the model