Objective function types: A machine learning guide