A comparative study of machine learning methods for drug type classification

Drugs, commonly called narcotics, are dangerous substances that, if consumed excessively, can result in addiction and even death. Drug abuse in Indonesia has reached a concerning stage. In 2017, the National Narcotics Agency detected 46,537 drug-related incidents, including methamphetamine, marijuana, and ecstasy. There are 4 types of substances that can affect drug users, such as hallucinogens, depressants, opioids, and stimulants. A machine learning approach can detect these substances using user symptom data as input. This study uses six different methods in classifying, including decision tree, C.45, K-nearest neighbor (KNN), random forest, and support vector machine (SVM). The dataset comprises 144 data and 21 attributes based on the user's symptoms. The evaluation method in this study uses cross-validation with K-fold values of 5 and 10 and uses three parameters: precision, recall, and accuracy. KNN yields the most optimal results by using K=1 and K-fold 10 in the Euclidean and Minkowski types. The model achieves precision, recall, and accuracy of 91.9%, 91.7%, and 91.67%, respectively.

Authors

Institutions

Publication Details

Journal
Bulletin of Electrical Engineering and Informatics
Published
2025-08-01
DOI
https://doi.org/10.11591/eei.v14i4.9477
Primary Topic
Artificial Intelligence in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A comparative study of machine learning methods for drug type classification

Anindita Septiarini, Novianti Puspitasari, Saipul Saipul, Andi Tejawati et al.
Bulletin of Electrical Engineering and Informatics
Artificial Intelligence in Healthcare
article

A comparative study of machine learning methods for drug type classification

Anindita Septiarini, Novianti Puspitasari, Saipul Saipul, Andi Tejawati, Aji Ery Burhandenny, Didit Suprihanto
article en

Abstract

Drugs, commonly called narcotics, are dangerous substances that, if consumed excessively, can result in addiction and even death. Drug abuse in Indonesia has reached a concerning stage. In 2017, the National Narcotics Agency detected 46,537 drug-related incidents, including methamphetamine, marijuana, and ecstasy. There are 4 types of substances that can affect drug users, such as hallucinogens, depressants, opioids, and stimulants. A machine learning approach can detect these substances using user symptom data as input. This study uses six different methods in classifying, including decision tree, C.45, K-nearest neighbor (KNN), random forest, and support vector machine (SVM). The dataset comprises 144 data and 21 attributes based on the user's symptoms. The evaluation method in this study uses cross-validation with K-fold values of 5 and 10 and uses three parameters: precision, recall, and accuracy. KNN yields the most optimal results by using K=1 and K-fold 10 in the Euclidean and Minkowski types. The model achieves precision, recall, and accuracy of 91.9%, 91.7%, and 91.67%, respectively.

Bulletin of Electrical Engineering and InformaticsVol. 14(4)
Yogyakarta State University (ID), Mulawarman University (ID)
Openalex Percentile: Top 77%
Artificial Intelligence in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.