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%).
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%).