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

Add debug visualizer tool, increase tolerance in projection_weights #24

Merged
merged 5 commits into from
Jul 2, 2019

Conversation

tkoolen
Copy link
Collaborator

@tkoolen tkoolen commented Jul 2, 2019

In practice I found many more cases like #17 in 3D, specifically when the simplex is degenerate (points lie on the same plane in 3D). I found that increasing the tolerance (pretty significantly) fixed the issues. Again, I don't like tweaking epsilons like this (and there's definitely a trade-off, since I had to increase a tolerance for another test), but I'm not sure what the right way to do this is.

@tkoolen tkoolen mentioned this pull request Jul 2, 2019
@codecov-io
Copy link

Codecov Report

Merging #24 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   94.44%   94.44%           
=======================================
  Files           8        8           
  Lines         216      216           
=======================================
  Hits          204      204           
  Misses         12       12
Impacted Files Coverage Δ
src/johnson_distance.jl 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9c6970f...2c19883. Read the comment docs.

@tkoolen
Copy link
Collaborator Author

tkoolen commented Jul 2, 2019

@rdeits, @goretkin, for any of these PRs, please feel free to leave comments also after I merge. I just need to move quickly.

@tkoolen tkoolen merged commit a78a278 into master Jul 2, 2019
@tkoolen tkoolen deleted the tk/debug branch July 2, 2019 21:59
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

Successfully merging this pull request may close these issues.

None yet

2 participants