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 2018/05/10 21:55:59 UTC
[GitHub] jeremiedb commented on issue #10739: [MXNet-R] package crashes
using mx.metric.logloss
jeremiedb commented on issue #10739: [MXNet-R] package crashes using mx.metric.logloss
URL: https://github.com/apache/incubator-mxnet/issues/10739#issuecomment-388198275
I think the issue was raised from changing the metric calculation to NDArrays instead than on the conversion to R arrays as it can be beneficial in certain circumstances to keep the eval metric calculation on the device.
You can look for instance at this logloss definition:
https://github.com/apache/incubator-mxnet/blob/master/R-package/R/metric.R#L96
If need to perform calculation on R arrays, then you would need to apply the conversion within the metric function, for example `label <- as.array(label)`
----------------------------------------------------------------
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