Process inputs and make predictions