add predict output array in evaluate function