scholarly journals Stock Prediction using Long Short-Term Memory, Support Vector Regression and Linear Regression Algorithms

Author(s):  
Mr. V. Manoj Kumar

Prediction is most important for stock market not only for traders but also for computer engineers who analyses stock data. We can perform this prediction by two ways one is using historical stock data and other by analyzing by information gathered from social media. It is based on model/pattern used to predict stock dataset, there are so many models are available for predicting stocks, simply model is algorithm that’s from machine learning and deep learning. In the data set the two main parameters open and close value are used for stock prediction mostly but we can also predict by its volume too. So that data is preprocessed before it is used for prediction. In this paper we used various algorithm like linear regression, support vector regression and long short-term memory for better accuracy and to compare how it different from other algorithm and for predicting future stock.

Author(s):  
Satria Wiro Agung ◽  
◽  
Kelvin Supranata Wangkasa Rianto ◽  
Antoni Wibowo

- Foreign Exchange (Forex) is the exchange / trading of currencies from different countries with the aim of making profit. Exchange rates on Forex markets are always changing and it is hard to predict. Many factors affect exchange rates of certain currency pairs like inflation rates, interest rates, government debt, term of trade, political stability of certain countries, recession and many more. Uncertainty in Forex prediction can be reduced with the help of technology by using machine learning. There are many machine learning methods that can be used when predicting Forex. The methods used in this paper are Long Short Term Memory (LSTM), Gated Recurrent Unit (GRU), Support Vector Regression (SVR). XGBOOST, and ARIMA. The outcome of this paper will be comparison results that show how other major currency pairs have influenced the performance and accuracy of different methods. From the results, it was proven that XGBoost outperformed other models by 0.36% compared to ARIMA model, 4.4% compared to GRU model, 8% compared to LSTM model, 9.74% compared to SVR model. Keywords— Forex Forecasting, Long Short Term Memory, Gated Recurrent Unit, Support Vector Regression, ARIMA, Extreme Gradient Boosting


2020 ◽  
Vol 12 (17) ◽  
pp. 7076 ◽  
Author(s):  
Arash Moradzadeh ◽  
Sahar Zakeri ◽  
Maryam Shoaran ◽  
Behnam Mohammadi-Ivatloo ◽  
Fazel Mohammadi

Short-Term Load Forecasting (STLF) is the most appropriate type of forecasting for both electricity consumers and generators. In this paper, STLF in a Microgrid (MG) is performed via the hybrid applications of machine learning. The proposed model is a modified Support Vector Regression (SVR) and Long Short-Term Memory (LSTM) called SVR-LSTM. In order to forecast the load, the proposed method is applied to the data related to a rural MG in Africa. Factors influencing the MG load, such as various household types and commercial entities, are selected as input variables and load profiles as target variables. Identifying the behavioral patterns of input variables as well as modeling their behavior in short-term periods of time are the major capabilities of the hybrid SVR-LSTM model. To present the efficiency of the suggested method, the conventional SVR and LSTM models are also applied to the used data. The results of the load forecasts by each network are evaluated using various statistical performance metrics. The obtained results show that the SVR-LSTM model with the highest correlation coefficient, i.e., 0.9901, is able to provide better results than SVR and LSTM, which have the values of 0.9770 and 0.9809, respectively. Finally, the results are compared with the results of other studies in this field, which continued to emphasize the superiority of the SVR-LSTM model.


Petir ◽  
2020 ◽  
Vol 13 (1) ◽  
pp. 33-43
Author(s):  
Adhib Arfan ◽  
Lussiana ETP

Banyak investor masih ragu dengan risiko dalam berinvestasi, hal ini disebabkan oleh fluktuasi indeks harga saham dalam waktu singkat. Telah banyak dikembangkan metode untuk memperkirakan harga saham yang akan datang namun masih memiliki keterbatasan di antaranya adalah ketergantungan jangka panjang. Tujuan penelitian yang ingin dicapai adalah menghasilkan model peramalan harga saham yang lebih efektif dan memberikan hasil yang akurat. Tahapan yang dilakukan terdiri dari pengumpulan data, preprocessing data, pembagian data, perancangan LSTM, pelatihan LSTM dan melakukan pengujian. Berdasarkan hasil pengujian, LTSM mampu memprediksi harga saham pada tahun 2017-2019 dengan performa yang baik dan tingkat kesalahan yang relatif kecil. Sedangkan pengujian menggunakan metode Support Vector Regression (SVR), LSTM memiliki nilai loss lebih baik dari algoritma SRV. Rentang data pada LSTM mempengaruhi waktu latih yang digunakan, semakin besar rentang data maka semakin lama waktu latih yang digunakan. Rentang data pada SVR mempengaruhi nilai loss, semakin besar rentang data maka semakin besar nilai loss yang dihasilkan. Dengan demikian dapat disimpulkan bahwa LSTM mampu menanggulangi ketergantungan jangka panjang dan mampu memprediksi harga saham dengan hasil yang akurat.


2020 ◽  
Vol 10 (2) ◽  
pp. 437 ◽  
Author(s):  
Van-Dai Ta ◽  
CHUAN-MING Liu ◽  
Direselign Addis Tadesse

In quantitative trading, stock prediction plays an important role in developing an effective trading strategy to achieve a substantial return. Prediction outcomes also are the prerequisites for active portfolio construction and optimization. However, the stock prediction is a challenging task because of the diversified factors involved such as uncertainty and instability. Most of the previous research focuses on analyzing financial historical data based on statistical techniques, which is known as a type of time series analysis with limited achievements. Recently, deep learning techniques, specifically recurrent neural network (RNN), has been designed to work with sequence prediction. In this paper, a long short-term memory (LSTM) network, which is a special kind of RNN, is proposed to predict stock movement based on historical data. In order to construct an efficient portfolio, multiple portfolio optimization techniques, including equal-weighted modeling (EQ), simulation modeling Monte Carlo simulation (MCS), and optimization modeling mean variant optimization (MVO), are used to improve the portfolio performance. The results showed that our proposed LSTM prediction model works efficiently by obtaining high accuracy from stock prediction. The constructed portfolios based on the LSTM prediction model outperformed other constructed portfolios-based prediction models such as linear regression and support vector machine. In addition, optimization techniques showed a significant improvement in the return and Sharpe ratio of the constructed portfolios. Furthermore, our constructed portfolios beat the benchmark Standard and Poor 500 (S&P 500) index in both active returns and Sharpe ratios.


2021 ◽  
pp. 016555152110065
Author(s):  
Rahma Alahmary ◽  
Hmood Al-Dossari

Sentiment analysis (SA) aims to extract users’ opinions automatically from their posts and comments. Almost all prior works have used machine learning algorithms. Recently, SA research has shown promising performance in using the deep learning approach. However, deep learning is greedy and requires large datasets to learn, so it takes more time for data annotation. In this research, we proposed a semiautomatic approach using Naïve Bayes (NB) to annotate a new dataset in order to reduce the human effort and time spent on the annotation process. We created a dataset for the purpose of training and testing the classifier by collecting Saudi dialect tweets. The dataset produced from the semiautomatic model was then used to train and test deep learning classifiers to perform Saudi dialect SA. The accuracy achieved by the NB classifier was 83%. The trained semiautomatic model was used to annotate the new dataset before it was fed into the deep learning classifiers. The three deep learning classifiers tested in this research were convolutional neural network (CNN), long short-term memory (LSTM) and bidirectional long short-term memory (Bi-LSTM). Support vector machine (SVM) was used as the baseline for comparison. Overall, the performance of the deep learning classifiers exceeded that of SVM. The results showed that CNN reported the highest performance. On one hand, the performance of Bi-LSTM was higher than that of LSTM and SVM, and, on the other hand, the performance of LSTM was higher than that of SVM. The proposed semiautomatic annotation approach is usable and promising to increase speed and save time and effort in the annotation process.


2021 ◽  
Vol 2021 ◽  
pp. 1-10
Author(s):  
Xiaofei Zhang ◽  
Tao Wang ◽  
Qi Xiong ◽  
Yina Guo

Imagery-based brain-computer interfaces (BCIs) aim to decode different neural activities into control signals by identifying and classifying various natural commands from electroencephalogram (EEG) patterns and then control corresponding equipment. However, several traditional BCI recognition algorithms have the “one person, one model” issue, where the convergence of the recognition model’s training process is complicated. In this study, a new BCI model with a Dense long short-term memory (Dense-LSTM) algorithm is proposed, which combines the event-related desynchronization (ERD) and the event-related synchronization (ERS) of the imagery-based BCI; model training and testing were conducted with its own data set. Furthermore, a new experimental platform was built to decode the neural activity of different subjects in a static state. Experimental evaluation of the proposed recognition algorithm presents an accuracy of 91.56%, which resolves the “one person one model” issue along with the difficulty of convergence in the training process.


Sign in / Sign up

Export Citation Format

Share Document