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

Last Date: 15th March 2024

Call For Paper

Volume 10 Issue 10

Last Date for paper submitting for March Issue is 25 June 2024

About Us

IJIRT.org enables door in research by providing high quality research articles in open access market.

Send us any query related to your research on editor@ijirt.org

Social Media

Google Verified Reviews