adding warning if passing class_weight through fit