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() ?
sklearn.metrics.classification_report()
Change classes names
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.