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

Issue regarding method linear_interpolate in file utils/manipulator.py #96

Open
sigal-raab opened this issue Apr 26, 2022 · 0 comments
Open

Comments

@sigal-raab
Copy link

sigal-raab commented Apr 26, 2022

Thank you for this great work.
My question relates to the method linear_interpolate in file utils/manipulator.py.
In the following line of code:
> linspace = linspace - latent_code.dot(boundary.T)
I suppose you intend to compute the distance from the SVM boundary line using the term latent_code.dot(boundary.T). However, this term computes the distance only if the boundary line passes through the axes origin. That is, if the constant in the decision function (i.e., boundary line function) is zero.
Can you please let me know whether I am missing something?

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