Classification report classes display

Report a typo

Complete the solution() function which receives two lists: true and predicted labels. The function should print the classification report for these labels. The report should display classes as ['ApPlE', 'BaNaNa', 'OrAnGe', 'PeAr'].

Write a program in Python 3.10
def solution(true_labels, predicted_labels):
pass

Create a free account to access the full topic