結果 : average cost function from cost function