predict using three methods in the caret package