Penerapan Algoritma C4.5 Untuk Mengatur Persediaan Stok Barang Berbasis Website
Application of C4.5 Algorithm to Manage Website-Based Stock Inventory
Pandemi Corona Virus Disease (COVID-19) masih terjadi di Indonesia. Pencegahan COVID-19 yang dilakukan oleh pemerintah yaitu menerapkan peraturan Pembatasan Sosial Berskala Besar (PSBB) dan Pemberlakuan Pembatasan Kegiatan Masyarakat (PPKM). Usaha Mikro, Kecil, dan Menengah (UMKM) adalah salah satu dampak dari diterapkan peraturan PSBB dan PPKM. Masalah yang terjadi pada UMKM yaitu mendapatkan masalah dalam menentukan stok persediaan barang, yang mana apabila barang mengalami kelebihan atau kekurangan akan menyebabkan kerugian. Dengan masalah yang terjadi pada UMKM, peneliti akan membantu UMKM dalam menentukan persediaan stok barang. Permasalahan tersebut dapat diatasi menggunakan data mining dengan klasifikasi algoritma C4.5. Algoritma C4,5 merupakan metode dengan mengklasifikasi data yang ada sehingga membentuk pohon keputusan. Pohon keputusan akan membantu menentukan persediaan stok barang yang perlu untuk ditambah atau tidak. Pada penelitian ini yaitu membantu UMKM penjual madu yang berjualan pada toko online untuk menentukan persediaan stok madu pada bulan berikutnya. Hasil dari penelitian dengan menggunakan algoritma C4.5 yaitu membentuk pohon keputusan yang dapat membantu UMKM dalam menentukan persediaan stok barang untuk satu bulan berikutnya. Algoritma C4.5 pada penelitian ini mempunyai accuracy sebesar 86.46%, precision sebesar 88,51%, recall sebesar 96,25%, dan F1 sebesar 92,22%.
The Corona Virus Disease (COVID-19) pandemic is still happening in Indonesia. Prevention of COVID-19 carried out by the government is implementing the regulations of Large-Scale Social Restrictions (LSCR) and the Enforcement of Restrictions on Community Activities (ERCA). Micro, Small and Medium Enterprises (MSMEs) are one of the impacts of the implementation of the LSCR and ERCA regulations. The problem that occurs in MSMEs is that they have problems in determining the stock of goods, which if the goods experience excess or shortage will cause losses. With the problems that occur in MSMEs, researchers will help MSMEs in determining the stock of goods. These problems can be overcome using data mining with the classification algorithm C4.5. The C4.5 algorithm is a method by classifying existing data to form a decision tree. The decision tree will help determine the stock of goods that need to be added or not. In this study, it is helping SMEs selling honey who sell at online to determine the supply of honey stock in the following month. The results of the research using the C4.5 algorithm are forming a decision tree that can help MSMEs in determining the stock of goods for the next month. The C4.5 algorithm in this study has accuracy of 86.46%, precision of 88.51%, recall of 96.25%, and F1 of 92.22%.