What I want is to separate this Dataset into values that are smaller and larger 0.5 and I need a list {{small1, small2, ...}, {large1, large2, ...}}. I can do this with
ds[GroupBy[#value >= .5 &] /* KeySort, All, #value &][Values] // Normal
We need the KeySort because the first value in the dataset decides in which order the groups appear. The question is, can I include the final Values inside the first call anywhere?
@Szabolcs " Every public function will have a usage message in this section." - I'd rephrase it to it "every public function has to be mentioned here and it is a common practice to put here usage messages" or something.
@Kuba I know what you mean, but this time I decided go with not true on purpose, will be clarified later. It's really difficult to do this well. I'll try to rephrase a bit to make things "more true".
@xiang Perhaps you can explain why you think that the tutorial is unclear.
In fact I think it is not possible to provide this "i" symbol for your own functions. But it is possible to integrate with the documentation center, you just won't see the "i".
@Szabolcs Off topic / Out of scope is for this I suppose. I think it should be interpreted "it is out of scope or it requires advice from WRI..." but without "or" this really sounds like "and" ;)
I have some points from a triangle,but there are some unexpected point still.How to remove those singular point and find the most probable triangle?
SeedRandom[8]
triPoint =
RandomPoint[
Triangle[{{13/20, 17/100}, {13/50, 37/100}, {3/5, 51/100}}], 200];
singular =
RandomPoint[
Region...
Is there a good way to find posts that were closed as duplicates of other posts? Or a specific post. In particular, I'm looking to collect examples of people confused about Abs'[x] in Mathematica, similar to mathematica.stackexchange.com/questions/120577/…
@Szabolcs I'm dealing with a group of people this morning who don't believe me that confusion about Abs'[x] is a common enough problem to warrant documentation
@yode @Szabolcs I've voted to close the "Triangle question" not because it isn't an interesting/useful/challenging question. But the question is not written as such. The reason is that the question is written for a single, arbitrary, artificial, unrealistic (what real life process would have points generated by a uniform distribution in a triangle and a uniform distribution in a polygon that excludes the triangle?) set of data points.
My requests for what the problem to be solved is in general or what processes generate such data points have been ignored or at least thought irrelevant. The second issue is that some of assessment of the process on multiple datasets is required to have any idea if the method works in general and how well it works.
@yode How do you know they ignore them? Maybe it is not easy to solve the problem. In a few cases, they disagree with users about the problem. Sometimes there is internal disagreement about what fits with the overall design, perhaps. Sometimes a bug has a low priority and they have finite resources. I think it probably makes sense, but I also respect users who disagree with the priorities the company sets.
Slapping 3 lines around the triangular cluster of points by eye and then figuring out the intersections to define the triangle would be just as "objective" and possibly better and quicker. But clearly, there must be multiple datasets in mind. I'm simply trying to get @yode to give more details.
@JimBaldwin As your "arbitrary" request,I just use short word to describe problem to avoid make grammar error in my sentences.And you second request,It is sure a concept about how to calculate ternary phse diagram emerge my mind,so I use uniform distribution to simulate those data.Maybe it will give you a unreasonable thinking.Lastly,it's a awkward reason that-I cannot understand your English fully.
@MichaelE2 Yes,I'm sure that.Such as the RelationGraph's unexpected behavior,I have post in MSE long long ago.I realize that not useful,so I send a Email to WRI,as the response of response Email.I think the official don't know those behavior fully.
Do you think this is too close to being off topic? Should it go on Math.SE? It's about how a feature that several CAS have may be implemented. It's for my computer algebra education :) mathematica.stackexchange.com/q/133019/12
@Szabolcs I just wanted something that plays nicely with the binary functions, so I wouldn't have to add a hacky hard-coded translation table. I'm surprised Skip isn't already built to handle binary type specs ... or alternatively, that there isn't a builtin BinarySkip to complement BinaryRead.