A Comparative Study of Random Forest & K Nearest Neighbors on HAR dataset Using Caret
Author(s):
Kella BhanuJyothi, K HimaBindu, D. Suryanarayana
Keywords:
Classifier, rf, ParRF, knn, Accuracy, HAR Dataset, caret package
Abstract
In this paper, we have compared the accuracy results of the Classification models Random Forest Algorithm and K β Nearest Neighbors on UCI HAR (Human Activity Recognition) dataset and selecting the best classifier among the models to test the dataset. The best classifier is choosing by accuracy of the model. The classifiers for the dataset are built from the methods βrfβ, βparRFβ and βknnβ by using Caret package in R. The classifier is used to build on the data which have high quality. If, the data contains incorrect and noise information then the accuracy we will receive is reduced. So, before preparing the classifier the dataset should be preprocessed to get exact accuracy. From the three methods, we found that the method βrfβ have high accuracy 93.13% on the trained modelHence, which is considered as a best classifier and applied the method βrfβ on the test data of HAR dataset.
Article Details
Unique Paper ID: 144228
Publication Volume & Issue: Volume 3, Issue 9
Page(s): 6 - 9
Article Preview & Download
Share This Article
Join our RMS
Conference Alert
NCSEM 2024
National Conference on Sustainable Engineering and Management - 2024