{'fraction_non_alphanumeric': 0.0291005291005291, 'fraction_numerical': 0.023809523809523808, 'mean_word_length': 4.703517587939698, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Short-Term Forecasting of Stock Prices Using Long Short Term Memory

Predicting stock market is not an easy task as it is a chaotic system i.e. whose dynamics are sensitive to arbitrarily small differences in initial conditions. Any small changes in the system can produce compound errors in predicting the future behavior of the system. Over the last few years, many machine learning algorithms have been used in an attempt to forecast stock prices. This paper evaluates the effectiveness of a type of Recurrent Neural Network known as Long Short Term Memory (LSTM) to implement technical analysis for making predictions about stock prices of AAPL ticker from NASDAQ exchange. Performance with three popular output activation layers is tested with Adam optimizer as back-propagation algorithm. The performance is compared using Root Mean Square Deviation. The model had an average RMSE value of 12.483 with linear output activation scaled to range (0,1) and 3.258 for the same scaled to a range of (-1,1), 21.769 with sigmoid output activation scaled to range (0,1) and 21.738 with tanh output activation scaled to a range of (-1,1).