Skip to content

problems if classes are more than six #4

Closed
@johnrobertus

Description

@johnrobertus

I am using: Multiclass_classification.ipynb
I have seen there is a output_classes = 4 which means you have four classes.

Now i want to use this Code for 10 classes. So I changed output_classes = 10. And I got this error:
ValueError: Only one class present in y_true. ROC AUC score is not defined in that case.

However, I tried this code with six classes (output_classes = 6) and it works fine. What should I change for more than six classes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions