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

Added support for multioutputs to ResponseProcesser, with tests. #150

Merged
merged 7 commits into from
Jul 15, 2021

Conversation

JackSullivan
Copy link
Member

Description

Changes ResponseProcessors to process response inputs for multiple fields, supporting things like multilabel or multiclass classification.

Motivation

This is a new feature that extends the generality of the org.tribuo.data.columnar system, but the direct motivation is to allow CSVLoader to become a special case of CSVDataSource, by supporting all of the features of CSVLoader within ColumnarDataSource.

This should allow us to convert CSVLoader to use CSVDataSource as its
backend, increasing consistency and simplicity.
…rocessor` if response fields were missing from the input rows.
@Craigacp Craigacp added the Oracle employee This PR is from an Oracle employee label Jul 13, 2021
Copy link
Member

@Craigacp Craigacp left a comment

Choose a reason for hiding this comment

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

Bunch of small things and a couple of correctness issues.

@JackSullivan
Copy link
Member Author

I believe I've addressed all the changes requested with this commit, let me know if I missed something.

Copy link
Member

@Craigacp Craigacp left a comment

Choose a reason for hiding this comment

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

I think the quartile one needs another look to make sure the behaviour hasn't changed, but otherwise it's pretty close.

Copy link
Member

@Craigacp Craigacp left a comment

Choose a reason for hiding this comment

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

LGTM.

@Craigacp Craigacp merged commit c20627b into main Jul 15, 2021
@Craigacp Craigacp deleted the rowprocessor-multivalue-outputs branch July 15, 2021 01:00
@Craigacp Craigacp mentioned this pull request Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oracle employee This PR is from an Oracle employee
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants