Predicting outcome of sample inputs