Skip to content

Multi-target regression - one model or multiple submodels #173

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

Closed
krzjoa opened this issue Apr 2, 2023 · 1 comment
Closed

Multi-target regression - one model or multiple submodels #173

krzjoa opened this issue Apr 2, 2023 · 1 comment

Comments

@krzjoa
Copy link

krzjoa commented Apr 2, 2023

Hi,

I have a question regarding the multi-target regression tasks. I know how to do that with TFDF (passing a list of MultiTaskItem(label=target_column, task=tfdf.keras.Task.REGRESSION) objects), but I'm curious, how it's implemented.

Does YDF create a separate submodel for each target variable or use one model to predict all the target variables simultaneously?

@rstz
Copy link
Collaborator

rstz commented Apr 3, 2023

Hi,

This is a part of the library that's under active development, so the answer might change soon. The last release of TF-DF still has independent models for each objective. However, a recent commit to YDF allowed Multi-task learning where the output of models trained as secondary are used as input for the "primary" model. This (and possibly more) changes to Multi-task models will land withe next TF-DF version.

@rstz rstz closed this as completed Apr 3, 2023
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

No branches or pull requests

2 participants