The performance of our Machine Learning model is largely based on the hyperparameter values for the model. Hence, hyperparameter tuning…