Skip to content

Applicability of Avalanche library to regression problem? #867

Answered by AndreaCossu
highclef asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @highclef ! Yes, you can use Avalanche for regression. The MSELoss you are passing is used as loss during the strategy execution, so it should work fine: the BaseStrategy does not override your loss with CrossEntropyLoss.

Currently, the default logger used by the strategy returns the loss and the accuracy. In your case, you can either discard the accuracy values (since they are not meaningful for your problem) or, better, feed to the strategy your custom EvaluationPlugin instance with the metrics you want (take a look at this tutorial if you are not sure how to do this).

Hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by highclef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants