def create_figure(self, mcmc_sample, state: str): pred_dates = [i for i in range(len(self.data['Y']) + 8)] # pred_dates = np.linspace(0, len(self.data['Y']) + 3, 100) mcmc_tools.plot_ssm(mcmc_sample, pred_dates, 'season and trend model (L=8)' 'model', 'Y', state)
def create_figure(self, mcmc_sample): pred_dates = [i for i in range(len(self.data['Y']) + 3)] # pred_dates = np.linspace(0, len(self.data['Y']) + 3, 100) mcmc_tools.plot_ssm(mcmc_sample, pred_dates, 'local level ' 'model', 'Y', 'mu_pred')
def create_figure(self, mcmc_sample, state: str): # pred_dates = [i for i in range(len(self.data['Y']) + 4)] pred_dates = [i for i in range(len(self.data['Y']))] mcmc_tools.plot_ssm(mcmc_sample, pred_dates, 'detection about changing point' 'model', 'Y', state)
def create_figure(self, mcmc_sample, state: str): # pred_dates = [i for i in range(len(self.data['Y']) + 4)] pred_dates = [i for i in range(len(self.data['Y']))] mcmc_tools.plot_ssm(mcmc_sample, pred_dates, 'markov model', 'Y', state)