Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Loss Function - Is the loss function 1 or 0?

Answer

Either zero or one is assigned to the loss function, which is also called the 0-1 loss. Predictions with a value of 0 are accurate, while those with a value of 1 are inaccurate. The number of mistakes made on the training set may be found by adding up all of the instances in the function.