You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this will generalise to other stats as well. There's no amibiguity as the dimension stripping only happens on default inputs, and if a user wants the extra dimensions they can simply specify these default inputs themselves.
This is seems like a user-friendly option, as it removes a lot of tedious stat[0, 0] accesses when you just want a single value. What do you think @petrelharp?
Gee, that's a nice, elegant idea. I like it. But: this is tricky. I agree that all the [0][0]s are tedious and counterintuitive but switching output types is also counterintuitive.
I surveyed some bioinformatics users here (Anastasia), who thinks that (a) people aren't actually going to want to use the defaults all that often, because with the scale of data you have in tree sequences, you'll almost always want across windows and between populations, and (b) the different dimensionalities is confusing. I tend to agree, I think?
So, I vote to leave it always 2D arrays? (Hm, this proposal was probably made with the node arrays (3D) in mind.)
I think that if we do want to make this change, the first test should be to write the documentation for it (in docs/stats.rst), and if it's too confusing to explain then to ditch it.
Activity
petrelharp commentedon Jun 10, 2019
Gee, that's a nice, elegant idea. I like it. But: this is tricky. I agree that all the
[0][0]s are tedious and counterintuitive but switching output types is also counterintuitive.I surveyed some bioinformatics users here (Anastasia), who thinks that (a) people aren't actually going to want to use the defaults all that often, because with the scale of data you have in tree sequences, you'll almost always want across windows and between populations, and (b) the different dimensionalities is confusing. I tend to agree, I think?
So, I vote to leave it always 2D arrays? (Hm, this proposal was probably made with the node arrays (3D) in mind.)
I think that if we do want to make this change, the first test should be to write the documentation for it (in
docs/stats.rst), and if it's too confusing to explain then to ditch it.jeromekelleher commentedon Aug 23, 2019
Closed in #313.