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/10/28 17:26:14 UTC
[GitHub] eric-haibin-lin commented on issue #8442: some questions about sparse lr examples
eric-haibin-lin commented on issue #8442: some questions about sparse lr examples
URL: https://github.com/apache/incubator-mxnet/issues/8442#issuecomment-340206845
It's just that the `NegativeLogLikelihood` metric requires the prediction results are of shape (num_sample, 2) for 2-class classification. If you use `MSE ` as the metric, you won't see that err message.
Another way is register your own metric which calculates based on pred of shape (num_sample,1) and label (num_sample, 1)
----------------------------------------------------------------
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