Based on your description it seems you are working on a multi-label classification use case.
Weighting these samples is not straightforward (as e.g. in the multi-class classification) and some approaches are described in this post.
1 Like