output predict result in sample format