lesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth fasterlesson 1 of 5 · the confusion matrix tells the truth faster
Write confusion(y_true, y_pred) returning the dict {"tp": ..., "fp": ..., "fn": ..., "tn": ...}. Print the dict for the 10-row eval, then the accuracy derived from its boxes (:.0%).