# Specific Domains

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

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

**Page:** 174

---

## [Summing exponential expressions in NLP](https://discourse.julialang.org/t/summing-exponential-expressions-in-nlp/102640)

<div class="topic-metadata">

**Author:** [@lgo](https://discourse.julialang.org/u/lgo)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 3:43pm UTC](https://discourse.julialang.org/t/summing-exponential-expressions-in-nlp/102640 "2023-08-09T15:43:17Z")

</div>

I have the NLP below that I want to solve with JuMP. The problem transforms the original time-series x\_t into a new time-series x'\_t with a different integral but the same shape and extremes. The objective function minim…

---

## [ERROR: UndefVarError: \`plot\_chains\` not defined](https://discourse.julialang.org/t/error-undefvarerror-plot-chains-not-defined/102641)

<div class="topic-metadata">

**Author:** [@George\_Githinji](https://discourse.julialang.org/u/George_Githinji)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 2:39pm UTC](https://discourse.julialang.org/t/error-undefvarerror-plot-chains-not-defined/102641 "2023-08-09T14:39:41Z")

</div>

I installed Turing and TuringGLM and then ran an example as detailed in the tutorial . However when I ran plot\_chains(chns) , I ran into an issue. ERROR: UndefVarError: \`plot\_chains\` not defined Stacktrace: \[1\] top-le…

---

## [Deep Bayesian Model Discovery without using NeuralODE object](https://discourse.julialang.org/t/deep-bayesian-model-discovery-without-using-neuralode-object/102403)

<div class="topic-metadata">

**Author:** [@gsh19](https://discourse.julialang.org/u/gsh19)\
**Replies:** 4\
**Last updated:** [August 3, 2023, 12:45am UTC](https://discourse.julialang.org/t/deep-bayesian-model-discovery-without-using-neuralode-object/102403 "2023-08-03T00:45:11Z")

</div>

Hi everyone. I am trying to implement the Deep Bayesian Model Discovery on the Lotka-Volterra model discussed in the Automated Discovery of Missing Physics example. The problem I am facing is that I am not able to figur…

---

## [Flux model on GPU?](https://discourse.julialang.org/t/flux-model-on-gpu/102595)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 4\
**Last updated:** [August 9, 2023, 12:29pm UTC](https://discourse.julialang.org/t/flux-model-on-gpu/102595 "2023-08-09T12:29:49Z")

</div>

How can I determine whether a Flux model is on a GPU (of any kind)? For example, if m = Dense(1, 1) |\> gpu/cpu should it somehow be based on typeof(m) or are there other alternatives? My use case is that I have a (traini…

---

## [Is there a C/C++/Rust/Go library that can do inference on Flux models?](https://discourse.julialang.org/t/is-there-a-c-c-rust-go-library-that-can-do-inference-on-flux-models/102581)

<div class="topic-metadata">

**Author:** [@tchebycheff](https://discourse.julialang.org/u/tchebycheff)\
**Replies:** 11\
**Last updated:** [August 9, 2023, 12:08pm UTC](https://discourse.julialang.org/t/is-there-a-c-c-rust-go-library-that-can-do-inference-on-flux-models/102581 "2023-08-09T12:08:39Z")

</div>

If not, is it useful to have one at least for simple layers like Dense, Conv, Scale, etc.?

---

## [How to "prioritize" choosing some parameters over others in Hyperopt.jl or similar packages](https://discourse.julialang.org/t/how-to-prioritize-choosing-some-parameters-over-others-in-hyperopt-jl-or-similar-packages/102594)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 5\
**Last updated:** [August 9, 2023, 11:37am UTC](https://discourse.julialang.org/t/how-to-prioritize-choosing-some-parameters-over-others-in-hyperopt-jl-or-similar-packages/102594 "2023-08-09T11:37:42Z")

</div>

Hi there, I wasn’t sure whether I should have posted this in Statistics or in Optimization, but here it goes. I have a peculiar situation. I want to use Hyperopt.jl optimize a function quality(x::Vector{Int}). The funct…

---

## [Avoiding closure in uODE with ComponentArrays causes minor numerical differences](https://discourse.julialang.org/t/avoiding-closure-in-uode-with-componentarrays-causes-minor-numerical-differences/102609)

<div class="topic-metadata">

**Author:** [@T\_J](https://discourse.julialang.org/u/T_J)\
**Replies:** 4\
**Last updated:** [August 9, 2023, 11:01am UTC](https://discourse.julialang.org/t/avoiding-closure-in-uode-with-componentarrays-causes-minor-numerical-differences/102609 "2023-08-09T11:01:56Z")

</div>

Hello, I would like to pass additional parameters to a uODE and avoid the closure relationship. Here is an example with the lotka-volterra system. # SciML Tools using OrdinaryDiffEq, ModelingToolkit, DataDrivenDiffEq,…

---

## [Documentation of ImplicitRKMil - StochasticDiffEq.jl](https://discourse.julialang.org/t/documentation-of-implicitrkmil-stochasticdiffeq-jl/102104)

<div class="topic-metadata">

**Author:** [@lappet](https://discourse.julialang.org/u/lappet)\
**Replies:** 3\
**Last updated:** [August 9, 2023, 9:34am UTC](https://discourse.julialang.org/t/documentation-of-implicitrkmil-stochasticdiffeq-jl/102104 "2023-08-09T09:34:52Z")

</div>

My goal is to undertsand the actual implementation of the ImplicitRKMil algorithm here. Are there any notes or book sections directly relating to the code here? The perspective of my question is this: I have a bunch of …

---

## [Matrix assignment problem: performance advice?](https://discourse.julialang.org/t/matrix-assignment-problem-performance-advice/102601)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 10\
**Last updated:** [August 9, 2023, 9:09am UTC](https://discourse.julialang.org/t/matrix-assignment-problem-performance-advice/102601 "2023-08-09T09:09:39Z")

</div>

I have an assignment problem with the following aims: there are nstudents, each of whom belongs to one of several different graduate programs. Each program has multiple students in it. (For a sense of scale, in our cas…

---

## [State of the art object tracking with neural networks](https://discourse.julialang.org/t/state-of-the-art-object-tracking-with-neural-networks/101710)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [August 9, 2023, 7:04am UTC](https://discourse.julialang.org/t/state-of-the-art-object-tracking-with-neural-networks/101710 "2023-08-09T07:04:45Z")

</div>

Anyone following the latest models for object tracking in computer vision? Object tracking consists of identifying an object (or bounding box of the object) on every single frame of a video. It usually combines object d…

---

## [Neural Hybrid DE](https://discourse.julialang.org/t/neural-hybrid-de/102599)

<div class="topic-metadata">

**Author:** [@Mieszko](https://discourse.julialang.org/u/Mieszko)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 6:14pm UTC](https://discourse.julialang.org/t/neural-hybrid-de/102599 "2023-08-08T18:14:17Z")

</div>

Hey, I am following this article Neural Hybrid Differential Equations | juliabloggers.com concerning Neural Hybrid DE. Currently, I am stuck at this moment with my code. using DiffEqFlux, DifferentialEquations, Flux, …

---

## [Makie - 3d plot with positive Z axis pointing down?](https://discourse.julialang.org/t/makie-3d-plot-with-positive-z-axis-pointing-down/102544)

<div class="topic-metadata">

**Author:** [@Undermine28](https://discourse.julialang.org/u/Undermine28)\
**Replies:** 6\
**Last updated:** [August 8, 2023, 6:08pm UTC](https://discourse.julialang.org/t/makie-3d-plot-with-positive-z-axis-pointing-down/102544 "2023-08-08T18:08:37Z")

</div>

I am trying to visualize an aircraft trajectory. We define the local z vector as down. I see how to do this in the 2d axis but no options to invert the Z axis in Axis3. Basically, I am hoping to have the Z-axis positiv…

---

## [Intended way to learn parameters in a PDE system?](https://discourse.julialang.org/t/intended-way-to-learn-parameters-in-a-pde-system/100345)

<div class="topic-metadata">

**Author:** [@masinister](https://discourse.julialang.org/u/masinister)\
**Replies:** 9\
**Last updated:** [August 8, 2023, 6:07pm UTC](https://discourse.julialang.org/t/intended-way-to-learn-parameters-in-a-pde-system/100345 "2023-08-08T18:07:01Z")

</div>

My end goal is to train a UDE which is solved via MethodOfLines. For now, my minimal example tries to learn a single parameter \\alpha (the initial condition), but gets a warning I don’t understand: Warning: : no method…

---

## [Initialize some functions at every remake in PDEProblem](https://discourse.julialang.org/t/initialize-some-functions-at-every-remake-in-pdeproblem/102078)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 4\
**Last updated:** [August 8, 2023, 6:03pm UTC](https://discourse.julialang.org/t/initialize-some-functions-at-every-remake-in-pdeproblem/102078 "2023-08-08T18:03:36Z")

</div>

Hello, Is there a way to initialize a function in MethodOfLines so that I can “compile” it once for every parameter set, here’s an example: using ModelingToolkit, MethodOfLines, LinearAlgebra, OrdinaryDiffEq, DomainSet…

---

## [Discovery of mechanistic terms from UODE vs using the UODE](https://discourse.julialang.org/t/discovery-of-mechanistic-terms-from-uode-vs-using-the-uode/101940)

<div class="topic-metadata">

**Author:** [@gsh19](https://discourse.julialang.org/u/gsh19)\
**Replies:** 3\
**Last updated:** [August 8, 2023, 1:28pm UTC](https://discourse.julialang.org/t/discovery-of-mechanistic-terms-from-uode-vs-using-the-uode/101940 "2023-08-08T13:28:09Z")

</div>

Hi everyone, Going through the missing physics example, there is a section on symbolic regression via sparse regression. I understand that this has the advantage of more clearly exposing the relationship between the sys…

---

## [Makie: Using a theme to set the margin of \`axislegend\`](https://discourse.julialang.org/t/makie-using-a-theme-to-set-the-margin-of-axislegend/102600)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 12:33pm UTC](https://discourse.julialang.org/t/makie-using-a-theme-to-set-the-margin-of-axislegend/102600 "2023-08-08T12:33:02Z")

</div>

Hello! Consider the following code: using CairoMakie x = 1:100 y = randn(length(x)) theme = Theme( Legend=( padding=(50, 10, 10, 10), margin=(50, 50, 50, 50) ) ) with\_theme(theme) do fig…

---

## [How to increase space between axes for topo array](https://discourse.julialang.org/t/how-to-increase-space-between-axes-for-topo-array/102568)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 9:40am UTC](https://discourse.julialang.org/t/how-to-increase-space-between-axes-for-topo-array/102568 "2023-08-08T09:40:43Z")

</div>

I am creating topo array with this code: using CairoMakie using TopoPlots function topo\_array(f, times=nothing) f = Figure() times = nothing data, pos = TopoPlots.example\_data() data = data\[1:30,:,1\] pos…

---

## [Creating gifs with Makie is much slower than creating mp4s](https://discourse.julialang.org/t/creating-gifs-with-makie-is-much-slower-than-creating-mp4s/102537)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 8:50am UTC](https://discourse.julialang.org/t/creating-gifs-with-makie-is-much-slower-than-creating-mp4s/102537 "2023-08-08T08:50:06Z")

</div>

I’ve noticed that when creating relatively large movies using Makie.jl, saving them to .gif is significantly slower (several times) than saving to .mp4. I tried profiling the plotting script, and found that in both cases…

---

## [How to do context menus in Gtk4?](https://discourse.julialang.org/t/how-to-do-context-menus-in-gtk4/102569)

<div class="topic-metadata">

**Author:** [@mwlidar](https://discourse.julialang.org/u/mwlidar)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 7:49am UTC](https://discourse.julialang.org/t/how-to-do-context-menus-in-gtk4/102569 "2023-08-08T07:49:45Z")

</div>

Hi! After some trying I learned how to make a popup-menu over a widget (context-menu) in Gtk3. Now I’m trying to do the same in Gtk4, where all seems to have changed. The code below defines a GtkPopoverMenu from a GMen…

---

## [How can I rotate the BoxPlot with AoG?](https://discourse.julialang.org/t/how-can-i-rotate-the-boxplot-with-aog/102218)

<div class="topic-metadata">

**Author:** [@AugustoCL](https://discourse.julialang.org/u/AugustoCL)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 4:24am UTC](https://discourse.julialang.org/t/how-can-i-rotate-the-boxplot-with-aog/102218 "2023-08-08T04:24:41Z")

</div>

I’m trying to reproduce the following plot using AoG customizing whatever is needed with CairoMakie properties/parameters. So, as the names are long, I need to rotate them to see better. this plot just used coord\_fli…

---

## [Nonlinear JuMP - vector of expressions+differences between @NL and no @NL](https://discourse.julialang.org/t/nonlinear-jump-vector-of-expressions-differences-between-nl-and-no-nl/102405)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 10\
**Last updated:** [August 7, 2023, 8:19pm UTC](https://discourse.julialang.org/t/nonlinear-jump-vector-of-expressions-differences-between-nl-and-no-nl/102405 "2023-08-07T20:19:00Z")

</div>

Following JuliaCon, I wanted to try out the nonlinear version of JuMP, especially the option of having vectors instead of a list of expressions. In the process I managed to Make the nonlinear version work without the @…

---

## [Inverse subset algorithm?](https://discourse.julialang.org/t/inverse-subset-algorithm/102252)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 5:02pm UTC](https://discourse.julialang.org/t/inverse-subset-algorithm/102252 "2023-08-07T17:02:50Z")

</div>

Reading this paper, I came across a reference to the “inverse subset algorithm,” in the context of efficiently calculating the gradient of the log-determinant of a sparse symmetric matrix (Section 4.1, Equation 8 and imm…

---

## [Simple brownian motion plot is insanely slow. How can I speed it up?](https://discourse.julialang.org/t/simple-brownian-motion-plot-is-insanely-slow-how-can-i-speed-it-up/92189)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 11\
**Last updated:** [August 7, 2023, 4:30pm UTC](https://discourse.julialang.org/t/simple-brownian-motion-plot-is-insanely-slow-how-can-i-speed-it-up/92189 "2023-08-07T16:30:33Z")

</div>

using LinearAlgebra, Plots, Distributions, Random; Δt=0.01; T\_sim=500; N\_sim = 100; time\_sim = 0.0:Δt:T\_sim ε\_sim = randn(MersenneTwister(123), N\_sim, length(time\_sim)); Z\_sim =cumsum(ε\_sim, dims=2) plt\_shock = plot(…

---

## [How to create to separate, simultaneously coexisting plot windows](https://discourse.julialang.org/t/how-to-create-to-separate-simultaneously-coexisting-plot-windows/55626)

<div class="topic-metadata">

**Author:** [@Uroc327](https://discourse.julialang.org/u/Uroc327)\
**Replies:** 6\
**Last updated:** [August 7, 2023, 3:20pm UTC](https://discourse.julialang.org/t/how-to-create-to-separate-simultaneously-coexisting-plot-windows/55626 "2023-08-07T15:20:59Z")

</div>

Hi! How can I create to separate windows, where each shows a Figure / Scene? When I try to create two Figure()s, I can only show one at a time. The same is true for Scene()s. fig1 = Figure() # add axes, plots, labels,…

---

## [Unable to change system size in DDE problem using DifferentialEquations.jl](https://discourse.julialang.org/t/unable-to-change-system-size-in-dde-problem-using-differentialequations-jl/102103)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 10\
**Last updated:** [August 7, 2023, 3:09pm UTC](https://discourse.julialang.org/t/unable-to-change-system-size-in-dde-problem-using-differentialequations-jl/102103 "2023-08-07T15:09:07Z")

</div>

I’m solving a DDE model for gene expression within cells and want to see how the system reacts to me adding a new cell during the simulation. For this I’m using DifferentialEquations.jl, following the tutorial for solvi…

---

## [Calculating equilibrium states takes too long IntervalRootFinding](https://discourse.julialang.org/t/calculating-equilibrium-states-takes-too-long-intervalrootfinding/102553)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 6\
**Last updated:** [August 7, 2023, 11:24am UTC](https://discourse.julialang.org/t/calculating-equilibrium-states-takes-too-long-intervalrootfinding/102553 "2023-08-07T11:24:19Z")

</div>

Hello, i calculate equilibriums with IntervalRootFinding.Newton The calculation time takes too long Could it be some kind of error or a problem in the method itself? I call the method of Newton using fixedpoints fro…

---

## [Getting gradients with loss using for-loop is slow in Flux.jl](https://discourse.julialang.org/t/getting-gradients-with-loss-using-for-loop-is-slow-in-flux-jl/102192)

<div class="topic-metadata">

**Author:** [@bb777](https://discourse.julialang.org/u/bb777)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 2:40am UTC](https://discourse.julialang.org/t/getting-gradients-with-loss-using-for-loop-is-slow-in-flux-jl/102192 "2023-08-07T02:40:38Z")

</div>

Hello. I am trying to train an original model using Flux.jl for sequential data. I want to use a loss function that utilizes a for loop to recursively use the output of the neural network as input for each data point. H…

---

## [Is half precision a killer app for RecursiveFactorization?](https://discourse.julialang.org/t/is-half-precision-a-killer-app-for-recursivefactorization/102407)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 2\
**Last updated:** [August 4, 2023, 5:07pm UTC](https://discourse.julialang.org/t/is-half-precision-a-killer-app-for-recursivefactorization/102407 "2023-08-04T17:07:19Z")

</div>

@YingboMa you and your collaborators have done good and noble work with this. I’ve been working on half precision for a while and one of the pain points is that LAPACK/BLAS does not support Float16, even though Apple si…

---

## [Makie.jl - LaTeX ticks (and other elements)by default](https://discourse.julialang.org/t/makie-jl-latex-ticks-and-other-elements-by-default/102529)

<div class="topic-metadata">

**Author:** [@danieleavitabile](https://discourse.julialang.org/u/danieleavitabile)\
**Replies:** 4\
**Last updated:** [August 6, 2023, 6:57pm UTC](https://discourse.julialang.org/t/makie-jl-latex-ticks-and-other-elements-by-default/102529 "2023-08-06T18:57:33Z")

</div>

Hi All, I have read several posts in which LaTex ticks can be added to Makie manually, by specifying the ticks with a command, for instance here. Close to publication, I would like that by default every text in my figu…

---

## [Image samples and derivatives for direct/photometric image alignment](https://discourse.julialang.org/t/image-samples-and-derivatives-for-direct-photometric-image-alignment/102214)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 6\
**Last updated:** [August 6, 2023, 6:03pm UTC](https://discourse.julialang.org/t/image-samples-and-derivatives-for-direct-photometric-image-alignment/102214 "2023-08-06T18:03:32Z")

</div>

I’m planning to do some direct (or photometric) image alignment (or registration) in Julia. By this I mean methods based on the Lucas-Kanade method. For this I’ll need not only image samples at non-integer locations, but…

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

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