forecasting by Bayesian learning