-
Notifications
You must be signed in to change notification settings - Fork 3
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
Port potential Databox enhancements into Spiner from Singe -- transformations #95
base: main
Are you sure you want to change the base?
Conversation
@dholladay00 and @Yurlungur, these are some features from Singe that Jonah and I discussed transferring over to Spiner to make them more widely accessible. My main question at the moment is whether you want these features to (a) be added directly to Databox, (b) be added to a wrapper around or extension to Databox, or (c) kept in Singe. |
Broadly I think I'm supportive of these features moving into spiner... but looking at the header file you added for this MR I wonder how much work it would be because I notice that your version pretty explicitly talks about, e.g., density and temperature, which I don't think we want to do with spiner. It should be more generic. |
Oh, absolutely it should be (and will be) more generic. The first commit was just copying over the Singe file to show a starting point, but there's plenty in that file that's specific to Singe and that will need to be cleaned up to be more appropriate for Spiner. |
9afa8d4
to
3229fe1
Compare
A few implementation question that came up as I started adapting
|
a87e220
to
be1acd1
Compare
…ing of the new feature without further adding to the overcrowdedness of test.cpp.
This makes complete sense to me. I'm in favor. Regarding
|
I think that's right |
The head of |
Let's just submit a separate MR to main that formats the code in one sweep. |
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.
Thanks for adding this! Some comments below but overall I'm very happy with how this came out. As an aside, should I add the NQT logs and friends now in this PR? Or save them for a later implementation?
Whatever makes you happy. I just didn't feel like getting into adding the NQT stuff as a dependency, because dependency management is often a tricky question and usually best left to a core team member. I'm fine if you add commits to this MR or if you add another MR that depends on this one. |
I'll add them in a later MR... Very busy at the moment so that will keep things moving along. |
Earlier I stated
Thinking about this more, I think I should clarify my thinking and get your thoughts. For additional clarity, let's define some notation:
Option 1: x is the "ground truth"
Option 2: u is the "ground truth"
The current implementation is option 2 (u is the "ground truth"), but thinking about it more, I think it should be option 1 (x is the "ground truth"). If you agree with that, then I'll have to put in some logic to shift the bounds in u to ensure that the bounds in |
I thought about this more last night, and realized that my comment from the end of the day yesterday was incorrect. I now think the following is correct:
I think that tells us:
PS: The GitHub interface is driving me nuts, because I can't seem to make conversation threads, which means that every conversation gets interleaved with every other conversation. |
…itHub don't always agree)
@Yurlungur, I updated how the bounds are handled, and added some additional testing. I found that we end up with an issue in |
PR Summary
Proposing changes to Spiner based on a wrapper that was written in Singe, in order to provide:
extrapolations beyond the edge of the data table;PR Checklist