Implemented RandomizedSearchCV to optimize parameters