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

Linear Tree with Multiple Outputs #161

Open
zkilwein opened this issue Jul 10, 2024 · 1 comment
Open

Linear Tree with Multiple Outputs #161

zkilwein opened this issue Jul 10, 2024 · 1 comment

Comments

@zkilwein
Copy link

I have been experimenting with some of the linear tree formulations within OMLT. My use case is a linear tree model with 9 inputs and 12 outputs using LinearTreeGDPFormulation.

I've noticed that n_outputs is hard coded to 1 in LinearTreeDefinition. For representing multi-output models, would the only current strategy be to train each of the 12 outputs separately and create separate OMLT blocks?

@bammari
Copy link
Collaborator

bammari commented Jul 10, 2024

@zkilwein Thanks for raising this issue. Yes that is currently the only method for supporting these multioutput trees, however I am working on a rewrite of how we handle trees and ensembles in OMLT.

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