Task: Sentence Expansion
Input (English): In mathematics a loss function or cost function is a mathematical function that maps an event , or the values of one or more variables onto a real number .
Output (English): In mathematical optimization and decision theory , a loss function or cost function is a function that maps an event or values of one or more variables onto a real number intuitively representing some " cost " associated with the event .