Perform model selection with hyperparameter tuning