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 2017/12/01 14:36:34 UTC

[GitHub] VGalata commented on issue #7375: Can I set instance weight when training?

VGalata commented on issue #7375: Can I set instance weight when training?
URL: https://github.com/apache/incubator-mxnet/issues/7375#issuecomment-348510309
 
 
   I am also interested in how I can weight the samples. I have a binary classification problem and I wanted to give the samples or classes different weights. Is there not other way than using a custom loss function? 
   
   Unfortunately, the [tutorial for the custom loss function](https://mxnet.incubator.apache.org/tutorials/r/CustomLossFunction.html) is not sufficient to see how to use this function in a different setup. Is there a way to fully replace `mx.symbol.<...>Output` without the need of additional steps afterwards to get the prediction? I would like to get model performance during training on a validation data set. Thus, I need the predictions during training and I do not know how to get them if I use `MakeLoss`.
   
   Any help is highly appreciated!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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