predict_inputs function

An S4 method to predict inputs.