# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=416

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 417

---

## [Find number of parameters in a distribution](https://discourse.julialang.org/t/find-number-of-parameters-in-a-distribution/47961)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 2:43am UTC](https://discourse.julialang.org/t/find-number-of-parameters-in-a-distribution/47961 "2020-10-08T02:43:11Z")

</div>

Suppose I’m looping over a large vector of distributions from Distributions.jl. How can I automatically find how many parameters there are in a distribution? I want a function nparams(d) where: nparams(Normal)=2 since…

---

## [Standing up cluster on Azure](https://discourse.julialang.org/t/standing-up-cluster-on-azure/47942)

<div class="topic-metadata">

**Author:** [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 8:08pm UTC](https://discourse.julialang.org/t/standing-up-cluster-on-azure/47942 "2020-10-07T20:08:48Z")

</div>

Hey All! My program is trying to migrate a lot of our teaching and research towards using Azure instead of our on-site cluster (for which ClusterManager.jl has been amazing), and I was wondering if anyone had experience…

---

## [Could one chain chains?](https://discourse.julialang.org/t/could-one-chain-chains/30642)

<div class="topic-metadata">

**Author:** [@zht](https://discourse.julialang.org/u/zht)\
**Replies:** 3\
**Last updated:** [October 7, 2020, 7:47pm UTC](https://discourse.julialang.org/t/could-one-chain-chains/30642 "2020-10-07T19:47:10Z")

</div>

Is it okay for the layers used in a chain to be chains themselves? Such as Chain(Chain(A, B), C)? All the examples I have seen so far do not use Chain recurrently so I am thinking this may not be kosher. Does this mean t…

---

## [ANN: Announcing Unitary.jl, a differentiable parametrisation of the group of Unitary Matrices](https://discourse.julialang.org/t/ann-announcing-unitary-jl-a-differentiable-parametrisation-of-the-group-of-unitary-matrices/47917)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 7\
**Last updated:** [October 7, 2020, 6:11pm UTC](https://discourse.julialang.org/t/ann-announcing-unitary-jl-a-differentiable-parametrisation-of-the-group-of-unitary-matrices/47917 "2020-10-07T18:11:36Z")

</div>

For our SumProductTransformation networks https://arxiv.org/abs/2005.01297, we have created an invertible “Dense” transformations usual in neural networks. Our version features efficient inversion and efficient calculati…

---

## [Obscure multiplication method error when using sciml\_train](https://discourse.julialang.org/t/obscure-multiplication-method-error-when-using-sciml-train/45906)

<div class="topic-metadata">

**Author:** [@told](https://discourse.julialang.org/u/told)\
**Replies:** 7\
**Last updated:** [October 7, 2020, 5:28pm UTC](https://discourse.julialang.org/t/obscure-multiplication-method-error-when-using-sciml-train/45906 "2020-10-07T17:28:26Z")

</div>

Julia newbie here. I solve a convection diffusion reaction problem in tow variables where the reaction term is replaced with an ANN with two inputs and one output. This should be trained against measured data c\_true. D…

---

## [Button doesn't do anything in Pluto](https://discourse.julialang.org/t/button-doesnt-do-anything-in-pluto/46381)

<div class="topic-metadata">

**Author:** [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Replies:** 7\
**Last updated:** [October 7, 2020, 3:50pm UTC](https://discourse.julialang.org/t/button-doesnt-do-anything-in-pluto/46381 "2020-10-07T15:50:08Z")

</div>

I’m trying to create a simple plotting interface in Pluto.jl but because of the slowness of loading data I need to prevent Pluto from plotting until all of the settings are chosen. The button seemed like a good method bu…

---

## [Using the noise parameters sol.W.W from an SDE solution throws an error when taking gradients](https://discourse.julialang.org/t/using-the-noise-parameters-sol-w-w-from-an-sde-solution-throws-an-error-when-taking-gradients/47640)

<div class="topic-metadata">

**Author:** [@MikeKlocCZ](https://discourse.julialang.org/u/MikeKlocCZ)\
**Replies:** 3\
**Last updated:** [October 7, 2020, 2:13pm UTC](https://discourse.julialang.org/t/using-the-noise-parameters-sol-w-w-from-an-sde-solution-throws-an-error-when-taking-gradients/47640 "2020-10-07T14:13:03Z")

</div>

I need to work with individual Wiener increments from an SDE solution in my loss function. Whenever I try to get these values from sol.W.W command, the ERROR: type Nothing has no field W pops up when computing the gradie…

---

## [Estimating the parameters of ODEs with multiple initial conditions using Bayesian methods](https://discourse.julialang.org/t/estimating-the-parameters-of-odes-with-multiple-initial-conditions-using-bayesian-methods/47903)

<div class="topic-metadata">

**Author:** [@nyubachi](https://discourse.julialang.org/u/nyubachi)\
**Replies:** 2\
**Last updated:** [October 7, 2020, 2:45am UTC](https://discourse.julialang.org/t/estimating-the-parameters-of-odes-with-multiple-initial-conditions-using-bayesian-methods/47903 "2020-10-07T02:45:15Z")

</div>

Hello. https://tutorials.sciml.ai/html/ode\_extras/04-monte\_carlo\_parameter\_estim.html In the above tutorial, MonteCarloProblem() is used to estimate the parameters for ODEs with multiple initial conditions. I would li…

---

## [Variables declaration in JuliaPro 1.5.2-1](https://discourse.julialang.org/t/variables-declaration-in-juliapro-1-5-2-1/47802)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 10\
**Last updated:** [October 6, 2020, 7:58pm UTC](https://discourse.julialang.org/t/variables-declaration-in-juliapro-1-5-2-1/47802 "2020-10-06T19:58:44Z")

</div>

When compiling @variabel on my model, julia displays the following message Expected ModeloDeterministico to be a JuMP model, but it has type DataType error(::String, ::Type{T} where T) at error.jl:42 validmodel(::Type{T…

---

## [What is defination of dims](https://discourse.julialang.org/t/what-is-defination-of-dims/47878)

<div class="topic-metadata">

**Author:** [@Batuhan\_Guvenc](https://discourse.julialang.org/u/Batuhan_Guvenc)\
**Replies:** 1\
**Last updated:** [October 6, 2020, 6:39pm UTC](https://discourse.julialang.org/t/what-is-defination-of-dims/47878 "2020-10-06T18:39:14Z")

</div>

search func which gives sum of every matris rows in a list for matris like this 1 0 1 0 1 0 output \[2,1\] i fins sum(list,dims=2) func but i dont want use this for examle i use " +(list…) "instead of "sum(list) "i…

---

## [GMT.jl errors when trying to plot- problem with PNG?](https://discourse.julialang.org/t/gmt-jl-errors-when-trying-to-plot-problem-with-png/47860)

<div class="topic-metadata">

**Author:** [@mihalybaci](https://discourse.julialang.org/u/mihalybaci)\
**Replies:** 4\
**Last updated:** [October 6, 2020, 4:33pm UTC](https://discourse.julialang.org/t/gmt-jl-errors-when-trying-to-plot-problem-with-png/47860 "2020-10-06T16:33:43Z")

</div>

For some reason, I cannot get GMT.jl to work. When I attempt to do the “Hello, World” example plot I get the following message: Error: /undefined in PSL\_movie\_label\_completion (skipping the stacktrace...) ERROR: Some…

---

## [Error when calling 2D dynamic kernel with view argument](https://discourse.julialang.org/t/error-when-calling-2d-dynamic-kernel-with-view-argument/47647)

<div class="topic-metadata">

**Author:** [@barrettp](https://discourse.julialang.org/u/barrettp)\
**Replies:** 2\
**Last updated:** [October 6, 2020, 2:23pm UTC](https://discourse.julialang.org/t/error-when-calling-2d-dynamic-kernel-with-view-argument/47647 "2020-10-06T14:23:16Z")

</div>

The following MWE returns a kernel of type Union{} for a 2D dynamic kernel with at least one argument being a view(). The kernel compiles fine if the dynamic kernel is 1D or has no view() arguments. I’d be much obliged …

---

## [Partial SVD](https://discourse.julialang.org/t/partial-svd/47820)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 7\
**Last updated:** [October 6, 2020, 6:57am UTC](https://discourse.julialang.org/t/partial-svd/47820 "2020-10-06T06:57:27Z")

</div>

Hello, Is there a command to only perform a partial SVD decomposition of a non-square matrix?

---

## [How can I get the loss functions in a multi-class classification Flux.jl neural network to work with Flux.onehotbatch?](https://discourse.julialang.org/t/how-can-i-get-the-loss-functions-in-a-multi-class-classification-flux-jl-neural-network-to-work-with-flux-onehotbatch/47767)

<div class="topic-metadata">

**Author:** [@qingyanz](https://discourse.julialang.org/u/qingyanz)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 8:45pm UTC](https://discourse.julialang.org/t/how-can-i-get-the-loss-functions-in-a-multi-class-classification-flux-jl-neural-network-to-work-with-flux-onehotbatch/47767 "2020-10-05T20:45:50Z")

</div>

I am trying to set up a model to predict a 8-label classification problem. Suppose the labels are ycat = \["a", "b", "c", "d", "e", "f", "g"\] and I have a sample set of labels to train & test on: ysample = \["a", "a", "g",…

---

## [JuliaDB error loading tables](https://discourse.julialang.org/t/juliadb-error-loading-tables/47795)

<div class="topic-metadata">

**Author:** [@David\_Ortley](https://discourse.julialang.org/u/David_Ortley)\
**Replies:** 1\
**Last updated:** [October 5, 2020, 4:37pm UTC](https://discourse.julialang.org/t/juliadb-error-loading-tables/47795 "2020-10-05T16:37:32Z")

</div>

I frequently have problems reloading the JuliaDB tables that I save. Sometimes they’re smaller tables on the order of a few MBs and sometimes a couple of GBs, but never anything close to how much RAM my machine has. I’…

---

## [List of resources using Turing](https://discourse.julialang.org/t/list-of-resources-using-turing/47784)

<div class="topic-metadata">

**Author:** [@mystis](https://discourse.julialang.org/u/mystis)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 3:23pm UTC](https://discourse.julialang.org/t/list-of-resources-using-turing/47784 "2020-10-05T15:23:30Z")

</div>

Hi everyone, I thought it would nice to have a “Learning” section for Turing, something similar to what exists on the Julialang website. I know there are tutorials and links to Statistical Rethinking but I thought that …

---

## [Checking membership in a MathOptInterface Set](https://discourse.julialang.org/t/checking-membership-in-a-mathoptinterface-set/47642)

<div class="topic-metadata">

**Author:** [@1ozturkbe](https://discourse.julialang.org/u/1ozturkbe)\
**Replies:** 5\
**Last updated:** [October 5, 2020, 3:13pm UTC](https://discourse.julialang.org/t/checking-membership-in-a-mathoptinterface-set/47642 "2020-10-05T15:13:59Z")

</div>

Hello folks, I hope this is an easy question, but unfortunately some of the internals of MathOptInterface and JuMP are opaque. constraint\_object(constraint::ConstraintRef) operation in JuMP returns a ScalarConstraint, w…

---

## [StackOverflow Error when plotting DataFrame data](https://discourse.julialang.org/t/stackoverflow-error-when-plotting-dataframe-data/47774)

<div class="topic-metadata">

**Author:** [@b.lind](https://discourse.julialang.org/u/b.lind)\
**Replies:** 16\
**Last updated:** [October 5, 2020, 1:18pm UTC](https://discourse.julialang.org/t/stackoverflow-error-when-plotting-dataframe-data/47774 "2020-10-05T13:18:04Z")

</div>

I’ve recently adopted Julia to analyze some sensor data recorded in a \*.csv file. I used the code shown below to plot a subset of my data, however the last code block to plot the data fails with the following error: St…

---

## [Pmap with multiple GPUs](https://discourse.julialang.org/t/pmap-with-multiple-gpus/47698)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 8\
**Last updated:** [October 5, 2020, 8:15am UTC](https://discourse.julialang.org/t/pmap-with-multiple-gpus/47698 "2020-10-05T08:15:31Z")

</div>

Hi, First CUDA.jl is simply amazing and really to use, kudos to you all! Now in my problem I have multiple GPUs and I would like to parallelize the training of my networks in parallel. So basically have one training of…

---

## [Numerical Continuation in Julia?](https://discourse.julialang.org/t/numerical-continuation-in-julia/5522)

<div class="topic-metadata">

**Author:** [@s-marashi](https://discourse.julialang.org/u/s-marashi)\
**Replies:** 9\
**Last updated:** [October 4, 2020, 12:49pm UTC](https://discourse.julialang.org/t/numerical-continuation-in-julia/5522 "2020-10-04T12:49:44Z")

</div>

What are available options for numerical continuation in Julia? While it’s irrelated does any body know about Auto software?

---

## [\[Question\] Distributions.jl with CUDA](https://discourse.julialang.org/t/question-distributions-jl-with-cuda/47707)

<div class="topic-metadata">

**Author:** [@sheevy](https://discourse.julialang.org/u/sheevy)\
**Replies:** 0\
**Last updated:** [October 3, 2020, 9:21pm UTC](https://discourse.julialang.org/t/question-distributions-jl-with-cuda/47707 "2020-10-03T21:21:07Z")

</div>

Hi, I’m writing a program which I wish could easily work both cpu and gpu, similarly to what one can achieve in Flux with cpu and gpu functions. I was under impression that different Julia packages compose well, so I ex…

---

## [Run time constraints in optimisation](https://discourse.julialang.org/t/run-time-constraints-in-optimisation/47657)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 8\
**Last updated:** [October 3, 2020, 8:05pm UTC](https://discourse.julialang.org/t/run-time-constraints-in-optimisation/47657 "2020-10-03T20:05:08Z")

</div>

In an optimisation problem, I have some variables which must take same values. A simple example is given below where the optimisation variables with a unique identifier should have same values: using DataFrames using Ju…

---

## [Turing type error: expected Float64, got ForwardDiff.Dual](https://discourse.julialang.org/t/turing-type-error-expected-float64-got-forwarddiff-dual/47670)

<div class="topic-metadata">

**Author:** [@mangulo](https://discourse.julialang.org/u/mangulo)\
**Replies:** 9\
**Last updated:** [October 3, 2020, 5:14pm UTC](https://discourse.julialang.org/t/turing-type-error-expected-float64-got-forwarddiff-dual/47670 "2020-10-03T17:14:26Z")

</div>

Hi All, I’m trying to do a multivariable linear regression y = \\Phi(A, x) using Turing, where y \\in \\mathbb R^N, x \\in \\mathbb R^N, and the function \\Phi is linear in the unknown parameters A \\in \\mathbb R^{N \\times N}.…

---

## [Optim.jl --- Do all Methods Allow Box Constraints? Should all Work Without Them?](https://discourse.julialang.org/t/optim-jl-do-all-methods-allow-box-constraints-should-all-work-without-them/10209)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 35\
**Last updated:** [October 3, 2020, 3:28pm UTC](https://discourse.julialang.org/t/optim-jl-do-all-methods-allow-box-constraints-should-all-work-without-them/10209 "2020-10-03T15:28:35Z")

</div>

I have been experimenting with Optim.jl. Do all optimizers offer box constraints? NOTE: All optimizers I tried can work without box constraints, except the brand new SAMIN. This example failed to use them: juli…

---

## [Can't access moment\_matrix() function in SumOfSquares](https://discourse.julialang.org/t/cant-access-moment-matrix-function-in-sumofsquares/47624)

<div class="topic-metadata">

**Author:** [@aliceee](https://discourse.julialang.org/u/aliceee)\
**Replies:** 3\
**Last updated:** [October 3, 2020, 8:25am UTC](https://discourse.julialang.org/t/cant-access-moment-matrix-function-in-sumofsquares/47624 "2020-10-03T08:25:45Z")

</div>

Hi, I’m trying to use the moment\_matrix function in SumOfSquares package. using MultivariateMoments ν3 = moment\_matrix(constr) However, I got the following error: ArgumentError: ModelLike of type MosekModel does not s…

---

## [Can you export plots with the plotly back-end as interactive plots?](https://discourse.julialang.org/t/can-you-export-plots-with-the-plotly-back-end-as-interactive-plots/31377)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 1\
**Last updated:** [October 3, 2020, 6:35am UTC](https://discourse.julialang.org/t/can-you-export-plots-with-the-plotly-back-end-as-interactive-plots/31377 "2020-10-03T06:35:26Z")

</div>

Suppose I have to share a plot I made using Plots.jl with the plotly back-end. Can I export it in a format that would let a user (without anything Julia related installed) be able to open it and interact it with the way …

---

## [Suggestion needed: Tree like structure for adaptive binning of multidim data](https://discourse.julialang.org/t/suggestion-needed-tree-like-structure-for-adaptive-binning-of-multidim-data/47602)

<div class="topic-metadata">

**Author:** [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Replies:** 6\
**Last updated:** [October 2, 2020, 9:01pm UTC](https://discourse.julialang.org/t/suggestion-needed-tree-like-structure-for-adaptive-binning-of-multidim-data/47602 "2020-10-02T21:01:52Z")

</div>

Hi everyone, i need to perform adaptive binning of multidimensional data, in an online fashion. as far as i understand i need a dynamic kd-tree, is there something in the julia ecosystem that implements a structure re…

---

## [State of JuAFEM](https://discourse.julialang.org/t/state-of-juafem/39183)

<div class="topic-metadata">

**Author:** [@CorbinFoucart](https://discourse.julialang.org/u/CorbinFoucart)\
**Replies:** 2\
**Last updated:** [October 2, 2020, 6:17pm UTC](https://discourse.julialang.org/t/state-of-juafem/39183 "2020-10-02T18:17:09Z")

</div>

I’m reading the JuAFEM dev docs and it’s not immediately apparent whether a few things are supported. Are: general unstructured grids (tet, hex) wedge elements nonconforming and adaptive meshes supported? Secondly, i…

---

## [Hierarchical Component Models in ModelingToolkit, How to Connect](https://discourse.julialang.org/t/hierarchical-component-models-in-modelingtoolkit-how-to-connect/47626)

<div class="topic-metadata">

**Author:** [@mefob](https://discourse.julialang.org/u/mefob)\
**Replies:** 2\
**Last updated:** [October 2, 2020, 5:20pm UTC](https://discourse.julialang.org/t/hierarchical-component-models-in-modelingtoolkit-how-to-connect/47626 "2020-10-02T17:20:49Z")

</div>

I am trying to build a hierarchical model of groups of Lorenz oscillators. I am following the tutorial, but instead of solving the pair of coupled oscillators, I’d like to solve a set of many pairs of coupled oscillators…

---

## [Flux vs pytorch cpu performance](https://discourse.julialang.org/t/flux-vs-pytorch-cpu-performance/42667)

<div class="topic-metadata">

**Author:** [@d1cker](https://discourse.julialang.org/u/d1cker)\
**Replies:** 59\
**Last updated:** [October 2, 2020, 3:39pm UTC](https://discourse.julialang.org/t/flux-vs-pytorch-cpu-performance/42667 "2020-10-02T15:39:07Z")

</div>

Hi, I’m trying to make my colleagues use Julia, but I got this performance issue with some simple code. At first I though that the problem is use the AD but now I think it’s with the feed forward (and because of that th…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=415)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=417)
