A hierarchical Bayesian learning framework for autoregressive neural network modeling of time series