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

Custom objective for multi-output regression with multi_strategy=multi_output_tree #10060

Closed
sergun opened this issue Feb 21, 2024 · 3 comments
Closed

Comments

@sergun
Copy link

sergun commented Feb 21, 2024

How does custom objective work for multi-output regression with multi_strategy=multi_output_tree?

Custom loss function is calculated on each output separately and then summed up?

Or is it called once, so it is possible e.g. to define loss function as weighted sum of losses applied to each output?

@trivialfis
Copy link
Member

Hi, the multi_output_tree is working in progress, we don't recommend using a custom objective with it since we haven't done extensive tests yet.

@trivialfis
Copy link
Member

Closing in favor of #9043

@RawabiAlwanin
Copy link

how gradients are combined in multi-target models using built in objectives like reg:squarederror? are they summed up? and
in which file can find this gradients combination?

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

3 participants