h2o-3 icon indicating copy to clipboard operation
h2o-3 copied to clipboard

Provide a better error message when limit on number of classes is reached in Confusion Matrix

Open exalate-issue-sync[bot] opened this issue 1 year ago • 3 comments

For classification problems with > 1000 classes, the model building will fail in metric calculation phase because Confusion Matrix has a limit on a maximum number of classes. An error will be shown to the user.

We should:

  1. Improve the error to inform the user the limit can be increased by a system property.
  2. Consider not calculation the metric and continue training (if possible).
  3. Show the error much earlier.

exalate-issue-sync[bot] avatar May 15 '23 22:05 exalate-issue-sync[bot]

Erin LeDell commented: [~accountid:557058:04659f86-fbfe-4d01-90c9-146c34df6ee6] Should we just remove this limit and not calculate/print the confusion matrix for >1000 classes by default? That would mean there is no limit on the # of classes for any algo (though there might be a hardcoded class limit in tree algos, but I'd have to check on that).

exalate-issue-sync[bot] avatar May 15 '23 22:05 exalate-issue-sync[bot]

Erin LeDell commented: [~accountid:557058:04659f86-fbfe-4d01-90c9-146c34df6ee6] Should we just remove this limit and not calculate/print the confusion matrix for >1000 classes by default? That would mean there is no limit on the # of classes for any algo (though there might be a hardcoded class limit in tree algos, but I'd have to check on that).

exalate-issue-sync[bot] avatar May 16 '23 07:05 exalate-issue-sync[bot]

JIRA Issue Migration Info

Jira Issue: PUBDEV-6118 Assignee: New H2O Bugs Reporter: Michal Kurka State: Open Fix Version: N/A Attachments: Available (Count: 1) Development PRs: N/A

Attachments From Jira

Attachment Name: Screen Shot 2018-12-10 at 11.22.08 AM.png Attached By: Michal Kurka File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-6118/Screen Shot 2018-12-10 at 11.22.08 AM.png

hasithjp avatar May 22 '23 14:05 hasithjp