Stroke is a cardiovascular (CVD) disease caused by the failure of brain cells to get oxygen supply to pose a risk of ischemic damage and result in death. This Disease can detect based on the similarity of symptoms experienced by the sufferer so that early steps can be taking with appropriate counseling and treatment. Stroke detecting requires a machine learning method. In this research, the author used one of the supervised learning classification methods, namely K-Nearest Neighbor (K-NN). K-NN is a classification method based on calculating the distance to training data. This research compares the Euclidean, Minkowski, Manhattan, Chebyshev distance models to obtain optimal results. The distance models have been tested using the stroke dataset sourced from the Kaggle repository. Based on the test results, the Chebyshev model has the highest levels of accuracy compared to the other three distance models with an average accuracy value of 95.49%, the highest accuracy of 96.03%, at K = 10. The Euclidean and Minkowski distance models have the same level of accuracy at each K value with an average accuracy value of 95.45%, the highest accuracy of 95.93% at K = 10. Meanwhile, Manhattan has the lowest average compared to the other distance models, which is 95.42% but has the highest accuracy of 96.03% at the value of K = 6
[1]
Perbandingan penghitungan jarak pada k-nearest neighbour dalam klasifikasi data tekstual
,
2020
.
[2]
Rob Stocker,et al.
Applying k-Nearest Neighbour in Diagnosing Heart Disease Patients
,
2012
.
[3]
I. Masic,et al.
Cardiovascular Diseases (CVDs) in COVID-19 Pandemic Era
,
2020,
Materia socio-medica.
[4]
Chih-Fong Tsai,et al.
The distance function effect on k-nearest neighbor classification for medical datasets
,
2016,
SpringerPlus.
[5]
Application of Chebyshev Distance and Minkowski Distance to CBIR Using Color Histogram
,
2016
.
[6]
Punam Mulak,et al.
Analysis of Distance Measures Using K-Nearest Neighbor Algorithm on KDD Dataset
,
2015
.
[7]
Ida Ayu Ari Angreni,et al.
PENGARUH NILAI K PADA METODE K-NEAREST NEIGHBOR (KNN) TERHADAP TINGKAT AKURASI IDENTIFIKASI KERUSAKAN JALAN
,
2019,
Rekayasa Sipil.
[8]
Andi Maulida Argina.
Penerapan Metode Klasifikasi K-Nearest Neigbor pada Dataset Penderita Penyakit Diabetes
,
2020
.