minor correction to print predicted value