This research presents a comparative analysis of machine learning algorithms for human activity recognition (HAR) based on smartwatches using accelerometer sensor data. The main objective of this research is to evaluate and optimise the classification performance of Kernel Support Vector Machine (SVM), Random Forest (RF), and K-Nearest Neighbors(KNN) within an integrated experimental framework. Raw motion data is processed using Fast Fourier Transform (FFT) and statistical feature extraction such as Root Mean Square (RMS) and Signal Magnitude Area (SMA), followed by dimensionality reduction through Principal Component Analysis (PCA). Hyperparameter optimisation was performed using RandomizedSearchCV to ensure a fair comparison of models. The dataset from Kaggle, which includes six daily activities, was used for this test. The experimental results show that Kernel SVM achieved the highest accuracy of 98.69%, outperforming KNN (97.72%) and Random Forest (97.28%). These findings demonstrate that kernel-based methods are highly effective in capturing nonlinear relationships in motion signals, resulting in superior generalisation performance. This study highlights the critical role of feature engineering and hyperparameter tuning in enhancing model robustness. These results provide valuable insights for the development of lightweight and accurate smart sensor technology for health monitoring applications and smart home automation systems.