-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is the JSD calculated in the final paper? #5
Comments
Hi @Justin-Tan, The simplest computation is here: Lines 600 to 617 in 0ef7e34
Basically we first get the We take the average |
Thanks for the response! That makes sense, I didn't realize the |
By the way, did you find the metric sensitive to the choice of binning at all? |
Hi authors,
How do you reliably compute the Jensen-Shannon divergence between the continuous mass distributions passing/failing the threshold? As far as I understand, the KL Divergence and by extension the JS divergence b/w continuous distributions are intractable and hard to estimate reliably.
I looked through the code base but found it mildly confusing. From what I can gather, you discretize the distributions somehow and use an estimator for the entropy of the discretized distribution? But how do you calculate the cross entropy as well? A quick rundown would be very helpful, as this would be a very useful metric to quantify the extent of decorrelation to a given pivot variable.
Cheers,
Justin
The text was updated successfully, but these errors were encountered: