Journal of Applied Engineering and Technological Science Vol 6. 2025: 820-828 MODIFICATION OF MULTILAYER PERCEPTRON USING DETECTION RATE MODEL FOR PREDICTION OF NOMINAL EXCHANGE RATE Al-Khowarizmi1*. Romi Fadillah Rahmat2. Michael. Watts3. Akrim4. Arif Ridho Lubis5. Mhd. Basri6 Universitas Muhammadiyah Sumatera Utara. Medan. Indonesia146 Universitas Sumatera Utara. Medan. Indonesia2 Media Design School. Auckland. New Zealand 3 Politeknik Negeri Medan. Medan. Indonesia5 alkhowarizmi@umsu. id, romi. fadillah@usu. id, mjwatts@ie. org, akrim@umsu. arifridho@polmed. id, basri@umsu. Received: 16 September 2024. Revised: 09 December 2024. Accepted: 18 January 2025 *Corresponding Author ABSTRACT An artificial neural network (ANN) is a network of a group of units to be processed which is modeled based on the behavior of human neural networks. ANN has one of its tasks, namely prediction. Multilayer perceptron (MLP) is one of the ANN methods that can be prediction all of data. Where the prediction needs to be reviewed because the prediction process does not always run normally. So, it takes a good measurement accuracy in order to get an accuracy sensitivity. The accuracy technique in this paper is carried out using Mean Absolute Percentage Error (MAPE) based on absolute error and detection rate. The results obtained with absolute error achieve an accuracy of 99. 73% while the accuracy based on the detection rate achieves an accuracy of 99. this can be seen in the case of the prediction of (Indonesian Rupia. IDR exchange rate against United State Dollar (USD) with the MLP algorithm by testing using MAPE to achieve sensitivity with absolute error. Keywords: Prediction. MLP. MAPE. Detection Rate. Introduction Data mining is a technique used to gain new knowledge from data (A. Lubis et al. (Al-Khowarizmi, 2. One technique in data mining is prediction (Khowarizmi et al. Prediction is a technique used to find new models for specific purposes by utilizing data (Arif Ridho Lubis et al. , 2. (A. -K. Al-Khowarizmi, 2. predicted the object image by testing the authenticity of Indonesian Rupiah (IDR) using one of the neural network methods. Prediction accuracy is measured as the difference between the predictions produced by the model and reality, and a good level of accuracy occurs when approaching 100% with the meaning that the resulting model outputs closely approximate the data (Prayudani et al. , 2. The accuracy value calculated by error will change if there is a world movement or world chaos (Laszlo, 2. Many factors affect world chaos such as virus outbreaks (Phua & Lee, 2. With the world pandemic, the first factor that will decline is the economy of a developing country (Shurui et al. , 2. (A Ridho Lubis et al. , 2. Many developing countries, of course, still use the United State Dollar (USD) exchange rate as a benchmark (Bakri et al. , 2. (Dai et , 2. In Indonesia, the movement of money is still following the USD exchange rate, so with the third occurrence of a worldwide viral outbreak, the USD movement increases (Setyani. For this reason, prediction in nominal exchange rates is needed if an outbreak occurs in order to predict future rates. In doing prediction, an appropriate method is needed, namely artificial neural network (ANN) (A. Al-Khowarizmi et al. , 2. ANN is a network of a group of processing units that are modelled based on the functioning of biological neural networks and nervous systems (Guiny et al. , 2. (Kheirollahpour et al. , 2. (Hutagalung et al. , 2. conducted research by applying human habits to determine the best rice to be consumed by the community. addition, (Arif Ridho Lubis et al. , 2. also detected someone's blood sugar with Markov chain probability based on human habits. Many researchers who use ANN such as (Al-Khowarizmi, 2. examine to detect a person's psychological disorders by using the Analytical Hierarchy Khowarizmi et al A Vol 6. 2025: 820-828 Process (AHP) method. So, the application of ANN is able to assist in the prediction which is then useful for forecasting or prediction (Rahmat et al. , 2. (Clarina & Fitriany, 2. Research related to this prediction is also useful as a development in the field of data but the business sector in order to create the concept of business intelligence (BI) (F. Fauzi. AlKhowarizmi, 2. (Bakri et al. , 2. As (Al-Khowarizmi et al. , 2. (Al Khowarizmi. Rahmad Syah. Mahyuddin K. Nasution, 2. is carried out classification to predict future Crude Palm Oil (CPO) prices by using Simple Evolving Connectionist System (SECoS) and KNearest Neighbor (KNN). So, all concepts of ANN must be applied in various applications because the effects of the application must touch to all fields of education, economics, social, health and other sciences. Literature Review ANN is a replica of the nervous system found in biological brain and nervous systems. The human brain is composed of billions of neurons where each neuron will be connected to tens of thousands of other neurons. A neuron is composed of 3 main components namely (Schikuta. Dendrites, are input signal channels whose connection strength is affected by a synaptic strength or weight. Cell Body, is a place for computing the weighted input signal to produce an output signal that will be sent to neurons. Axon, is the part that sends output signals to other neurons that are connected to neurons . One ANN model is the Multilayer Perceptron (MLP) which is a perceptron with two or more trainable weight layers. A Single layer Perceptron can linearly divide the input space with a single hyperplane, while MLP can divide the input space into complex polygons by positioning multiple intersecting hyperplanes. MLP are universal function approximators. An nlayer perceptron is an n-variable weight layer and n 1 neuron layer with layer 1 neurons as the input layer. The form of MLP can be seen in Fig. below (Marques & Creus, 2. Fig. Multilayer Perceptron Fig. 1 above shows the application of ANN for data to be used for prediction. Then it will simply be obtained by multiplying each sample data input with a weight value then adding it up, then the result of the sum being the input for the activation function to produce parameters. The activation function can be either a sigmoid function . or a hyperbolic tangent function . like the following equation: ( ) ( ) ( ) Where: e is error value x is input layer value Khowarizmi et al A Vol 6. 2025: 820-828 Material and Methods Dataset The data were obtained from IDR/USD Historical data website: w. The datasets in this paper are IDR to USD Exchange and US Dollar index. The datasets are recorded during the period of January 1st 2020 to May 20th 2021. The dataset was partitioned into a training dataset and a testing dataset. The training dataset covers the period from January 1 st 2019 to January 1st 2021, and the testing dataset covers from January 2 nd 2021 to May 20th 2021. General Research Architecture General research architecture is very important for explaining research. This research is an optimization with modifying the MLP algorithm in measuring accuracy in MAPE by inserting a detection rate model. The general architecture in this paper is shown in Fig. Fig. General Architecture In Fig. 2 it can be seen that the dataset is in the form of IDR to USD exchange, then data training and data testing are carried out using the MLP algorithm. From the results of data testing, accuracy measurement is carried out. where to get accuracy by using MAPE. but in this paper MAPE is tested twice. the first uses absolute error and the second uses detection rate. The MAPE uses absolute error as follows (Lasisi et al. , 2. Oc | And secondly, the Mean Absolute Percent Error (MAPE) Accuracy based on the Detection Rate is shown in Equation . as follows (A. Al-Khowarizmi et al. , 2. Khowarizmi et al A Vol 6. 2025: 820-828 Where: a = actual data b = result data n = lots of data. Results and Discussions The prediction in this paper uses large-capacity data so that the process is more accurate. Data is real data obtained from w. The data was taken from January 1 st, 2021 to May 20th, 2021 and in general it is known that February 25 th, 2020 in Indonesia has been exposed to the World outbreak or Corona Virus Disease (COVID . Determine the impact on economic activity and an increase in the nominal exchange rate. When there is an increase in the price of the US dollar, a prediction process is needed for business people, stack holders, and the government to take a stand. The nominal exchange rate data is shown in Table 1 below: Table 1 - Dataset of Nominal Exchange rate. Date 1 USD to IDR 14,397. May 20th, 2021 14,275. May 19th, 2021 14,270. May 18th, 2021 14,280. May 17th, 2021 14,195. May 11th, 2021 14,195. May 10th, 2021 14,280. May 07th, 2021 A. 13,668. Jan 13th, 2020 13,762. Jan 10th, 2020 13,850. Jan 09th, 2020 13,892. Jan 08th, 2020 13,875. Jan 07th, 2020 13,940. Jan 06th, 2020 13,925. Jan 03rd, 2020 13,889. Jan 02nd, 2020 13,882. Jan 01st, 2020 From Table 1 it can be seen that there was an increase in the price of the USD when the pandemic (COVID . was experienced by Indonesia. From the complete data that is summarized in Table 1, we produced the plot in Fig. Fig. IDR-USD exchange rate Fig. 3 graphically shows the increase in the nominal exchange rate of USD against IDR. From this process, prediction is carried out using ANN in this case using MLP so that the prediction results can predict the nominal exchange rate of IDR against USD in the future where the evaluation results produce accuracy techniques with MAPE besides that MAPE is modified with a detection rate to get the smallest error results. Prediction using the process provided in Khowarizmi et al A Vol 6. 2025: 820-828 Fig. 1 based on equations . with various iterations and epochs. The results of the prediction can be seen in Fig. Fig. Prediction Result with MLP Fig. 4 shows the results of the prediction using MLP algorithm. In accordance with the purpose of this research, and the results of Fig. 4 can also be seen that the prediction runs from January 1, 2020 to January 1, 2021, while the test is from January 2, 2021 to May 20, 2021. The prediction process is going well where the results of testing need to measure accuracy to get good sensitivity. The accuracy process uses MAPE based on the absolute value of the error and uses the detection rate. where MAPE which involves absolute error uses equation . while MAPE which uses detection rate uses equation . Accuracy results with absolute error and detection rate are shown in Table 2: Actual Values A. Table 2 Ae Summary of Prediction results. Predict Absolute Error Detection Rate Values A. Khowarizmi et al A Vol 6. 2025: 820-828 The absolute error for each prediction by date is plotted in Fig. Fig. absolute error The Detection Rate (DR) by date is plotted in Fig. Fig. detection rate After prediction based on Table 2, the next step is to calculate the accuracy measurement with MAPE. The MAPE is based on absolute error through equation . as follows: From these calculations, it can be seen that the MAPE results are based on an absolute error of 0. Then calculations are also carried out with MAPE to obtain accuracy based on the detection rate as follows: From the calculation achieved by MAPE based on the detection rate rain the value of MAPE which is the average error value which in this paper is calculated twice which will be used as a comparison. so based on this, the accuracy produced can be seen in Fig. Khowarizmi et al A Vol 6. 2025: 820-828 Fig. Sensitivity of MAPE From Fig. 7 it is clear that the accuracy generated from MAPE with an absolute error of 02% is an accuracy of 99. while MAPE is generated with a detection rate of 0. 51% so the resulting accuracy is 99. this shows that MAPE based on absolute error and MAPE based on detection rate has a sensitivity that is not much different but very accurate accuracy in this study using MAPE based on absolute error. Thus it can be stated that the modified algorithm can run well in various fields and can adapt to various circumstances. Conclusion This paper predicted the USD to IDR exchange rate with ANN applying the MLP The prediction process ran well and accuracy has been calculated with MAPE. MAPE results based on Absolute error reached a value of 0. 002% so that the accuracy reached while MAPE based on Detection rate reached 0. 51% so that the accuracy achieved was These results are very optimal by obtaining MAPE sensitivity based on absolute error values so that research can be applied to be used by the public to predict the rupiah exchange rate against the USD. Acknowledgement We would like to thank our leaders for permission and support for research collaboration to The Rector of the Universitas Muhammadiyah Sumatrera Utara. The Rector of the Universitas Sumatrera Utara. The Chancellor of The Media Design School & The Director of the Politeknik Negeri Medan. References