Computer scienceData scienceInstrumentsScikit-learnModel evaluation with scikit-learn

sklearn.metrics.classification_report()

Change classes names

Report a typo

The output of the classifier is classes 0, 1, 2, 3. How to change the names of these classes to 'class_1', 'class_2', 'class_3', 'class_4' in the classification_report() ?

Select one option from the list
___

Create a free account to access the full topic