What is the main purpose of cross-validation in machine learning?
a) To divide the dataset into training and testing sets
b) To compare the performance of different machine learning algorithms
c) To estimate the model’s performance on unseen data
d) To improve the generalization of the model