結果 : different cost functions in machine learning