You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/03/10 20:44:11 UTC

[GitHub] [incubator-mxnet] bricksdont commented on issue #7375: Can I set instance weight when training?

bricksdont commented on issue #7375: Can I set instance weight when training?
URL: https://github.com/apache/incubator-mxnet/issues/7375#issuecomment-597305088
 
 
   Same problem here. I am looking for a drop-in replacement for `mx.sym.SoftmaxOutput` that somehow allows weighting examples in a batch individually. Something like
   
   ```python
    mx.sym.WeightedSoftmaxOutput(data=logits,
               label=labels,
               weights=weights,
               ignore_label=ignore_label,
               use_ignore=True,
               normalization=normalization,
               smooth_alpha=smooth_alpha,
               name=name)
   ```
   
   @thirdwing Why did you tag this issue with `R`?
   
   @piyushghai the example given by VGalata is not exactly what the issue is about, namely instance weights instead of class weights.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services