Skip to content

Add target-specific class distribution reporting - #1772

Open
venkatasaibhavanay wants to merge 1 commit into
openml:mainfrom
venkatasaibhavanay:feature/dataset-class-distribution
Open

venkatasaibhavanay wants to merge 1 commit into
openml:mainfrom
venkatasaibhavanay:feature/dataset-class-distribution

Conversation

@venkatasaibhavanay

Copy link
Copy Markdown

Add OpenMLDataset.get_class_distribution for observed nominal labels, with counts, proportions, target validation and optional missing labels. Reuse existing data loading without introducing dependencies.

Cover edge cases and local ARFF/cache loading with offline tests, and include a runnable example in the dataset guide.

Related to #1770

Metadata

  • Reference Issue:
  • New Tests Added:
  • Documentation Updated:
  • Change Log Entry:

Details

Add OpenMLDataset.get_class_distribution for observed nominal labels,
with counts, proportions, target validation and optional missing labels.
Reuse existing data loading without introducing dependencies.

Cover edge cases and local ARFF/cache loading with offline tests, and
include a runnable example in the dataset guide.

Related to openml#1770

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant