Skip to content

imbalanced multi-label dataset #740

Answered by oguiza
georgemossad asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can use weights in 2 ways:

  • Pass class weights to the loss function
  • Pass a weight by sample when building the dls. the parameter is called weights. You can calculate weights any way you want.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@georgemossad
Comment options

@oguiza
Comment options

Answer selected by georgemossad
@georgemossad
Comment options

Comment options

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