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

Add support for specifying the loss used in random forests and AdaBoost model #217

Open
ablaom opened this issue Feb 12, 2023 · 4 comments

Comments

@ablaom
Copy link
Member

ablaom commented Feb 12, 2023

As far as I can tell, the loss parameter is only exposed for single trees. I think this would be pretty easy to add to the ensemble models.

Issue raised at #211.

@fipelle
Copy link

fipelle commented Mar 27, 2023

Also, it seems that loss is only available for classification trees - not regression trees.

Is it possible to repurpose the existing code for classification trees to run regression tasks? It would be convenient both for

  • regression tasks with one target and a custom loss, and

  • multi-target problems (the current implementation for regression trees does not allow for features that are not Float64 - i.e., single targets).

@ablaom
Copy link
Member Author

ablaom commented Mar 27, 2023

multi-target problems (the current implementation for regression trees does not allow for features that are not Float64 - i.e., single targets).

Do you mean features here or, rather, labels (aka target)?

@fipelle
Copy link

fipelle commented Mar 27, 2023

labels as in this example

@ablaom
Copy link
Member Author

ablaom commented Mar 29, 2023

Right. Your interesting question is a little orthogonal to initial post, so addressing it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants