Adding validity check to predictive models.
Fully converting required parameters into validity check.