2,405 reputation
324
bio website
location Atlanta, GA
age 46
visits member for 2 years, 4 months
seen 39 mins ago

Aug
10
comment How can access to curated data needed by GeoRegionValuePlot be speeded up?
@Hans, thanks for the answer and comment. I may have to rewrite the question.The issue is not pulling the data itself, but processing the GeoRegionValuePlot. Wanted to use the manipulate function to zoom to specific continents or country groups. The function takes a long time to process. I'll update the question.
Aug
10
comment How can access to curated data needed by GeoRegionValuePlot be speeded up?
@AlexeyPopkov thanks for the note, but didn't work
Aug
9
comment Finding a Graph Shortest Path with Custom Graph Distance Function
Dear @KellenMyers. You've been duped by the "flaw of averages".hbr.org/2002/11/the-flaw-of-averages/ar/1 . Working with averages might make you take an incorrect decision. If instead of averages you work with Stochastic Variables, you would observe that the solution you would chose would be quite different. Some cartoons for your amusement (danielvaverka.com/the-flaw-of-averages)
Aug
9
comment GroupBy several keys while keeping the Dataset as a Table (List of Associations)
Brilliant! Dataset[AssociationThread[Drop[fields, {5}], #] & /@sales[ GroupBy[{#Country, #Region, #BU, #Year} & -> Key["Sales"]] ][Normal, Total ][All, Apply[Append]]//Normal] puts the keys back again. ]
Aug
3
comment Finding maximum/minimum value of system of inequalites
Kadir, you are missing the function you want to maximize in the Command. Format should be Maximize[{function,constraints},{x1,x2}]. For example Maximize[{x1+x2,your_Constraints},{x1,x2}]
Aug
2
comment Dataset: cannot reproduce a basic example. A bug?
@WReach please try as follows, in the first input cell do association = AssociationThread[{"A", "B", "C"}, {#[[1]], #[[2]], #[[3]]}] & /@ RandomReal[1, {3, 3}] Then proceed to do shift-enter. Go to the next cell and enter the command dataset = Dataset[association] shift-enter and the error pops up. Tried in two different computers and the error appears.
Aug
1
comment Dataset: cannot reproduce a basic example. A bug?
I also experienced the same issue. (V10.0.0 / Win7 / 64-bit ) This is how I can replicate it. association = AssociationThread[{"A", "B", "C"}, {#[[1]], #[[2]], #[[3]]}] & /@ RandomReal[1, {3, 3}];dataset = Dataset[association]
Jul
30
comment Best practice to group and have your favorite custom functions available at startup
@Mr.Wizard, understood, posted the question on the chat. I'm really interested to know how the power users organize their toolkit of those functions that they use periodically.
Jul
16
comment How can I modify specific key values within a dataset?
@Silvia 's answer discussed in the question you mention is a good workaround to address the issue observed.
Jul
11
comment Remove variable from autocomplete - version 10 issue?
@MitchellKaplan bug verified in my instance of MMA10, Win7 (64Bit)
May
15
comment Visualizing data on a world map - flexible record format
Hola @JuanCarlosMéndez, it would be quite straightforward by just adding the Disk section mentioned in the other answers after the polygon drawing function. I would also recommend that you take a look at the excellent presentation from Brett Champion (Data Visualization Quick Start) that you can find here. wolfram.com/training/special-event/…
Mar
25
comment What is the best distribution for my histogram?
DEar @MarianadaCosta, I'm not privy to how the algorithms have been developed. It might be that Automatic just defaults to the most used distribution, namely, the Normal Distribution. I would recommend that you take a look a look at EDA (exploratory data analysis). A starting point en.wikipedia.org/wiki/Exploratory_data_analysis
Mar
18
comment Issue with DateListPlot and Dynamic List
@SjoerdC.deVries indeed
Mar
11
comment How to get a country's official languages?
Xhosa is a very interesting language, due to its clicks. youtube.com/watch?v=KZlp-croVYw
Mar
11
comment How to get a country's official languages?
how did you find the undocumented option?
Mar
6
comment Extracting Imported Information
Same here @Kuba, first time to see this function.
Jan
11
comment Hardware Performance Metrics for Mathematica
@SjoerdC.deVries results of another laptop. Win7 64Bits Intel Core i5-2467M CPU 1.6Ghz, 4Gb DDR3 1333 MHz SDRAM 128GB SSD
Jan
10
comment Can I make a plot with gradient filling?
@Verbeia, blue artifacts appear when trying to migrate the model to DateListPlot (to take advantage of FinancialData. koStock = FinancialData["KO", {2013, 1, 1}]; DateListPlot[koStock, AxesOrigin -> {First@koStock[[All, 1]], 0}, Frame -> True, Background -> Black, BaseStyle -> {Thick, White, FontFamily -> "Arial", FontSize -> 13}, Filling -> Top, FillingStyle -> Black, Mesh -> None, PlotStyle -> Directive[Thick, White], Prolog -> Polygon[{Scaled[{0, 0}], Scaled[{1, 0}], Scaled[{1, 1}], Scaled[{0, 1}]}, VertexColors -> {Black, Black, Blue, Blue}], PlotRangePadding -> 0]
Jan
10
comment Can I make a plot with gradient filling?
koStock = FinancialData["KO", {2013, 1, 1}] ;bankerPlot[koStock]
Jan
10
comment Can I make a plot with gradient filling?
@ArgentoSapiens great answer. Your model can be migrated to DateListPlot. bankerPlot[data_] := DateListPlot[data, AxesOrigin -> {data[[1, 1]], 0}, Prolog -> Polygon[Join[ data, {DateList[#[[1]]], #[[2]]} & /@ \ (Reverse[({AbsoluteTime[#[[1]]], #[[2]]} & /@ data).DiagonalMatrix[{1, 0}]])], VertexColors -> Join[Blend[{Black, Blue}, #] & /@ Normalize[data[[All, 2]], Max], ConstantArray[Black, Length[data]]]], PlotStyle -> White, Background -> Black, AxesStyle -> White, FrameStyle -> White, FrameTicks -> {{Automatic, None}, {Automatic, None}}];