User Portlet
Featured Contributor
Discussions |
---|
I'm not sure if I entirely see what you are saying, but if you want to pass arguments to Histogram like a bin specification you can do something like this: Transpose[dataset][All, Histogram[#, {0.1}]&] where {0.1} is just a random bin... |
---------- So this is generally referred to as a [pole of inaccessibility][1]. These are nice, but there are a few cases where they can give strange results. For example, the red dot represents the pole of inaccessibility in this 2D shape, but I... |
Nice post! I also like your blog post about anagrams. I think there are actually a few ways you could make this a bit quicker. First, for anagram finding, you can do something like this Select[ToLowerCase@DictionaryLookup[],... |
I believe the OpenSSL command line utility cannot directly generate that key from that password. The password parameter of GenerateSymmetricKey is passed to a key derivation function called [scrypt][1]. It looks like scrypt was recently added to... |
I'm not sure if I completely understand what are asking for, but it seems like there might not be a unique solution to this problem. For example, that dark blue road could come out of the vertex it does (the 8th from the right on the red road), but... |
If you wanted to do that in Mathematica, you could write this, Integrate[Cos[x], {x, -Pi/2, Pi/2}] which returns 2. |
Ah, I think I see what you're saying. If you just want to remove the final layers and replace them with your own, you can do something like this: NetChain[{ (*the parts of the net you want to keep*) Take[net, 7], ... |
Those are really nice looking! These actually remind me of this: [Behind the Scenes at the National Museum of Mathematics Meta-Logo][1] [1]:... |
Based on Eric's solution, Query (and Dataset) actually have a concise syntax for what is essentially MapAt: Dataset[families]["smith", "ratios", All, {"height" -> (2 # &)}] There might be a slightly less recursive way of writing this next... |
That's awesome! After reading this I downloaded the data and did some processing of my own. I focused a bit on the names given to colors. Starting off similar to you (including the code just so that any small differences won't cause confusion)... |