Stroke is a leading cause of disability and death worldwide, making accurate early diagnosis essential to reduce long-term impacts. This study aims to implement K-Nearest Neighbors (KNN) for Stroke diagnosis Classification and to optimize the value of K using Particle Swarm Optimization (PSO). The dataset was obtained from Kaggle, consisting of 5,110 entries and 12 demographic and clinical feat…