Keywords

Machine Learning, K-Nearest Neighbor, Precision, Recall, Naive Bayes.

Abstract

This paper discusses the use of machine learning algorithms in classifying the MNIST handwritten dataset. The MNIST dataset consists of 28x28 grayscale handwritten images with 10 classes from 0 to 9. The dataset was normalized by scaling the pixel values to a range between 0 and 1 by dividing each pixel value by 255. We compare and evaluate the K-nearest Neighbor and Naive Bayes algorithm based on performance metrics such as accuracy, error rate, f1-score, and precision. The K-nearest Neighbor algorithm achieved better performance in all the evaluation criteria.

Course Name

STA 6366 Data Science 1

Instructor Name

Dr Rui Xie

College

College of Sciences

Included in

Data Science Commons

Share

COinS
 

Accessibility Statement

This item was created or digitized prior to April 24, 2027, or is a reproduction of legacy media created before that date. It is preserved in its original, unmodified state specifically for research, reference, or historical recordkeeping. In accordance with the ADA Title II Final Rule, the University Libraries provides accessible versions of archival materials upon request. To request an accommodation for this item, please submit an accessibility request form.