inference methods