Classification of objects using k-Nearest Neighbors algorithm and k-fold cross-validation