Advance Sustainable Science. Engineering and Technology (ASSET) Vol. No. January 2024, pp. 02401010-01 02401010-014 ISSN: 2715-4211 DOI: https://doi. org/10. 26877/asset. Optimizing Predictive Accuracy: A Study of K-Medoids and Backpropagation for MPX2 Oil Sales Forecasting Ryan Akbar Ramadhan1*. Daniel Swanjaya1. Risa Helilintar1 Faculty of Engineering. Universitas Nusantara PGRI Kediri. Mojoroto City Kediri. East Java 64112. Indonesia *ryan55. r5@gmail. Abstract. This study evaluates the use of K-Medoids and Backpropagation methods for predicting MPX2 Oil sales in the automotive workshop industry, which is crucial for meeting customer demands and refining sales strategies. Utilizing transaction data from 2022 to 2023, the study involves normalizing and processing this data with these algorithms to forecast stock levels, focusing on accuracy measures such as Mean Absolute Deviation (MAD) and Mean Squared Error (MSE). K-Medoids assist in identifying customer purchase patterns through clustering, while Backpropagation effectively predicts sales trends, enhancing accuracy through Implementing K-Medoids and Backpropagation algorithms in the research resulted in MSE value of 0. 01969 and MAD value of 0. These values indicate a high level of accuracy in the MPX2 Oil sales predictive model, as lower MSE and MAD values suggest greater accuracy and precision in forecasting. These findings provide valuable insights into the dynamics of MPX2 Oil sales, enabling companies to improve marketing strategies, transaction management, and inventory strategies. Keywords: K-Medoids. Backpropagation. Sales Forecasting. Predictive Accuracy. MPX2 Oil Sales. (Received 2023-12-08. Accepted 2023-12-12. Available Online by 2023-12-. Introduction In the business world, sales forecasting methods are a crucial component of planning and decisionmaking in the corporate sector. This is especially true in the automotive care sector, where oil sales are a key variable that must be accurately anticipated. The implementation of effective and accurate prediction methods is vital in enhancing sales tactics and meeting client demands. In this article, we analyze the implementation of two popular forecasting methods. K-Medoids and Backpropagation, in predicting the sales of Mpx2 oil brand . The K-Medoids method is a clustering algorithm used to group data into several clusters based on similarities. This method aids in identifying different purchasing patterns among customer groups, allowing companies to tailor their sales strategies to meet the needs of each group. Additionally, we examine the implementation of the Backpropagation method, a technique commonly used in neural networks. This method enables neural networks to learn from historical sales data and generate future sales predictions. Using training and testing data, neural networks can be trained to recognize complex purchasing patterns and make more accurate sales The K-Medoids and Backpropagation methods are often used in oil sales prediction research for specific reasons that make them suitable for data analysis in this context. K-Medoids is primarily used for its data clustering capabilities . Ae. As an effective clustering technique. K-Medoids helps group similar objects into clusters. In oil sales, this is useful for identifying different patterns or market segments based on sales characteristics. Another advantage of K-Medoids is its real cluster representation. Unlike other clustering methods such as K-Means. K-Medoids uses actual data points . as cluster centers, making clustering results more interpretable and relevant for real-world applications, like in oil sales . , . On the other hand. Backpropagation is used in neural networks (Artificial Neural Networks. ANN) for its ability to model experience and knowledge . Ae. This is invaluable in forecasting oil sales trends, providing flexibility in altering forecasting rules based on historical data and market trends. This method is also particularly suited to adjustments in time-series data, crucial in oil sales predictions as sales changes often relate to time factors like seasons, economic trends, and industry policies. Moreover. Backpropagation allows for high optimization and accuracy in predictions, essential in a business context where decisions must be based on accurate and reliable forecasts . , . When both methods are used together, they can provide deep insights into oil sales patterns, aiding in better market segmentation and enabling more accurate predictions based on historical data and current trends. This analysis aims to assist the automotive repair sector enhance their MPX2 Oil sales forecasts and marketing approaches. Unlike previous studies, it fills a research gap by specifically comparing the KMedoids and Backpropagation methods for MPX2 Oil sales forecasting. Raeisi & Kabir . focused on general sales forecasting using Artificial Neural Networks (ANN), emphasizing time series data . Safar et al. explored Backpropagation for electric sales forecasting, addressing non-linear and non-stationary data challenges . Berahmana et al. investigated customer segmentation using RFM models and algorithms like K-Means. K-Medoids, and DBSCAN . The novelty of this study lies in its direct comparison of K-Medoids and backpropagation for MPX2 oil sales and its exploration of K-Medoids for customer categorization based on purchasing habits. Thus, the research question is to evaluate the effectiveness of implementing the K-Medoids and Backpropagation methods in predicting the sales of Mpx2 brand oil. Specifically, this study addresses the sales prediction challenges in the automotive workshop industry using transaction data from 2022 to 2023. The K-Medoids method is employed to identify customer purchase patterns through clustering, while Backpropagation is used to predict sales trends by enhancing accuracy through training. The results of this research are expected to provide valuable insights into the dynamics of MPX2 oil sales, enabling companies to improve marketing strategies, transaction management, and inventory strategies. Methods System Analysis The data input for this study was obtained through observations and interviews related to the sales of MPX2 Oil in stores. The data used to determine stock predictions are derived from transaction information spanning from 2022 to 2023. It is essential to note that the research context is specifically centered around MPX2 Oil Sales Forecasting, aligning with the adjusted research title for a more accurate depiction. Table 1. Sales Transaction Samples Year 2022-2023 Date Item Name Quantity Total Price 02/02/2022 02/11/2022 10/19/2022 AHM OIL MPX 2 0. AHM OIL MPX 2 0. AHM OIL MPX 2 0. 000,00 000,00 000,00 11/10/2022 01/12/2022 03/19/2022 07/04/2022 10/10/2022 11/27/2022 01/25/2023 AHM OIL MPX 2 0. AHM OIL MPX 2 0. AHM OIL MPX 2 0. AHM OIL MPX 2 0. AHM OIL MPX 2 0. AHM OIL MPX 2 0. AHM OIL MPX 2 0. 000,00 000,00 000,00 500,00 000,00 000,00 000,00 The table contains information about the date, item code, item name, type, brand, quantity, unit, and total price. From this table, data will be processed to obtain predictions for stock levels of the items. Process Overview Based on the sales data of MPX2 Oil, the prediction process in this research is carried out by processing normalized sales data using the K-Medoids and Backpropagation algorithms. Subsequently, the data resulting from the Backpropagation process will be denormalized to obtain the Mean Absolute Deviation (MAD) value. Based on this MAD value, the system will provide information to the owner regarding the sales prediction of MPX2 Oil stock. Output Data Determining the number of clusters: The first step involves performing k-medoids clustering by calculating the cluster data for the quantity of sales stock as follows: Table 2. Early literacy Literacy 1 with Early Center C Cluster 1 = C1 Cluster 2 = C2 14 12 11 Cluster 3 = C3 10 14 11 C1 is cluster 1. C2 is cluster 2. C3 is cluster 3. Calculate the distance between clusters. Calculating K-Medoids Proximity Distance, with a resulting K-Medoids proximity of 33. Solution Facilitating owners in predicting the stock of goods to be ordered next month. So that customers do not switch to other vendors when MPX2 lubricant stock is available. Based on transaction data, prediction calculations can be performed using the following equation: Prediction Calculation Formula ycUycuyceyc = 0,1 0,8 ycu ycUycuycoyccOeycUycoycnycu ycoycaycuOeycoycnycu Analysis of Device Requirements Involves main components consisting of hardware and software. For hardware requirements, the specifications include an IntelA CoreE i3-7020 CPU 2. 30GHz processor, 8 GB PC19200/2400 Mhz DDR4 SODimm RAM. Toshiba 1 TB Version MQ04ABF100 SATA HDD, and LOGITECH M187 (Wireles. As for software requirements, it includes Visual Studio Code Version 1. ser setu. OS Windows 10 Home Single Language . Version 21H1. Google Chrome Version 81 (Official Buil. Git Version 2. , and Xampp Version 3. Non-functional requirements analysis involves these aspects to ensure the smooth development and operation of the application. Specific hardware and software specifications were chosen for this system based on several important The IntelA CoreE i3-7020 CPU 2. 30GHz processor balances performance and power efficiency, suitable for applications that do not overly burden the processor. The DDR4 SODimm 8 GB PC19200/2400 Mhz RAM provides sufficient memory to run modern applications smoothly, enabling seamless multitasking. The Toshiba 1 TB Version MQ04ABF100 SATA HDD offers ample storage capacity for storing application data and the operating system, while the LOGITECH M187 (Wireles. mouse adds convenience with its wireless design. In terms of software. Visual Studio Code Version 1. 2 was selected as it is a lightweight and versatile code editor that supports multiple programming languages and extensions. The Windows 10 Home Single Language . -bi. Version 21H1 operating system is stable and widely used, ensuring compatibility with various software. Google Chrome Version 94. 81 provides fast and efficient browsing performance, which is essential for research and development. Git Version 2. 2 supports effective code version management, which is crucial in software development. Finally. Xampp Version 3 provides an easy-to-use local web development environment, allowing efficient testing of web These specifications were chosen to ensure that the system has stable, reliable, and efficient performance for application development, considering both functional and non-functional aspects of the System Design (Architectur. This process involves steps such as ordering training data, data preprocessing, clustering using the KMedoids method, generating Backpropagation values, denormalizing results, and calculating Mean Absolute Deviation (MAD) to produce prediction results. If the data has not been trained, then preprocessing with the K-Medoids method will be chosen. This entire process helps in designing an efficient stock prediction system. Figure 1. System Flowchart Furthermore, there is a database design explained in Figure 2 with the Class Diagram as follows: the process of predicting goods involves entities such as user, incoming goods, unit, supplier, and type. Figure 2. Database Server Design K-Medoids K-Medoids, also known as Partitioning Around Medoids (PAM) or K-Medians, is a clustering algorithm that serves as a modification of the K-Means technique. It is believed to overcome a significant limitation of K-Means, which is its sensitivity to outliers. In situations where an object with an extreme value might deviate significantly from the dataset's distribution, the average of each cluster does not lead to the use of a medoid. Due to severe values in the dataset, the goal is to reduce the sensitivity of the partitioning. Medoid objects are resistant to outliers because they are positioned at the center of The proximity of medoid and non-medoid objects is considered when forming clusters. The KMedoids algorithm performs better with very large datasets, similar to the K-Means algorithm. Data normalization is advised before determining distances for data with various parameters to ensure The workings of K-Medoids are as follows: Determine the number of cluster centers, k . Randomly create k initial medoids using n data points. Use Euclidean Distance to calculate the distance of objects from each selected medoid, as given by Equation . Oo. cuycn Oe ycU)2 . cycu ycU)2 . After randomly selecting a new medoid, determine the distance of objects from each chosen medoid using Euclidean Distance. Determine the shortest distance across all the new medoids. Apply Equation . to determine the total deviation (S) using the following equation: ycI=ycaAeyca . where a: the sum of the nearest distances between objects to the original medoid, and b: the sum of the nearest distances between objects to the new medoid. If S < 0, then swap the object with data to produce a new set of k medoids. Repeat steps 3-5 until no more changes in medoids occur, resulting in a number of clusters and their Backpropagation Multi-layer perceptrons typically use backpropagation, a supervised learning technique, to adjust weights connecting neurons in the hidden layers. Before the backpropagation method can utilize output errors, an initial step must be completed. The training algorithm for a backpropagation network with one hidden layer is as follows: Initialize the weights by assigning random values . mall random values from 0 to . As long as the stop condition is false, perform steps 3-9. For each training data pair . _setb, t. where b=1,A,l, perform steps 4-8. Starting the forward process, each input unit (Xi. I = 1,A, . receives an input signal xi and forwards it to the hidden layer. Each hidden unit (Zj, j= 1,A,. sums the weighted input signals: Ocycuyce=1 ycuycn ycycnyc Use the activation function to compute its output signal (Yk,k = 1,A. , . yc_ycnycuyco =ycycuyco Ocycy ycn=1 ycsycycOycyco Use the activation function to calculate its output signal: ycyco = yce. cycnycuyco ) And proceed to the backward process . Each output unit . k, k=1,. , . receives a target pattern related to the learning input pattern, calculate error information yuyco , yuyco = . cyco Oe ycyco )yce 1 . c_ycnycuyco ) . Calculate weight correction OIwjk OIycycyco = ycaycaycoycs yc . Calculate bias correction OIwok: OIycycuyco = ycaycayco And send the error information value to its lower layer. Each hidden unit sums the product of error information with Weight: yu_ycnycuyc =Ocyco yc yco=1 yuyco ycyco . Calculate error information yuyc : yuyc = yuycnycuycn yce 1 . c_ycnycuyce ) . OIycycnycn =Oy yuycn ycuyc . Calculate weight correction OIycycnycn : And bias correction OIycycuyc : OIycycuyc = ycayuyc Continue to the weight update stage. Each output unit (Yk, k = 1,. , . adjusts its weights and bias . = 0,. , . cAycey. = ycycyco . cCycoyc. OIycycyco Each hidden unit (Zj, j = 1,. , . adjusts its weights and bias . =0,. , ycycnycn. = ycycnycn . OIycycnycn Proceed to the condition test. If true, training stops. Data Normalization in K-Medoids and Backpropagation Data normalization is a crucial step in data processing before applying machine learning algorithms such as K-Medoids and Backpropagation. This process involves adjusting the scale of data values to a specific range, such as 0 to 1, or having a mean of 0 and variance of 1. The main goal is to transform data into a more easily processed format by algorithms, avoiding biases towards features with larger scales and enhancing algorithm convergence. Using K-Medoids and Backpropagation with normalized data effectively provides profound insights into customer purchasing behavior and sales trends, which are crucial for sales strategies and inventory management in the automotive industry. The contribution of data normalization to the effectiveness of K-Medoids and Backpropagation algorithms is significant. For K-Medoids, the normalization process enhances clustering accuracy by ensuring that all features contribute equally to cluster formation. This prevents features with larger ranges from dominating the clustering process, resulting in a more balanced and accurate representation of each cluster. Additionally, normalization reduces the impact of outliers, allowing medoids to represent each cluster, thus improving overall clustering quality more accurately. Meanwhile, in Backpropagation, data normalization plays a crucial role in speeding up the convergence process during training. Normalizing data prevents issues with vanishing gradients, often occurring when inputs have highly varied ranges. This enables the neural network to adjust its weights more efficiently, leading to faster and more effective learning. Moreover, normalization enhances the generalization ability of the neural network by providing data in a similar range, allowing the model to handle new inputs more effectively. Overall, data normalization significantly contributes to the effectiveness of both methods in predicting MPX2 Oil sales in the automotive workshop industry. Feedforward. Backpropagation, and MSE Calculation The implementation of the backpropagation algorithm in predicting sales includes a step-by-step explanation of the model training process, starting from output calculation, error measurement, adjustment of weights . 1, w. , and bias . , to the calculation of Mean Squared Error (MSE). These steps aim to train the model using the backpropagation algorithm to forecast oil sales. Feedforward: Formula . illustrates the feedforward step where the output is calculated based on input . 1, x. , weights . 1, w. , and bias . ycCycycycyycyc = . cu1 y yc. cu2 y yc. Formula . measures the error between the generated output and the target value . yaycycycuyc = yc Ae ycCycycycyycyc . Backpropagation: The backpropagation process updates weights . 1, w. and bias . based on the measured error. Formulas . show the changes in weights w1 and w2 based on the gradient of error with respect to the corresponding weights and input. yc1 = yc1 sensitivity (A y ycu1 sensitivity y yaycycycuy. yc1 = yc2 sensitivity (A y ycu2 sensitivity y yaycycycuy. Formula . describes the change in bias value . based on the gradient of error with respect to yca = yca ycyceycayceycoycycoycuycyca (A y yaycycycuy. Formula . shows the calculation of the new output after updating weights and bias. ycCycycycyycyc = . cu1 y yc. cu2 y yc. Iterative Training: An iterative process where the backpropagation step is repeated for each training data. Mean Squared Error (MSE) Calculation: MSE= Ocycuycn=1. cycn Oe ycycn C )2 MSE is calculated after the iterations are complete, providing an indication of how well the model can predict the target compared to actual values. MSE is calculated by summing the squared errors and dividing by the number of data points. By following these steps, the research can systematically train the model using the backpropagation algorithm to enhance accuracy in forecasting oil sales. This overall process can assist in achieving the study's goal of improving the accuracy of oil sales predictions by combining K-Medoids and Backpropagation. Results and Discussion After analyzing the system requirements, the next step is the system design, which includes the design of a Flowchart. ERD. DFD, table relationships. Context Diagram, and application interface using case tools such as Draw. Visio, and Balsamiq Wireframes. The next process is the writing of the program code, broken down into small modules that will be integrated. The author utilizes Visual Studio as the code-writing platform, taking into consideration the previous system design. Subsequently, the modules are integrated and tested to ensure compatibility with the design. The final stage is system maintenance, where errors are corrected, and additional features may be added after the system is implemented. Implementation of the Program (Developmen. The implementation of the user interface views of the application created by the researcher will be presented below: Transaction Page Figure 3. Add Transaction Form Page The page is used to add transactions when there is a purchase of goods. Once the transaction form is filled out, you can press the "Add" button, and the data will appear on the right side of the page, which is the list of sales transactions. To continue the transaction, press the "Pay" button. Then, the payment form shown in figure 4 will appear. Figure 4. Payment Form Page Transaction List Management Page In figure 5, there is a transaction list page that has been previously executed. On this page, the admin can view the details of each transaction that has been conducted by clicking the eye icon button in the "Action" column. Figure 5. Manage Transaction List page Algorithm Implementation Page Figure 6. Algorithm Implementation Page Algorithm Implementation is the page displaying the implementation of the algorithm, presenting data by week and the corresponding weekly quantity of sold items. Prediction Results Figure 7. Prediction results Figure 7 shows the prediction results, which are a crucial part of the system evaluation. On this page, there is highly relevant information regarding the performance of the implemented predictive model. The Mean Squared Error (MSE) value of 0. 01969 and Mean Absolute Deviation (MAD) value of 12200 provide an insight into how well the model can predict the sales of Mpx2 oil. MSE and MAD are commonly used evaluation metrics in forecasting contexts, where lower values indicate higher In this case, the low MSE value . indicates that the difference between predicted and actual values tends to be small. This implies that the model tends to provide accurate estimates regarding the sales of Mpx2 oil. Meanwhile, the MAD of 0. 12200 also indicates that the model has a low deviation level in predicting data, indicating high precision in performance assessment. Based on these results, it can be concluded that the implementation of the Backpropagation and K-Medoids algorithms in the store procurement system effectively produces a reliable predictive model for sales forecasting. With low MSE and MAD values, the system can provide accurate and valuable predictive information for decision-making at operational and managerial levels. Results of Feedforward. Backpropagation, and MSE Calculation This process utilizes the artificial neural network (ANN) learning method, consisting of several main steps, including feedforward, error calculation, backpropagation, and Mean Squared Error (MSE) In the feedforward phase, the network's output is calculated based on the current input and parameters, including weights . 1, w. and bias . This process is evident in the 'Output' column of the table, calculated using the formula Output = . 1 y w. 2 y w. Subsequently, error calculation is performed by subtracting the generated output from the expected value . , reflected in the 'Error' column. After that, the backpropagation step is taken. Weights and bias are adjusted based on the obtained error, as reflected in the changing values of weights and bias from epoch to epoch in the Tabel 3. The calculation results Epoch Output Error MSE Epoch Output Error MSE In the first epoch, the Mean Squared Error (MSE) value is 9. 22273, indicating a high level of error in the initial predictions. However, as the learning process progresses, there is a decrease in the MSE value 53864 in the second epoch and further decrease to 0. 88127 in the third epoch. This decline indicates an improvement in the model's accuracy in predicting Mpx2 oil sales. The process involves continuous adjustments of weights and biases based on the error gradient, calculated through the backpropagation These adjustments aim to minimize MSE, thus enhancing the model's prediction accuracy. The overall process demonstrates how the Backpropagation method, along with K-Medoids, can be effective in predicting sales, as reflected in the gradual decrease in MSE values during the training process. Evaluation Results The evaluation results obtained from various tests of system implementation and program implementation in this study indicate the successful implementation of the K-Medoids and Backpropagation algorithms in the Goods Procurement System at the store. The system has been successfully developed to provide quick information or data reports. The testing results for the goods procurement system show the following scores: Table 4. Test Results Score Feature Login Page Add Transaction Page Transaction Edit Page Transaction List Page Manage Item Data Page Edit Item Data Page Testing Scores Succeed Fail Amount Maximum Score The evaluation results of the implementation of the procurement system in the store indicate success in implementing the K-Medoids and Backpropagation algorithms. Table 3 provides an overview of the testing scores for various features within the system, indicating that each feature, such as the Login Page. Add Transaction Page. Edit Transaction Page. List Transaction Page. Manage Item Data Page, and Edit Item Data Page, all successfully achieved the maximum scores. These scores reflect excellent performance in building a responsive and functional system. Thus, the testing results confirm that the implementation of this program provides an effective and reliable solution in supporting transaction management and procurement of goods in the store, delivering information and data reports with the expected speed and accuracy. Table 5. Advanced Testing Results Score Feature Manage Supplier Data page Add Supplier Data page Edit Supplier Page Manage Unit Data Page Item Unit Data Edit Page Manage Incoming Stock Data Page Incoming Stock Data Edit Page Out of Stock Data Page Algorithm Implementation Page Testing Scores Succeed Fail Amount Maximum Score The results of the evaluation of the procurement system implementation indicate excellent achievement, with all features successfully tested and achieving maximum scores. The evaluation table includes several key features in the system, such as the supplier data management page, add supplier data page, edit supplier page, manage unit data page, edit unit data page, manage incoming stock data page, edit incoming stock data page, outgoing stock data page, and algorithm implementation page. Each feature successfully obtained a maximum score, demonstrating the success of implementing the K-Medoids and Backpropagation algorithms in the store's procurement system. This success reflects the system's ability to provide information and data reports quickly and effectively, providing crucial support for operational-level management processes and decision-making. Discussion The results of this study indicate that the approach taken to design, implement, and test the procurement system in the store, including the integration of K-Medoids and Backpropagation algorithms, has successfully achieved excellent outcomes. The system development process began with a comprehensive design phase, involving the creation of flowcharts. Entity-Relationship Diagrams (ERD). Data Flow Diagrams (DFD), table relationships. Context Diagrams, and application interfaces. Subsequently, the program implementation phase was carried out by breaking down the program code into small modules using Visual Studio, adhering to the previously designed system. The integration and testing of these modules were conducted to ensure compliance with the designed framework. terms of user interface (UI), the implementation results were demonstrated through key pages, such as the Transaction Form Addition Page. Payment Form Page. Transaction List Management Page, and Algorithm Implementation Page. The interface design created using case tools such as Draw. Visio, and Balsamiq Wireframes provided a clear and efficient visual overview for system users, covering transaction processes and algorithm visualization results. The implementation process of the K-Medoids and Backpropagation algorithms, as depicted in the calculation results, showed that the model could learn patterns from data and improve the accuracy of Mpx2 oil sales predictions. Despite initially high error rates, the backpropagation steps resulted in a gradual decrease in Mean Squared Error (MSE) values during the training process. This reduction reflects an enhancement in the model's accuracy in predicting Mpx2 oil sales, providing strong support for the effectiveness of the Backpropagation and KMedoids methods in the sales forecasting context. In the evaluation phase, test result scores affirmed the success of the system implementation, with each feature, including the Login Page. Transaction Addition Page. Transaction Edit Page. Transaction List Page. Product Data Management Page, and Product Data Edit Page, successfully achieving maximum scores. This indicates that the system is reliable and responsive in supporting the operational functions related to transactions and procurement. Further evaluation of features such as Supplier Data Management Page. Unit Data Management Page. Stock In Data Management Page, and Algorithm Implementation Page also demonstrated success in implementing the K-Medoids and Backpropagation algorithms. The findings of this study are relevant to previous research indicating the effectiveness of artificial neural network learning methods in sales prediction . Ae. In contrast to research emphasizing Backpropagation methods on non-linear and non-stationary data . , this study applies Backpropagation to forecast Mpx2 oil sales, contributing additional insights into understanding historical purchasing patterns and predicting sales trends in the future, particularly in the automotive industry context. References to previous studies, such as by Berahmana et al. , discussing customer segmentation with RFM models and K-Means. K-Medoids, and DBSCAN algorithms, provide a framework for understanding customer purchasing behavior. The strengths of this research lie in choosing the K-Medoids and Backpropagation methods over other methods for the context of inventory procurement in a store. K-medoids is selected for their superior ability to handle outliers compared to other clustering methods like K-means. This is crucial in retail sales, where purchasing patterns can be highly variable and often contain outliers. By using K-Medoids, the system can identify customer purchasing patterns more accurately, grouping them based on similar buying characteristics and enhancing the effectiveness of sales and inventory procurement strategies. On the other hand. Backpropagation, as a technique in artificial neural network learning, is chosen for its superior capability in handling complex and non-linear data commonly encountered in sales data. This method allows the model to learn patterns from historical data of Mpx2 oil sales and predict future sales trends with higher accuracy. Backpropagation also enables the system to dynamically adapt to changes in data, which is crucial in the rapidly changing retail sales environment. The combination of these two methods reflects a profound understanding of the characteristics of sales data in the automotive industry and the need for predictive tools that can handle the variability and complexity of such data. By integrating K-Medoids for customer cluster analysis and Backpropagation for sales prediction, this research successfully achieves an efficient, accurate inventory procurement system that is highly relevant to the dynamics of the current market. Thus, the results of this study have significant implications in the context of developing transaction management systems and predicting stock in the retail industry, especially for Mpx2 oil products. The integration of K-Medoids and Backpropagation algorithms in the store's procurement system has proven successful in improving sales prediction These implications reflect the potential application of artificial neural network learning methods, such as Backpropagation, in addressing sales forecasting challenges in non-linear and nonstationary environments. The system's success in achieving maximum scores across various features, including transaction management and procurement, instills confidence that this solution can be relied upon to support store operations with high efficiency and responsiveness. These implications may also serve as inspiration for the automotive industry and other sectors to adopt similar approaches in enhancing inventory management efficiency and predicting customer needs. Conclusion The results of this study indicate that the integration of K-Medoids and Backpropagation algorithms in the store's procurement system has successfully improved the accuracy of Mpx2 oil sales predictions. The designed, implemented, and evaluated system achieved excellent outcomes, with all features obtaining maximum scores in testing. Nevertheless, the limitations of this research include a restricted evaluation of data and a comparison with other potentially relevant methods in a similar context. For future research, it is recommended to conduct further experiments with a broader dataset and compare the results with alternative methods. Additionally, the study could be expanded by considering external factors that may influence sales predictions, such as changes in market trends or economic factors. References