User Portlet
Featured Contributor
Discussions |
---|
Per your interest on predicting probabilities, you can compute the probabilities for classification, by using the "net3" and the "trainedNet3" which use the SoftmaxLayer and the output as a string (e.g., "1", not 1.0. {finalNet3[{9987, 13},... |
This post might be useful. https://community.wolfram.com/groups/-/m/t/3093407 Examples from the following websites: https://www.johndcook.com/blog/2019/04/18/calling-python-from-mathematica/. |
Thanks for this really excellent example. Minor correction in your code. The ("Time"->1) at the bottom of the "pde' net should be changed to ("Time" -> "Scalar") because of the input data: Take[data,5] {0. -> {970., 20., 0.}, 0.1 ->... |
Boundary and initial conditions are inconsistent, and they are the usual suspect for warning messages. tMin = 0; tMax = 10; xMin = 0; xMax = 1; (*Solve the PDE*) sol = NDSolve[{ D[u[x, t], t] == 0.000051*D[u[x,... |
Just out of curiosity, do we need some kind of precision control on numerical computation because I see the x[n] values are very close to zero (e.g., between 2.0x10^-18 and -1.5x10^-18)? |
Thanks for the great analysis and information. The concept of dimensionality is really good to me. I would like to see PCA/FA/SEM with various rotation options in Mathematica. In general, PCA is a first step to understand the latent structure... |
Several typing errors are removed. I used the ParametricNDSolve, rather than ParametricNDSolveValue. We = 0.4; alpha = 0.9; beta = 0.2; phi = 0.7; P = -1.3; Br = 0.1; K1 = We^2*(1 - alpha^2); K2 = phi*K1; system = { ... |
You need to specify where to find Python: RegisterExternalEvaluator[ "Python", "C:\\bin\\Anaconda3\\python.EXE"] Register a Python-Numpy library: RegisterExternalEvaluator[ "Python-NumPy", ... |
I used the following prompts : > Analyze the following Mathematica codes very carefully and create an artistic rendering of how the result would look like in 3D: ComplexPlot[ZTransform[n^2*UnitStep[n] - n^2*UnitStep[n - 10], n, z], ... |
May be the "NCAlgebra" package? https://mathweb.ucsd.edu/~ncalg/ Section 4.7 from: https://mathweb.ucsd.edu/~ncalg/DOCUMENTATION/index.html#MostBasicCommands |