Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving the multiple response documentation in CSVLoader #306

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

Craigacp
Copy link
Member

Description

Adds more javadoc for the explicit behaviour of CSVLoader in multi-output datasets. Fixes a small bug in the toString method of MockMultiOutput and MultiLabel which caused poorly formatted strings when the label set was empty. Also adds an extra test for the multioutput behaviour of CSVLoader to ensure it matches the documentation.

It may be worth adding a similar documentation note to FieldResponseProcessor as that actually does the processing.

Motivation

CSVLoader is poorly documented when processing multiple output columns. Fixes #301.

…test for the documented behaviour and fixing a small toString bug in MockMultiOutput and MultiLabel.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 10, 2022
Copy link
Member

@JackSullivan JackSullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@Craigacp Craigacp merged commit d11f2ba into main Dec 14, 2022
@Craigacp Craigacp deleted the multilabel-csv branch December 14, 2022 15:38
Craigacp added a commit that referenced this pull request Dec 16, 2022
…test for the documented behaviour and fixing a small toString bug in MockMultiOutput and MultiLabel. (#306)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document how to load Multi-Label Classification data from CSV
2 participants