Skip to content
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

Question matrix W #8

Open
shizukann opened this issue Jun 29, 2023 · 0 comments
Open

Question matrix W #8

shizukann opened this issue Jun 29, 2023 · 0 comments

Comments

@shizukann
Copy link

W = randn(nFeatures, d) .* repmat(sqrt(l(i,:)), nFeatures, 1);
b = 2 * pi * rand(nFeatures, 1);

Dear Dr. Wang,

I see this script is adapted from the code for the paper PES, and these two lines are not modified. I see that b is from a uniform distribution in (0, 2*pi), however, I do not understand how this W comes from? why can we element-wise multiply the square root of l the length scale ?

Thank you for your time and help in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant