Question: Call the log_loss() function; the first argument should be y_test and the second argument should be probability_predictions. Assign the result to variable l_loss. Recall that
Call the log_loss() function; the first argument should be y_test and the second argument should be probability_predictions. Assign the result to variable l_loss. Recall that loss indicates how close the prediction probability is to the actual class label. The closer the probability is to the label (for example, a probability of 0.9 that the label is of class "False" when the actual class label is indeed "False"), the lower the loss
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
