Learning to forecast the exchange rate: Two competing approaches