Forecasting rare earth stock prices with machine learning