Nur Fazliana, Rahim and Farah Liyana, Azizan and Nur’azra Alia Nisa, Zulpakar (2025) Predicting Market Trends : A Stock Prices Forecasting with Artificial Neural Network for Apple Inc. and Microsoft Corp. Applied Mathematics and Computational Intelligence, 14 (1). pp. 96-119. ISSN 2289-1323
|
PDF
Predicting Market Trends.pdf Download (703kB) |
Abstract
Machine learning plays a crucial role in predicting stock prices, as it aids investors in making well-informed decisions amidst the vast array of stocks traded on the stock exchange. The unpredictability of stock price behaviour, influenced by numerous factors, adds complexity to this process. Consequently, numerous studies have explored the use of machine learning for stock price forecasting. Hence, this study employs an Artificial Neural Network model as a machine learning algorithm for forecasting stock prices. The model is based on daily stock prices for Apple Inc. and Microsoft Corp. obtained from Yahoo Finance. Data preprocessing entailed normalizing stock prices to ensure that the input features were on a similar scale. The model was trained using a backpropagation approach, with weights optimized based on the mean square error loss function. The proposed model's performance is evaluated using the Root Mean Square Error (RMSE) and Absolute Error (AE) to assess its effectiveness in analyzing the data. The results show that the ANN model can accurately and reliably forecast stock prices. The RMSE and AE metrics demonstrated that the ANN model could effectively capture the underlying trends in stock price movements, giving investors valuable insights for decision-making.
| Item Type: | Article |
|---|---|
| Uncontrolled Keywords: | Machine learning, artificial neural networks, stock price, stock market, forecasting. |
| Subjects: | Q Science > Q Science (General) Q Science > QA Mathematics > QA76 Computer software |
| Divisions: | Academic Faculties, Institutes and Centres > Centre for Pre-University Studies Faculties, Institutes, Centres > Centre for Pre-University Studies Academic Faculties, Institutes and Centres > Centre for Pre-University Studies |
| Depositing User: | Azizan |
| Date Deposited: | 26 Aug 2025 05:10 |
| Last Modified: | 26 Aug 2025 05:10 |
| URI: | http://ir.unimas.my/id/eprint/49291 |
Actions (For repository members only: login required)
![]() |
View Item |
