k-nearest neighbor modelling of agarwood oil samples available in capital of Malaysia market

Agarwood oil is consumed during traditional ceremonies and even in medicinal purposes due to its effective therapeutic characteristic. As a part of ongoing research on agarwood oil, this paper presented a k-nearest neighbor (k-NN) modelling of agarwood oil samples available in the capital of Malaysi...

Full description

Bibliographic Details
Published in:International Journal of Electrical and Computer Engineering
Main Author: Abd Latib E.H.; Ismail N.; Tajuddin S.N.; Jamil J.; Mohd Yusoff Z.
Format: Article
Language:English
Published: Institute of Advanced Engineering and Science 2022
Online Access:https://www.scopus.com/inward/record.uri?eid=2-s2.0-85126441575&doi=10.11591%2fijece.v12i3.pp3158-3165&partnerID=40&md5=085be99fc093d72da4e9a0f021c5602f
Description
Summary:Agarwood oil is consumed during traditional ceremonies and even in medicinal purposes due to its effective therapeutic characteristic. As a part of ongoing research on agarwood oil, this paper presented a k-nearest neighbor (k-NN) modelling of agarwood oil samples available in the capital of Malaysia market. The work involved agarwood oil samples from three sources which are lab, local manufacturer and market. The inputs are the chemical compounds and the output is the oil's resources. The input-output was divided into training and testing dataset with the ratio of 80% to 20%, respectively, before they were fed to the k-NN for model development as well as model validation. During the model development, the k-value was varied from 1 to 5, and their accuracy was observed. The result showed that the k=1 and k=2 shared the similar accuracy for training and testing datasets, which are 98.63% and 100.00%, respectively. This study revealed the capabilities of the k-NN model in classifying the agarwood oil samples to the three sources: lab, local manufacturer and market. It was a significant study and contributed to further work especially those related to agarwood oil research area. © 2022 Institute of Advanced Engineering and Science. All rights reserved.
ISSN:20888708
DOI:10.11591/ijece.v12i3.pp3158-3165