-
Notifications
You must be signed in to change notification settings - Fork 59
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
Metric space #84
Metric space #84
Conversation
…) and coords and values
@redhog are you currently working on more commits? |
Nope :) |
@redhog, from the conversation I get that I will turn a few Finally, just for my understanding, a reply to #84 (comment) would be great, so that I understand your code as well :) Anything you would like to add? Thank you man, I am really looking forward to use these nice code extensions. |
Yes, just drop |
@redhog I am finished with my changes. But I have broken something. All 7 tests fail at the same line: scikit-gstat/skgstat/MetricSpace.py Line 49 in d6b05e2
I don't get it right now. Maybe I am in front of my computer for a few hours too long today. |
@redhog , For the metric-space branch the two variograms differ dramatically. Note: the I am right now not sure, what is happening and you might have the better insight into the code. Maybe the grouping into lag classes is somehow not prepared for some kind of edge case. Other variograms in the very same notebook do not show this behavior. |
@redhog: Edit: here is the sample dataset if you want to run / try it yourself: |
Thanks, was gonna ask for the sample dataset :) Will try it out and try to figure out what's boken ASAP.... |
@redhog Thanks, appreciate it! |
There was some strangeness in the handling of max_dists (self.max_dist overriding max_dist to find_closest). With that fix, your new test, cherry-picked from master, passes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll merge and release in a minute.
Thanks @redhog, this is an awesome PR that really makes the lib better.
:) So happy we managed to finally push it all the way! |
Continuation of #68 but within this repo