Questions tagged [wolfram-language]

Use for Data Science questions that are specific to the general-purpose, dynamic typed language with many built-in and 3rd-party libraries and data resources for data science applications.

4 questions
2
votes
0 answers

Python equivalent of Wolfram Language ParametricPlot3D?

The Wolfram Language as a ParametricPlot3D that can be used to interactively examine parametric functions in 3D. Which Python package and function(s) best replicates this? I have several series of data that I would like to represent as categorical…
Edmund
  • 695
  • 5
  • 15
2
votes
0 answers

Algorithm or JS graph drawing library that can generate a graph of 100,000+ nodes and edges while minimizing edge crossings

I'm trying to plot a directed graph of $2^{16}$ nodes and $2^{16}$ edges (but not simply a cycle). Ultimately, I need to be able to share an interactive graph (zooming, panning, labels). Mathematica did a fine job of drawing this graph in a way that…
1
vote
1 answer

Python equivalent of Wolfram Language Query for JSON?

The Wolfram Language has a Query function that can traverse data structures and apply functions at different levels of the structure. I am working with multi-level JSON structures and need a function that has similar functionality as that of Query…
Edmund
  • 695
  • 5
  • 15
0
votes
1 answer

R code that gives results like Wolfram Alpha for the expectation of a function of a random variable?

When I ask Wolfram Alpha to calculate $E[f(X)]$ where $f(x) = e^{-x^2}$ and $X \sim \mathcal{N}(1,4)$, it gives the result $$ E[f(X)] = \frac{1}{3\sqrt[9]{e}} \approx 0.29828, $$ and the following plot which appears to be based on taking a number of…