Skip to content
Discussion options

You must be logged in to vote

I can't remember why, but here's an explanation from the official implementation of MMD:

"The value of the mmd loss could be negative since we used the linear-time unbiased estimate of the mmd, which lends us an O(n) time cost but may cause negative mmd values for some mini-batch. This negative mmd value however will not influence the final classification performance."

Link: https://github.com/thuml/DAN/blob/master/README.md

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lyfeng001
Comment options

Answer selected by lyfeng001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants