Github issue #2352 by nikzadb :
I have the attached data and following Hierarchical model (as a toy example of another model) and trying to draw posterior samples from it (of course to predict new values).
new_data.txt (1.5 KB)
Hierarchical model:
import numpy as np
import pandas as pd
import pymc3 as pm3
from theano import shared
import theano.tensor as tt
import matplotlib.pylab as plt
%matplotlib inline
new_data = pd.read_csv('new_data.csv', sep=',')
train = new_data.iloc[indexes[:-15],…
you have answered this question:grinning:
however, I run this example and my another question is why the predicted value is not correct in this example.