Associated Cost Function In Machine