LossFunction.md (470B)
1 # Loss Function 2 3 Ch 1 4 5 **Definition:** A loss function is a function from E -> R where E is the set of all events (outcomes) and R is the set of all real numbers where the function describes how bad a given event E is. 6 7 When I say 'event' this is in the most general of senses. In the case of RL this could simply be a state and in supervised learning this could be a prediction based on a sample. 8 9 When defining a loss function, we are stipulating how bad a result is.