4.31 Tuesday, May 23, 2017

================================== 
Top new questions this week: 
==================================

[PerformanceGoal option ignored in V11.1] https://mathematica.stackexchange.com/questions/146214/performancegoal-option-ignored-in-v11-1

Bug introduced in 11.1

[CASE:3892079] was created

[...] I have reproduced this problem with PerformanceGoal in version 11.1 and reported the issue to our developers [...]

Take this code:

...

- asked by Kuba (14 votes), answered by Kuba (15 votes)

—————————-

[Can I build my own curated data function?] https://mathematica.stackexchange.com/questions/146220/can-i-build-my-own-curated-data-function

I love the huge curated datasets, but they don’t cover everything. I have my own huge dataset which is too much to distribute as an EntityStore so is there a way to build my own analog of, say, ...

- asked by MB1965 (13 votes), answered by MB1965 (16 votes)

—————————-

[Support for low-complexity (compressible) lists] https://mathematica.stackexchange.com/questions/146244/support-for-low-complexity-compressible-lists

By "low-complexity list" I mean a list like the following:

lcl = {17, 17, 17, 17, 17, 
       21, 21, 21, 21, 21, 21, 21, 21, 
       11, 11, 11, 11, 11, 11, 11}

It contains 20 elements, but only 3 ...

- asked by kjo (10 votes), answered by Mr.Wizard (6 votes)

—————————-

[Automating documentation generation] https://mathematica.stackexchange.com/questions/146670/automating-documentation-generation

Outside of kernel symbols Mathematica provides access to lots of usage info, e.g. DownValues, Options, Messages, etc.

Most languages, if given this sort of info, would be able to provide an automatic ...

- asked by MB1965 (9 votes), answered by MB1965 (10 votes)

—————————-

[Trace of -1 expression] https://mathematica.stackexchange.com/questions/146506/trace-of-1-expression

I’m trying to understand Trace. Usually it doesn’t repeat but it adds -1,-1 for his simple expression after having a correct result.

-{1}//Trace 
 
  {-1, {-1}, {-1, -1}, {-1}} 
 
 
Why -{1}//Trace is  ...

- asked by io_tuta (9 votes), answered by Michael E2 (7 votes)

—————————-

[How to import a Tensorflow model?] https://mathematica.stackexchange.com/questions/146216/how-to-import-a-tensorflow-model

I’ve trained a network in Tensorflow and have the checkpoint files, I’d like to if anyone has written a parser or importer to pull the evaluation graph and/or weights into Mathematica?

- asked by user5601 (9 votes)

—————————-

[intersection between two 2D arrays with labeled data is slow] https://mathematica.stackexchange.com/questions/146558/intersection-between-two-2d-arrays-with-labeled-data-is-slow

Here is how to Generate data

the function is below with two images to generate data

img1 
 
img2 
 
 
segmentImage[binarizedMask_?ImageQ] := 
Module[{seg, areas, indexMaxarea, maxArea}, 
seg =  ...

- asked by Ali Hashmi (8 votes), answered by Carl Woll (6 votes)

================================== Greatest hits from previous weeks: ==================================

[Exporting graphics to PDF - huge file] https://mathematica.stackexchange.com/questions/1542/exporting-graphics-to-pdf-huge-file

I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with

 ParametricPlot3D[{r Cos[], r Sin[], r^2}, {r, 0,  ...

- asked by Matthew Leingang (92 votes), answered by Heike (80 votes)

—————————-

[Generating a Sierpinski carpet] https://mathematica.stackexchange.com/questions/22052/generating-a-sierpinski-carpet

I am trying to draw a Sierpinski_carpet. I have code that works, but I think there is a more elegant way to do than my way. Maybe I couls use Tuples or Permutations or some similar function to ...

- asked by chyaong (46 votes), answered by Mr.Wizard (75 votes)

================================== Can you answer these? ==================================

[Exporting graphics with VertexColors problem] https://mathematica.stackexchange.com/questions/146306/exporting-graphics-with-vertexcolors-problem

I’ve generated a graphics which exhibit gradient color in rectangle and export it as:

SetDirectory[NotebookDirectory[]]; 
Export["./test.pdf", Graphics[{Polygon[{{-4, 5/3}, {-4, 0}, {4, 0}, {4,  ...

- asked by RoderickLee (3 votes)

—————————-

[How to imitate the opacity plot in EditColorFunction] https://mathematica.stackexchange.com/questions/146623/how-to-imitate-the-opacity-plot-in-editcolorfunction

I wish to imitate the opacity plot as shown below:

Edit2: (ref: https://www.wolfram.com/mathematica/new-in-9/3d-volumetric-image-processing/edit-color-function-palette-for-image3d.html)

Here is ...

- asked by Majis (3 votes)

—————————-

[Possible bug in Export with CharacterEncoding -> "PrintableASCII"] https://mathematica.stackexchange.com/questions/146294/possible-bug-in-export-with-characterencoding-printableascii

In the Documentation we read (emphasis is mine):

By default, the Wolfram System uses the character encoding "PrintableASCII" when saving notebooks and packages. This means that when special ...

- asked by Alexey Popkov (4 votes)