Added validation function for setting weights in response time predictors