Data Mining with R: An Applied Study

  • Burcu Durmuş Rectorate Unit, Mugla Sitki Kocman University
  • Öznur İşçi Güneri Department of Statistics, Mugla Sitki Kocman University


Purpose – The aim of this study is to analyze different classification algorithms with R programming and to determine the accuracy rates. It also encourages the use of the R program by giving readers the opportunity to experiment.
Method – For the purposes mentioned above, different data sets were obtained from the UC Irvine Machine Learning Repository (2019), which was suitable for classification. After preparing data set and R program for data mining, performance evaluation was made with classification algorithms (J48, Random Forest, Naïve Bayes). The 'accuracy' criterion was taken into consideration when interpreting the results.
Results – At the end of the study, the accuracy rates were determined for three data sets. Looking at the "wine" data, the performance of all three algorithms is quite successful. The results of the other two data sets (lenses and liver) are parallel. Only the ‘liver’ dataset gave a slightly lower accuracy than expected with the Naïve Bayes algorithm (0.55).
Conclusion – In this study, performance comparison of algorithms has been made within the scope of data mining with R program. The accuracy rate was taken as a criterion. All codes are given with their outputs in order to be an example especially for young researchers or students. It is thought that this study can be a source for other researchers, will encourage the use of R and the researchers or students will try new papers by trying the codes.
Recommendations – In subsequent studies, a similar study can be done by developing the given codes. Or how to make classification analysis in R with different algorithms can be examined.

Author Biography

Burcu Durmuş, Rectorate Unit, Mugla Sitki Kocman University

The author is also affiliated with Department of Statistics, Mugla Sitki Kocman University.

How to Cite
DURMUŞ, Burcu; GÜNERI, Öznur İşçi. Data Mining with R: An Applied Study. International Journal of Computing Sciences Research, [S.l.], v. 3, n. 3, p. 201-216, dec. 2019. ISSN 2546-115X. Available at: <//>. Date accessed: 29 oct. 2021.