# Specific Domains

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

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

**Page:** 159

---

## [Makie: align y axes at the origin (y=0) for different y ranges](https://discourse.julialang.org/t/makie-align-y-axes-at-the-origin-y-0-for-different-y-ranges/105282)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 6\
**Last updated:** [October 23, 2023, 5:18pm UTC](https://discourse.julialang.org/t/makie-align-y-axes-at-the-origin-y-0-for-different-y-ranges/105282 "2023-10-23T17:18:30Z")

</div>

I’m trying to create a single line graph plotting totally different multiple quantities with more than two y axes. I’m almost successful. See the plot below. One thing that I don’t know how to achieve is to align the y…

---

## [Solving a nonlinear equation with NonlinearSolve.jl 2.X](https://discourse.julialang.org/t/solving-a-nonlinear-equation-with-nonlinearsolve-jl-2-x/105303)

<div class="topic-metadata">

**Author:** [@marast](https://discourse.julialang.org/u/marast)\
**Replies:** 12\
**Last updated:** [October 23, 2023, 4:08pm UTC](https://discourse.julialang.org/t/solving-a-nonlinear-equation-with-nonlinearsolve-jl-2-x/105303 "2023-10-23T16:08:40Z")

</div>

Hello, starting from NonlinearSolve.jl version 2.0 my code stopped working. I reduced it to the following MWE: using NonlinearSolve function exec\_mwe() f(u, p) = \[(u\[1\] - p\[1\])^2 + (u\[2\] - p\[2\])^2\] u0 = rand(2…

---

## [Modify existing Lux models](https://discourse.julialang.org/t/modify-existing-lux-models/105199)

<div class="topic-metadata">

**Author:** [@Andreu](https://discourse.julialang.org/u/Andreu)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 3:30pm UTC](https://discourse.julialang.org/t/modify-existing-lux-models/105199 "2023-10-23T15:30:34Z")

</div>

Is there a systematic approach to obtain a modified version of an existing Lux model? The documentation of the Lux layer interface is clear: “once constructed a model architecture cannot change.” However, we may want to…

---

## [Can NeuralPDE use neural nets with more than 1 outputs?](https://discourse.julialang.org/t/can-neuralpde-use-neural-nets-with-more-than-1-outputs/105163)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 2\
**Last updated:** [October 23, 2023, 1:59pm UTC](https://discourse.julialang.org/t/can-neuralpde-use-neural-nets-with-more-than-1-outputs/105163 "2023-10-23T13:59:47Z")

</div>

Hi. In the following code, I would like to use one neural net with 3 outputs instead of 3 neural nets with 1 output each. I got errors when I try. Is it possible ? All the example I have seen use different nets for diff…

---

## [Linearization with ModelingToolkit gives different results](https://discourse.julialang.org/t/linearization-with-modelingtoolkit-gives-different-results/105131)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [October 23, 2023, 12:48pm UTC](https://discourse.julialang.org/t/linearization-with-modelingtoolkit-gives-different-results/105131 "2023-10-23T12:48:53Z")

</div>

Using the methods linearize\_symbolic and linearize gives different results, even though the results should be the same. Could be a bug in my code, or in ModelingToolkit. I share the code here, even though it is still pre…

---

## [Writing legible JuMP models](https://discourse.julialang.org/t/writing-legible-jump-models/105280)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 8\
**Last updated:** [October 23, 2023, 10:44am UTC](https://discourse.julialang.org/t/writing-legible-jump-models/105280 "2023-10-23T10:44:44Z")

</div>

I maintain a few large integer programming routines using the Python OR-Tools package. I have grown quite attached to the following code style, which breaks the compilation of the larger optimization problem into self-co…

---

## [Makie - Is there a way to draw text on the surface of a mesh?](https://discourse.julialang.org/t/makie-is-there-a-way-to-draw-text-on-the-surface-of-a-mesh/105290)

<div class="topic-metadata">

**Author:** [@wherrera](https://discourse.julialang.org/u/wherrera)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 9:11am UTC](https://discourse.julialang.org/t/makie-is-there-a-way-to-draw-text-on-the-surface-of-a-mesh/105290 "2023-10-23T09:11:02Z")

</div>

Hello. Is there a way in Makie to draw text on the surface of a mesh? that is to say if I have fig = figure() mesh!(fig\[1,1\], v, t) text!(fig\[1,1\], -0.4, 0.2, 0.4; text = "OK") is there a way to have the text be place…

---

## [Modeling with a spline a signal peak's shape from multiple datasets that captured the same event](https://discourse.julialang.org/t/modeling-with-a-spline-a-signal-peaks-shape-from-multiple-datasets-that-captured-the-same-event/104795)

<div class="topic-metadata">

**Author:** [@oniehuis](https://discourse.julialang.org/u/oniehuis)\
**Replies:** 7\
**Last updated:** [October 23, 2023, 9:00am UTC](https://discourse.julialang.org/t/modeling-with-a-spline-a-signal-peaks-shape-from-multiple-datasets-that-captured-the-same-event/104795 "2023-10-23T09:00:46Z")

</div>

I have time series data in which the recorded values capture a signal (i.e., peak) that emerges from an elevated noise floor (i.e., baseline; can be modeled as a straight line). The shape of the peak in the various time …

---

## [Question about PGFPlotsX](https://discourse.julialang.org/t/question-about-pgfplotsx/105295)

<div class="topic-metadata">

**Author:** [@Isaac\_Smith](https://discourse.julialang.org/u/Isaac_Smith)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 9:00am UTC](https://discourse.julialang.org/t/question-about-pgfplotsx/105295 "2023-10-23T09:00:06Z")

</div>

In the Plots.jl documentation about the PGFPlotsX backend, they mention how exporting the plot as a tikzpicture allows the user to rescale the plot using \\includegraphics, but I am not quite understanding how you would d…

---

## [Smoothed Spline Interpolation compatible with ForwardDiff?](https://discourse.julialang.org/t/smoothed-spline-interpolation-compatible-with-forwarddiff/104344)

<div class="topic-metadata">

**Author:** [@MHaensel](https://discourse.julialang.org/u/MHaensel)\
**Replies:** 6\
**Last updated:** [October 23, 2023, 5:22am UTC](https://discourse.julialang.org/t/smoothed-spline-interpolation-compatible-with-forwarddiff/104344 "2023-10-23T05:22:13Z")

</div>

Hi, I am wondering whether someone has insights on the following: I have a complicated function inside which I perform smoothed (1-D) Cubic Spline interpolation using an irregular grid. Right now I am using the Dierckx…

---

## [GeoTables: "UndefVarError: \`load\` not defined" but can load with GeoIO](https://discourse.julialang.org/t/geotables-undefvarerror-load-not-defined-but-can-load-with-geoio/105221)

<div class="topic-metadata">

**Author:** [@Funsway](https://discourse.julialang.org/u/Funsway)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 12:27am UTC](https://discourse.julialang.org/t/geotables-undefvarerror-load-not-defined-but-can-load-with-geoio/105221 "2023-10-23T00:27:07Z")

</div>

Hi all, I am new to Julia and is working on a project that uses the GeoTables packages. However, it gave me the “UndefVarError: load not defined” when GeoTables.load(“xxx.shp”), but, if I do, GeoIO.load(“xxx.shp”), i…

---

## [Penguin Pair Plot](https://discourse.julialang.org/t/penguin-pair-plot/105296)

<div class="topic-metadata">

**Author:** [@math4mad](https://discourse.julialang.org/u/math4mad)\
**Replies:** 0\
**Last updated:** [October 23, 2023, 12:54am UTC](https://discourse.julialang.org/t/penguin-pair-plot/105296 "2023-10-23T00:54:47Z")

</div>

Code is ugly,Importantly it works, and I think it’s looking good using MLJ, DataFrames, GLMakie, CSV, Pipe # 1. data processing fetch(str) = str |\> d -\> CSV.File(d, missingstring="NA") |\> DataFrame |\> dropmissing to…

---

## [NVLink's Compatibility with KernalAbstractions](https://discourse.julialang.org/t/nvlinks-compatibility-with-kernalabstractions/105267)

<div class="topic-metadata">

**Author:** [@TzuYaoHuang](https://discourse.julialang.org/u/TzuYaoHuang)\
**Replies:** 3\
**Last updated:** [October 22, 2023, 7:17pm UTC](https://discourse.julialang.org/t/nvlinks-compatibility-with-kernalabstractions/105267 "2023-10-22T19:17:14Z")

</div>

I am planning to build a workstation with two NVIDIA GPUs (A6000-ish) connected with NVLink since we would like to run some memory-intensive tasks – high-resolution CFD simulation (WaterLily.jl parallelized by KernalAbst…

---

## [Introductive material on Bayesian Networks inference / probabilistic programming?](https://discourse.julialang.org/t/introductive-material-on-bayesian-networks-inference-probabilistic-programming/105017)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 12\
**Last updated:** [October 22, 2023, 6:01pm UTC](https://discourse.julialang.org/t/introductive-material-on-bayesian-networks-inference-probabilistic-programming/105017 "2023-10-22T18:01:27Z")

</div>

Hello, any (gentle) introductory material to suggest on the topic of Bayesian Networks and probabilistic programming ? Or knowledge I need in advance in order to understand it ? Context: I have clear the concepts of dis…

---

## [Customizing Makie rectangle zoom mouse interaction and axis limits](https://discourse.julialang.org/t/customizing-makie-rectangle-zoom-mouse-interaction-and-axis-limits/104448)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 8\
**Last updated:** [October 21, 2023, 3:47pm UTC](https://discourse.julialang.org/t/customizing-makie-rectangle-zoom-mouse-interaction-and-axis-limits/104448 "2023-10-21T15:47:52Z")

</div>

I am trying to create a Makie dashboard where several axes (e.g. x-y, t-z) with the same data points will update simultaneously based on the mouse selection of data in any of the axes. I made an observable, selection\[\],…

---

## [NLOPT While loop problem](https://discourse.julialang.org/t/nlopt-while-loop-problem/104882)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 14\
**Last updated:** [October 22, 2023, 1:41am UTC](https://discourse.julialang.org/t/nlopt-while-loop-problem/104882 "2023-10-22T01:41:23Z")

</div>

Hi All, I am using gridap for topology optimization. I have defined function of optimization using MMA as below using NLopt function gf\_p\_optimize(p\_init; r, β, η, TOL = 1e-4, fem\_params) ##################### Opti…

---

## [Import pretrained Keras model in Julia for inference](https://discourse.julialang.org/t/import-pretrained-keras-model-in-julia-for-inference/104924)

<div class="topic-metadata">

**Author:** [@dubosipsl](https://discourse.julialang.org/u/dubosipsl)\
**Replies:** 6\
**Last updated:** [October 21, 2023, 9:43pm UTC](https://discourse.julialang.org/t/import-pretrained-keras-model-in-julia-for-inference/104924 "2023-10-21T21:43:02Z")

</div>

Hello all, I have trained a model in Python/Keras. What is the recommended way with the present Julia ML ecosystem to save it to disk and load it in Julia to do inference (no training) ? A similar question was asked in…

---

## [Optim.jl + adding constraints](https://discourse.julialang.org/t/optim-jl-adding-constraints/51861)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 7\
**Last updated:** [October 21, 2023, 6:54pm UTC](https://discourse.julialang.org/t/optim-jl-adding-constraints/51861 "2023-10-21T18:54:28Z")

</div>

I want to add equality constraints to Optim.jl (not just a box-constrained optimization). My understanding is that there were plans to add this feature. Does anybody know if this stalled? This package I see was intende…

---

## [LUX LSTM network with multiple inputs](https://discourse.julialang.org/t/lux-lstm-network-with-multiple-inputs/105072)

<div class="topic-metadata">

**Author:** [@Mak](https://discourse.julialang.org/u/Mak)\
**Replies:** 4\
**Last updated:** [October 21, 2023, 9:58am UTC](https://discourse.julialang.org/t/lux-lstm-network-with-multiple-inputs/105072 "2023-10-21T09:58:56Z")

</div>

Can anyone help me in using LSTM to predict temperature? I have four input features and I want to predict the temperature in the future using Random, Statistics, CSV, DataFrames, MLDatasets, ComponentArrays, DataInterpo…

---

## [Derived keys for indexing into JuMP containers](https://discourse.julialang.org/t/derived-keys-for-indexing-into-jump-containers/105205)

<div class="topic-metadata">

**Author:** [@thevolatilebit](https://discourse.julialang.org/u/thevolatilebit)\
**Replies:** 5\
**Last updated:** [October 21, 2023, 1:38am UTC](https://discourse.julialang.org/t/derived-keys-for-indexing-into-jump-containers/105205 "2023-10-21T01:38:19Z")

</div>

I am seeking to better understand JuMP’s indexing functionality. As I understand it, when a set of decision variables or constraints in a container is created, JuMP automatically uses the elements of the set as the index…

---

## [Plot Dirichlet distributions](https://discourse.julialang.org/t/plot-dirichlet-distributions/105155)

<div class="topic-metadata">

**Author:** [@math4mad](https://discourse.julialang.org/u/math4mad)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 11:30pm UTC](https://discourse.julialang.org/t/plot-dirichlet-distributions/105155 "2023-10-20T23:30:40Z")

</div>

using Distributions, GLMakie, Random, Pipe Random.seed!(232) # 1. define params array vecs = \[\[0.1,0.1,0.1\],\[0.2,0.2,0.2\],\[1, 1, 1\], \[2, 2, 2\], \[6, 6, 6\], \[10, 10, 10\],\[20,20,20\],\[50,50,50\],\[100,100,100\]\] #2. sampling…

---

## [Help with modifying SciML Missing Physics UDE example](https://discourse.julialang.org/t/help-with-modifying-sciml-missing-physics-ude-example/104773)

<div class="topic-metadata">

**Author:** [@BenWhip](https://discourse.julialang.org/u/BenWhip)\
**Replies:** 2\
**Last updated:** [October 20, 2023, 10:04pm UTC](https://discourse.julialang.org/t/help-with-modifying-sciml-missing-physics-ude-example/104773 "2023-10-20T22:04:02Z")

</div>

Hello all, I’ve made some minor modifications to the code from Automatically Discover Missing Physics by Embedding Machine Learning into Differential Equations · Overview of Julia's SciML My goal is to expose unknown p…

---

## [DataLoader Scope Troubles](https://discourse.julialang.org/t/dataloader-scope-troubles/105207)

<div class="topic-metadata">

**Author:** [@quietlight](https://discourse.julialang.org/u/quietlight)\
**Replies:** 5\
**Last updated:** [October 20, 2023, 7:48pm UTC](https://discourse.julialang.org/t/dataloader-scope-troubles/105207 "2023-10-20T19:48:02Z")

</div>

Hello My Flux training workflow has been a little ad hoc, but it works really well and I have trained on huge amounts of data, for me anyway (over 7 million spectrogram images). Now I need to share my pipeline with oth…

---

## [How to connect to SPARQL endpoint?](https://discourse.julialang.org/t/how-to-connect-to-sparql-endpoint/50415)

<div class="topic-metadata">

**Author:** [@TBu](https://discourse.julialang.org/u/TBu)\
**Replies:** 5\
**Last updated:** [October 20, 2023, 6:14pm UTC](https://discourse.julialang.org/t/how-to-connect-to-sparql-endpoint/50415 "2023-10-20T18:14:11Z")

</div>

Hello everyone, I want to do some graph analysis and my source data is accessible via a SPARQL endpoint exposed by a Jena Fuseki server. I’d like to know if there is any package like the SPARQLWrapper package for Pytho…

---

## [How to handle conflicting functions between 2 packages](https://discourse.julialang.org/t/how-to-handle-conflicting-functions-between-2-packages/105219)

<div class="topic-metadata">

**Author:** [@hisacro](https://discourse.julialang.org/u/hisacro)\
**Replies:** 4\
**Last updated:** [October 20, 2023, 1:32pm UTC](https://discourse.julialang.org/t/how-to-handle-conflicting-functions-between-2-packages/105219 "2023-10-20T13:32:24Z")

</div>

The issue is popping very often with DynamicalSystems.ji package now, here’s a sample of using … julia\> IntervalBox(-2..2, -2..2) WARNING: both ChaosTools and GLMakie export ".."; uses of it in module Main must be qual…

---

## [Help with numerically unstable algorithm](https://discourse.julialang.org/t/help-with-numerically-unstable-algorithm/104911)

<div class="topic-metadata">

**Author:** [@enweg](https://discourse.julialang.org/u/enweg)\
**Replies:** 13\
**Last updated:** [October 20, 2023, 12:12pm UTC](https://discourse.julialang.org/t/help-with-numerically-unstable-algorithm/104911 "2023-10-20T12:12:44Z")

</div>

Hi, I have this small algorithm that is supposed to create a matrix based on random eigenvalues and eigenvectors. Since the last few rows of the matrix need to satisfy some criteria, I end up with essentially the follow…

---

## [Batched CUDA FFT Plans](https://discourse.julialang.org/t/batched-cuda-fft-plans/105187)

<div class="topic-metadata">

**Author:** [@MaximilianGelbrecht](https://discourse.julialang.org/u/MaximilianGelbrecht)\
**Replies:** 2\
**Last updated:** [October 20, 2023, 6:50am UTC](https://discourse.julialang.org/t/batched-cuda-fft-plans/105187 "2023-10-20T06:50:21Z")

</div>

CUDA.jl PR1903 added support for FFTs along more directions with CUDA.jl v5. I am a bit confused how this works in practice, as I can’t find it documented. The PR states This is achieved by allowing fft-plans to have f…

---

## [Declaring large number of variables in JuMP](https://discourse.julialang.org/t/declaring-large-number-of-variables-in-jump/105214)

<div class="topic-metadata">

**Author:** [@Josa9321](https://discourse.julialang.org/u/Josa9321)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 5:41am UTC](https://discourse.julialang.org/t/declaring-large-number-of-variables-in-jump/105214 "2023-10-20T05:41:48Z")

</div>

Hi people, Is it expected for this code to utilize such a significant amount of memory, given the following Julia code that defines variables within a JuMP optimization model? using JuMP, CPLEX m = Model(CPLEX.Optimize…

---

## [There are some doubts about the results of the experiments in the Powermodels documentation](https://discourse.julialang.org/t/there-are-some-doubts-about-the-results-of-the-experiments-in-the-powermodels-documentation/105210)

<div class="topic-metadata">

**Author:** [@lzq-zbc](https://discourse.julialang.org/u/lzq-zbc)\
**Replies:** 1\
**Last updated:** [October 20, 2023, 2:16am UTC](https://discourse.julialang.org/t/there-are-some-doubts-about-the-results-of-the-experiments-in-the-powermodels-documentation/105210 "2023-10-20T02:16:20Z")

</div>

I would like to consult the following documents about the experimental results, for example, the calculation time of the SoC model of case1354\_pegase is 3 seconds, but I calculate the time on my personal computer is 17 s…

---

## [Loading PyTorch Faster RCNN with ONNX fails](https://discourse.julialang.org/t/loading-pytorch-faster-rcnn-with-onnx-fails/105201)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 2\
**Last updated:** [October 19, 2023, 9:08pm UTC](https://discourse.julialang.org/t/loading-pytorch-faster-rcnn-with-onnx-fails/105201 "2023-10-19T21:08:27Z")

</div>

Hi, I’m trying to load a trained Faster R-CNN model that has been exported with ONNX: It has been saved like this: torch.onnx.export(model, x\[None, :, :, :\], "detector.onnx", …

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

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