changed warnings in grid_search.py related to loss_func and score_func being passed