anjishnu edited a comment on issue #17298: [MXNET-1438] Adding SDML loss 
function
URL: https://github.com/apache/incubator-mxnet/pull/17298#issuecomment-574802286
 
 
   @haojin2 if I randomized the input data in the original test code the losses 
would would have different values during each run (SDML loss imposes a 
distribution over the relative distances of data points in a minibatch) - so I 
would not be able to compare the output against precomputed loss values any 
more - thus the original unit test procedure cannot be reused.
   
   That's why I added a test that fits a toy model to some toy data instead. 
The current test was running in ~50 ms on my machine on CPU. Would love to hear 
your thoughts on how to improve on this.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to