code: def run(self, samples=1000, chains=1, **kwargs):
          '''
          Run the Stan sampler.
          Args:
              samples (int): Number of samples to obtain (in each chain).
              chains (int): Number of chains to use.
              kwargs (dict): Optional keyword arguments passed onto the PyStan
                  StanModel.sampling() call.
          Returns: A PyMC3ModelResults instance.
          '''
          self.fit = self.stan_model.sampling(data=self.X, iter=samples,
                                              chains=chains, **kwargs)
          return self._convert_to_results(f run(self, samples=1000, chains=1, **kwargs):
          '''
          Run the Stan sampler.
          Args:
              samples (int): Number of samples to obtain (in each chain).
              chains (int): Number of chains to use.
              kwargs (dict): Optional keyword arguments passed onto the PyStan
                  StanModel.sampling() call.
          Returns: A PyMC3ModelResults instance.
          '''
          self.fit = self.stan_model.sampling(data=self.X, iter=samples,
                                              chains=chains, **kwargs)
          return self._convert_to_results()
docs: Run the Stan sampler.
          Args:
              samples (int): Number of samples to obtain (in each chain).
              chains (int): Number of chains to use.
              kwargs (dict): Optional keyword arguments passed onto the PyStan
                  StanModel.sampling() call.
          Returns: A PyMC3ModelResults instance.