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

Write sqeeze step -> ensemble step #147

Open
kordc opened this issue Nov 7, 2023 · 9 comments
Open

Write sqeeze step -> ensemble step #147

kordc opened this issue Nov 7, 2023 · 9 comments
Assignees
Labels

Comments

@kordc
Copy link
Collaborator

kordc commented Nov 7, 2023

No description provided.

@mmaecki mmaecki assigned mmaecki and unassigned mmaecki Nov 8, 2023
@kordc
Copy link
Collaborator Author

kordc commented Nov 19, 2023

I'd focus there on the 2 steps he tells us about:

  • ensembles
  • leave it training -> but this one may be relevant.

So maybe instead of the squeeze, we should enable ensemble DL training?

@kordc
Copy link
Collaborator Author

kordc commented Nov 22, 2023

We agreed on making just ensemble step

@kordc kordc changed the title Write sqeeze step Write sqeeze step -> ensemble step Nov 22, 2023
@kordc kordc added the v0.3 label Nov 22, 2023
@kordc kordc self-assigned this Nov 22, 2023
@kordc
Copy link
Collaborator Author

kordc commented Nov 25, 2023

Deep learning ensembles' training is a huge topic. I found a nice package Ensembles-PyTorch. They provide a wide selection of already implemented ensemble types. I'll play around with this library using our ArtModule

@SebChw
Copy link
Owner

SebChw commented Nov 25, 2023

Nice, if we won't need to write it by ourselves it would be great.

@kordc
Copy link
Collaborator Author

kordc commented Nov 25, 2023

It supports only classification and regression. Even multi-label classification is not supported.

I think doing this step a task-agnostic is simply not possible. I see three options:

  • Do separate steps for classification, regression, multi-label classification etc.
  • Do one step, that will create a very simple ensemble basing on voting, especially using torch.mean(). This could be calculated by for at least regression, and both types of classification. For other it's simply not that simple
  • Do a template step as we do with DataAnalisys

@trebacz626
Copy link
Collaborator

I think weighted mean might be good enough

@trebacz626
Copy link
Collaborator

user can specify weights

@mmaecki
Copy link
Collaborator

mmaecki commented Nov 25, 2023

Same as @trebacz626 suggests. Any more sophisticated ensembles can be done by the user.

@SebChw
Copy link
Owner

SebChw commented Nov 26, 2023

Actually, most tasks are classification or regression. If we can utilize this library quickly/easily lets use it, even though it doesn't support everything. If user wants something more sophisticated they must implement it by themselves.

@kordc kordc mentioned this issue Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants