You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, author, in the cov function of loss_reweighting.py. I think there is a little different with the definition in the paper:
Your code: cov = torch.matmul((w * x).t(), x)
Your paper:
Why the code is not cov = torch.matmul((w * x).t(), w * x)
Thank you very much.
The text was updated successfully, but these errors were encountered:
I'm also very confused at that part. The cov in code is calculating the covariance not of the projection to RFF space, but the original space. I think that u and v here means projection to the RFF space.
The equation in the paper is incorrect, the one used in the code is correct. Cov_w(X,Y) = E_w(XY^T) - E_w(X)E_w(Y)^T, which is computed in the code. (E_w here means the weighted expectation).
Hello, author, in the cov function of loss_reweighting.py. I think there is a little different with the definition in the paper:
Your code: cov = torch.matmul((w * x).t(), x)
Your paper:
Why the code is not cov = torch.matmul((w * x).t(), w * x)
Thank you very much.
The text was updated successfully, but these errors were encountered: