Claim Missing Document
Check
Articles

Found 6 Documents
Search
Journal : Recursive Journal of Informatics

Selection of Trading Indicators Using Machine Learning and Stock Close Price Prediction with the Long Short Term Memory Method Alfandy Himawan Bagus Rafli; Aji Purwinarko
Recursive Journal of Informatics Vol. 3 No. 2 (2025): September 2025
Publisher : Universitas Negeri Semarang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.15294/rji.v3i2.945

Abstract

Abstract. Humans have a limit to their physical ability to work, so investment is needed to meet their needs and other goals according to their wants and needs. Investment has many types and risks according to the portion of the return value, such as mutual funds, bonds and stocks. Stocks are a form of investment that has a high risk because of the rapid fluctuations in stock values. Prediction of stock movements is usually assisted by indicators, but predictions using indicators require complex analysis because of the diverse periods and different movements in each stock data case.  Purpose: To predict the closing price of BBCA and BBRI shares in the next 10 days by considering the count of technical indicators in the form of Moving average (MA), Exponential moving average (EMA), Rate Of Change (ROC), Price Momentum, Relative Strength Index (RSI), Stochastic Oscillator in periods 21, 63 and 252. Methods/Study design/approach: This research was conducted by comparing the accuracy of Random Forest, Decision Tree, KNN, SVM using K-fold Cross Validation then the method with the best accuracy was used to find out how much velue from the trading indicators used and predict the closing price of shares per day at BBRI and BBCA companies for the next 10 day period using the LSTM algorithm. Result/Findings: The best accuracy in the k-fold cross validation process is random forest. random forest is used to train indicator data in determining 5 indicators along with the period that has the highest value, in this test it produces values on BBCA data in order, namely ROC63, RSI63, MOM63, MA252, EMA21 while on BBRI data in order, namely ROC63, MOM63, RSI63, MA252, MA21. This indicator is used in the price forecasting process with the LSTM method to determine the closing price in the next 10 days. The LSTM method in this study resulted in 96.8% accuracy for BBCA and 96.4% accuracy for BBRI. Novelty/Originality/Value: The forecasting accuracy on BBCA is 96.8% and the forecasting accuracy on BBRI is 96.4%. This shows that the accuracy results are classified as good because the prediction results are close to the actual results. The data training process is expected to help traders in making stock buying and selling decisions that are adjusted to the fundamental aspects of the company.
Random Forest Algorithm Optimization using K-Nearest Neighborand SMOTE on Diabetes Disease Syuja Zhafran Rakha Krishandhie; Aji Purwinarko
Recursive Journal of Informatics Vol. 3 No. 1 (2025): March 2025
Publisher : Universitas Negeri Semarang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.15294/rji.v3i1.1576

Abstract

Abstract. Diabetes is a chronic disease that can cause long-term damage, dysfunction and failure of various organs in the body. Diabetes occurs due to an increase in blood sugar (glucose) levels exceeding normal values. Early diagnosis of diseases is crucial for addressing them, especially in the case of diabetes, which is one of the chronic illnesses. Purpose: This study aims to find out how the implementation of the K-Nearest Neighbor algorithm with the Synthetic Minority Oversampling Technique (SMOTE) in optimizing Random Forest algorithm for diabetes disease prediction. Methods/Study design/approach: This study uses the Pima Indian Diabetes Dataset, the random forest algorithm for the classification, k-nearest neighbor for optimization, and SMOTE for the minority class oversampling. Result/Findings: The prediction accuracy of the model using SMOTE and k-nearest neighbor is 92,86%. Meanwhile, the model that does not use SMOTE and k-nearest neighbor obtains an accuracy of 83,03%. Novelty/Originality/Value: This research shows that the use of random forest algorithm with k-nearest neighbor and SMOTE gives better accuracy than without using k-nearest neighbor and SMOTE.
Neural Network Optimization Using Hybrid Adaptive Mutation Particle Swarm Optimization and Levenberg-Marquardt in Cases of Cardiovascular Disease Rima Ayu Cahyani; Aji Purwinarko
Recursive Journal of Informatics Vol. 2 No. 2 (2024): September 2024
Publisher : Universitas Negeri Semarang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.15294/192vyt90

Abstract

Abstract. Cardiovascular disease is a condition generally characterized by the narrowing or blockage of blood vessels, which can lead to heart attacks, chest pain, or strokes. It is the leading cause of death worldwide, accounting for approximately 31% or 17.9 million deaths each year globally. Deaths caused by cardiovascular disease are projected to continue increasing until 2030, with the number of patients reaching 23.3 million. As cases of death due to cardiovascular disease become more prevalent, early detection is crucial to reduce mortality rates. Purpose: Many previous researchers have conducted studies on predicting cardiovascular disease using neural network methods. This study extends these methods by incorporating feature selection and optimization with Hybrid AMPSO-LMA. The research is designed to explore the implementation and predictive outcomes of Hybrid AMPSO-LMA in optimizing MLP for cases of cardiovascular disease. Methods/Study design/approach: The first step in conducting this research is to download the Heart Disease Dataset from Kaggle.com. The dataset is processed through preprocessing by removing duplicates and transforming the data. Then, data mining processes are carried out using the MLP algorithm optimized with Hybrid AMPSO-LMA to obtain results and conclusions. This system is designed using the Python programming language and utilizes Flask for website access in HTML. Result/Findings: The research results demonstrate that the method employed by the author successfully improves the accuracy of predicting cardiovascular disease. Predicting cardiovascular disease using the MLP algorithm yields an accuracy of 86.1%, and after optimization with Hybrid AMPSO-LMA, the accuracy increases to 86.88%. Novelty/Originality/Value: This effort will contribute to the development of a more reliable and effective cardiovascular disease prediction system, with the goal of early identification of individuals exhibiting symptoms of cardiovascular disease.
Application of C4.5 Algorithm Using Synthetic Minority Oversampling Technique (SMOTE) and Particle Swarm Optimization (PSO) for Diabetes Prediction Dela Rista Damayanti; Aji Purwinarko
Recursive Journal of Informatics Vol. 2 No. 1 (2024): March 2024
Publisher : Universitas Negeri Semarang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.15294/yjy1tw93

Abstract

Abstract. Diabetes is the fourth or fifth leading cause of death in most developed countries and an epidemic in many developing countries. Early detection can be a preventive measure that uses a set of existing data to be processed through data mining with a classification process. Purpose: Investigate the efficacy of integrating the C4.5 algorithm with Synthetic Minority Oversampling Technique (SMOTE) and Particle Swarm Optimization (PSO) for improving the accuracy of diabetes prediction models. By employing SMOTE, the study aims to address the class imbalance issue inherent in diabetes datasets, which often contain significantly fewer instances of positive cases (diabetes) than negative cases (non-diabetes). Furthermore, by incorporating PSO, the research seeks to optimize the decision tree construction process within the C4.5 algorithm, enhancing its ability to discern complex patterns and relationships within the data. Methods/Study design/approach: This study proposes the use of the C4.5 classification algorithm by applying the synthetic minority oversampling technique (SMOTE) and particle swarm optimization (PSO) to overcome problems in the diabetes dataset, namely the Pima Indian Diabetes Database (PIDD). Result/Findings: From the research results, the accuracy obtained in applying the C4.5 algorithm without the preprocessing process is 75.97%, while the results of the SMOTE application of the C4.5 algorithm are 80%. Meanwhile, applying the C4.5 algorithm using SMOTE and PSO produces the highest accuracy, with 82.5%. This indicates an increase of 6.53% from the classification results using the C4.5 algorithm. Novelty/Originality/Value: This research contributes novelty by proposing a hybrid approach that combines the C4.5 decision tree algorithm with two advanced techniques, Synthetic Minority Oversampling Technique (SMOTE) and Particle Swarm Optimization (PSO), for the prediction of diabetes. While previous studies have explored the application of machine learning algorithms for diabetes prediction, few have examined the synergistic effects of integrating SMOTE and PSO with the C4.5 algorithm specifically.
Implementation of Convolutional Neural Network Algorithm Using Vgg-16 Architecture for Image Classification in Facial Images Renita Arianti Hapsari; Aji Purwinarko
Recursive Journal of Informatics Vol. 1 No. 2 (2023): September 2023
Publisher : Universitas Negeri Semarang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.15294/4mqqh981

Abstract

Abstract: Face Recognition has now become a technology capable of recognizing facial patterns, facial image recognition is also used in various applications, for example in biological data recognition applications, digital image and video search, room security, and other applications. Purpose: This study aims to find out how the implementation of the CNN method with the VGG-16 architecture affects the classification of gender in facial images and how it affects the results. Methods/Study design/approach: In this study, we use the CNN method for data processing and build the program and use VGG-16 Architecture to build the model, then the tensorflow library for calling the required features such as when optimizing or for statistical plots and using the Confusion Matrix to determine the level of accuracy obtained. The desired results in this study are accuracy, precision, recall, and Fscore. Result/Findings: Classifying facial images using CNN with VGG-16 architecture provides an accuracy rate of 94%. From the results of this study it can be concluded that the model with the best accuracy is at epoch 20 compared to epoch 60, epoch 80, and epoch 100 which have previously been tested. Novelty/Originality/Value: The level of accuracy resulting from the implementation of the CNN method using the VGG-16 Architecture for image classification in facial images is quite good, resulting in an accuracy of 94%. Accuracy results were obtained from tests carried out by comparing several epoch values to produce the best accuracy of 94% using epoch 20.
Implementation of Synthetic Minority Oversampling Technique and Two-phase Mutation Grey Wolf Optimization on Early Diagnosis of Diabetes using K-Nearest Neighbors Fathan Arsyadani; Aji Purwinarko
Recursive Journal of Informatics Vol. 1 No. 1 (2023): March 2023
Publisher : Universitas Negeri Semarang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.15294/s6qsz079

Abstract

Abstract. Diabetes is a disease attacking the endocrine system characterized by high blood sugar levels. International Diabetes Federation (IDF) estimates that there were 451 million people with diabetes globally in 2017. Without treatment, this number is expected to rise to 693 million by 2045. One method for preventing increases in the number of diabetics is by early diagnosis. In an era where technology has developed rapidly, early diagnosis can be made with the machine learning method using classification. In this study, we propose a diabetes classification using K-Nearest Neighbors (KNN). Before classifying the data, we select the best feature subset from the dataset using Two-phase Mutation Grey Wolf Optimization (TMGWO) and balance the training data using Synthetic Minority Oversampling Technique (SMOTE). After dividing the dataset into training and testing sets using 10-fold cross validation, we reached an accuracy of 98.85% using the proposed method. Purpose: This study aims to understand how to apply TMGWO and SMOTE to classify the early stage diabetes risk prediction dataset using KNN and how it affects the results. Methods/Study design/approach: In this study, we use TMGWO to make a feature selection on the dataset, K-fold cross validation to split the dataset into training and testing sets, SMOTE to balance the training data, and KNN to perform the classification. The desired results in this study are accuracy, precision, recall, and f1-score. Result/Findings: Performing classification using KNN with only features selected by TMGWO and balancing the training data using SMOTE gives an accuracy rate of 98.85%. From the results of this research, it can be concluded that the proposed algorithm can give higher accuracy compared to previous studies. Novelty/Originality/Value: Implementing TMGWO to perform feature selection so the model can perform classification with fewer features and implementing SMOTE to balance the training data so the model can better classify the minority class. By doing classification using fewer features, the model can perform classification with a shorter computational time compared to using all features in the dataset.