Autoregression and artificial neural networks for financial market forecast