# Specific Domains

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

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

**Page:** 183

---

## [Loess with missing values](https://discourse.julialang.org/t/loess-with-missing-values/90921)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 11\
**Last updated:** [June 30, 2023, 3:07pm UTC](https://discourse.julialang.org/t/loess-with-missing-values/90921 "2023-06-30T15:07:52Z")

</div>

I want to use the Loess smoothing with missing values in y (and then fill those with the loess estimate). I hope I would be able to do it with pairwise from StatsBase, but did not manage. The code below works but feels …

---

## [Makie: update slider visual position from different observable trigger (i.e., reset sliders)](https://discourse.julialang.org/t/makie-update-slider-visual-position-from-different-observable-trigger-i-e-reset-sliders/100982)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [June 30, 2023, 8:54am UTC](https://discourse.julialang.org/t/makie-update-slider-visual-position-from-different-observable-trigger-i-e-reset-sliders/100982 "2023-06-30T08:54:15Z")

</div>

I am making some Makie sliders using the standard API of the SliderGrid. Below the sliders I want to add a button reset, which once clicked will reset all sliders to their original value. I do have the original values s…

---

## [Scatter/gather operation with Metal](https://discourse.julialang.org/t/scatter-gather-operation-with-metal/100971)

<div class="topic-metadata">

**Author:** [@matthieu](https://discourse.julialang.org/u/matthieu)\
**Replies:** 1\
**Last updated:** [June 30, 2023, 6:10am UTC](https://discourse.julialang.org/t/scatter-gather-operation-with-metal/100971 "2023-06-30T06:10:24Z")

</div>

Hey everyone. I would like to convert the following scatter/gather operation from the CPU to the GPU, using Metal.jl. function gather!(y::AbstractVector, refs::AbstractVector, x::AbstractVector) for i in eachindex(y…

---

## [Vectorize function for two same size CuArray](https://discourse.julialang.org/t/vectorize-function-for-two-same-size-cuarray/100983)

<div class="topic-metadata">

**Author:** [@kuanchiun](https://discourse.julialang.org/u/kuanchiun)\
**Replies:** 2\
**Last updated:** [June 30, 2023, 6:06am UTC](https://discourse.julialang.org/t/vectorize-function-for-two-same-size-cuarray/100983 "2023-06-30T06:06:36Z")

</div>

Hello! I’m rookie for Julia programming language. I’m trying to create the loss function, which calculate cosine similarity for each row pair in x, x̂. The simply code is in below. using Flux, CUDA, LinearAlgebra CUDA…

---

## [Genie with NPM packages](https://discourse.julialang.org/t/genie-with-npm-packages/101006)

<div class="topic-metadata">

**Author:** [@jondavis847](https://discourse.julialang.org/u/jondavis847)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 2:42am UTC](https://discourse.julialang.org/t/genie-with-npm-packages/101006 "2023-06-30T02:42:41Z")

</div>

Hello, If I’m making a webapp with Genie.jl and want to include for example chart.js or three.js,etc., how do I go about doing that? Normally I would install these locally via NPM, but I’m not sure how this fits in the …

---

## [Efficient simulation of spatially coupled ODEs on arbitrary graphs](https://discourse.julialang.org/t/efficient-simulation-of-spatially-coupled-odes-on-arbitrary-graphs/100852)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 5\
**Last updated:** [June 29, 2023, 9:00pm UTC](https://discourse.julialang.org/t/efficient-simulation-of-spatially-coupled-odes-on-arbitrary-graphs/100852 "2023-06-29T21:00:37Z")

</div>

I know this question is not very specific, but I would like to check whether there are existing approaches for simulating coupled ODEs on nodes of (arbitrarily large) graphs/networks with diffusion between the nodes. Loo…

---

## [Differentiating Jacobian-vector product for sliced score matching?](https://discourse.julialang.org/t/differentiating-jacobian-vector-product-for-sliced-score-matching/99746)

<div class="topic-metadata">

**Author:** [@Red-Portal](https://discourse.julialang.org/u/Red-Portal)\
**Replies:** 18\
**Last updated:** [June 29, 2023, 5:56pm UTC](https://discourse.julialang.org/t/differentiating-jacobian-vector-product-for-sliced-score-matching/99746 "2023-06-29T17:56:47Z")

</div>

Hi, I’m trying to implement score matching in Julia. Essentially, one needs to differentiate through the expression: \\mathbb{E}\_{v \\sim \\mathcal{N}(0,\\mathbf{I})} \\mathbb{E}\_{x \\sim p(x)} \\left( v^{\\top} \\nabla\_x f(x; …

---

## [Take positive part of weights in loss function](https://discourse.julialang.org/t/take-positive-part-of-weights-in-loss-function/100950)

<div class="topic-metadata">

**Author:** [@clairem](https://discourse.julialang.org/u/clairem)\
**Replies:** 3\
**Last updated:** [June 29, 2023, 5:18pm UTC](https://discourse.julialang.org/t/take-positive-part-of-weights-in-loss-function/100950 "2023-06-29T17:18:07Z")

</div>

Hi! I’m trying to constrain my weights matrix to contain only positive values. I was confused by answers to similar questions, and I thought it might make sense to implement my loss function such that, when it takes my …

---

## [Request: call for NeurIPS ethics reviewers](https://discourse.julialang.org/t/request-call-for-neurips-ethics-reviewers/100984)

<div class="topic-metadata">

**Author:** [@jiahao](https://discourse.julialang.org/u/jiahao)\
**Replies:** 0\
**Last updated:** [June 29, 2023, 3:50pm UTC](https://discourse.julialang.org/t/request-call-for-neurips-ethics-reviewers/100984 "2023-06-29T15:50:35Z")

</div>

NeurIPS is seeking ethics reviewers, particularly in the areas of: a) Human rights and inappropriate potential applications, and b) Security and privacy. Call: NeurIPS 2023 Sign-up: NeurIPS 2023 Ethics Reviewer Invit…

---

## [Define geometry for NeuralPDE?](https://discourse.julialang.org/t/define-geometry-for-neuralpde/100921)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 6\
**Last updated:** [June 29, 2023, 3:50pm UTC](https://discourse.julialang.org/t/define-geometry-for-neuralpde/100921 "2023-06-29T15:50:13Z")

</div>

Hi, I’m looking into solving PDEs on a 2d domain using PINNs and would like to try the NeuralPDE package. Is there a way to define a custom geometry besides linear intervals? I can’t find it in the documentation, the e…

---

## [Remove top or bottom axis in :box plot](https://discourse.julialang.org/t/remove-top-or-bottom-axis-in-box-plot/100897)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 6\
**Last updated:** [June 29, 2023, 12:31pm UTC](https://discourse.julialang.org/t/remove-top-or-bottom-axis-in-box-plot/100897 "2023-06-29T12:31:40Z")

</div>

Hi there, I’ve been searching for a way of doing this, but cannot find anything… I’ve been trying to make a box plot but with a missing axis. Essentially, I would like to get the results given by plot(framestyle = :bo…

---

## [LIBSVM.jl is broken?](https://discourse.julialang.org/t/libsvm-jl-is-broken/100958)

<div class="topic-metadata">

**Author:** [@JunDamin](https://discourse.julialang.org/u/JunDamin)\
**Replies:** 4\
**Last updated:** [June 29, 2023, 6:49am UTC](https://discourse.julialang.org/t/libsvm-jl-is-broken/100958 "2023-06-29T06:49:05Z")

</div>

I am using LIBSVM.jl in julia 1.9.1. When I follow through algebra of graphics tutorial, julia crashed whenever I run fit! function with model. I tried many options like uninstalled and reinstall libsvm.jl, it still no…

---

## [JSON3.jl layer for HTTP.jl](https://discourse.julialang.org/t/json3-jl-layer-for-http-jl/100678)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 3\
**Last updated:** [June 22, 2023, 7:52am UTC](https://discourse.julialang.org/t/json3-jl-layer-for-http-jl/100678 "2023-06-22T07:52:19Z")

</div>

I was playing with some JSON based REST APIs, and I was starting to get tired of typing JSON3.read(response.body) all the time, so I came up with the following layer. julia\> module HTTPJSON3 import HTTP, JSON…

---

## [Dual Variable](https://discourse.julialang.org/t/dual-variable/100934)

<div class="topic-metadata">

**Author:** [@Gagan\_Meena](https://discourse.julialang.org/u/Gagan_Meena)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 12:52am UTC](https://discourse.julialang.org/t/dual-variable/100934 "2023-06-29T00:52:37Z")

</div>

using JuMP, Gurobi include("Data.jl") UnitCommitment\_dt = UC\_dt function DUC\_Clearing(UnitCommitment\_dt) # Indices ngen = length(UC\_dt.Gen\_Constraints\[:,1\]) periods = length(UC\_dt.Forecast\[1,:\]) # Sets…

---

## [Displaying images in a grid layout?](https://discourse.julialang.org/t/displaying-images-in-a-grid-layout/100919)

<div class="topic-metadata">

**Author:** [@amca01](https://discourse.julialang.org/u/amca01)\
**Replies:** 3\
**Last updated:** [June 29, 2023, 12:06am UTC](https://discourse.julialang.org/t/displaying-images-in-a-grid-layout/100919 "2023-06-29T00:06:29Z")

</div>

What I’m after is a Julia equivalent to Matlab’s “subplots”, that allows images to be displayed in arbitrary grids. I can “stitch” two images of the same size with \[img1 img2\] as the last line of an IJulia cell. But …

---

## [Bug in Plots.jl - Unwanted line in the title with multi-column legend](https://discourse.julialang.org/t/bug-in-plots-jl-unwanted-line-in-the-title-with-multi-column-legend/100924)

<div class="topic-metadata">

**Author:** [@Sh\_166](https://discourse.julialang.org/u/Sh_166)\
**Replies:** 3\
**Last updated:** [June 28, 2023, 12:53pm UTC](https://discourse.julialang.org/t/bug-in-plots-jl-unwanted-line-in-the-title-with-multi-column-legend/100924 "2023-06-28T12:53:31Z")

</div>

MWE: Pkg.add(“PlotThemes”) Using Plots, DifferentialEquations, ModelingToolkit, LaTeXStrings, Symbolics, Measures theme(:bright) plot(sol, label = L"some \\ \\LaTeX“, xlabel = L”t“, ylabel = L”\\alpha“, margin=8mm, fra…

---

## [PSD sparse matrix generation: (almost) negative eigenvalues](https://discourse.julialang.org/t/psd-sparse-matrix-generation-almost-negative-eigenvalues/100851)

<div class="topic-metadata">

**Author:** [@selvi-aras](https://discourse.julialang.org/u/selvi-aras)\
**Replies:** 6\
**Last updated:** [June 28, 2023, 2:52am UTC](https://discourse.julialang.org/t/psd-sparse-matrix-generation-almost-negative-eigenvalues/100851 "2023-06-28T02:52:43Z")

</div>

This question is not fully related to optimization (though I am using it for optimization); but a quick search on the Julia forum hinted me that such questions go to the optimization tag. I can generate PSD matrices wit…

---

## [Arithmetic operations on an RGB image?](https://discourse.julialang.org/t/arithmetic-operations-on-an-rgb-image/100726)

<div class="topic-metadata">

**Author:** [@amca01](https://discourse.julialang.org/u/amca01)\
**Replies:** 9\
**Last updated:** [June 27, 2023, 11:44pm UTC](https://discourse.julialang.org/t/arithmetic-operations-on-an-rgb-image/100726 "2023-06-27T23:44:49Z")

</div>

Suppose I have an RGB image, imported with img = FileIO.load("image.png"); Then I have two questions: First, in Jupyter, using IJulia, how do I view a small subarray (say 3 x 3) as a set of numeric values? If img was…

---

## [Performance problems in one-dimensional complex integration](https://discourse.julialang.org/t/performance-problems-in-one-dimensional-complex-integration/100912)

<div class="topic-metadata">

**Author:** [@javier\_mj](https://discourse.julialang.org/u/javier_mj)\
**Replies:** 15\
**Last updated:** [June 27, 2023, 10:52pm UTC](https://discourse.julialang.org/t/performance-problems-in-one-dimensional-complex-integration/100912 "2023-06-27T22:52:23Z")

</div>

Hello to all I am currently moving some code to Julia with the intention of improving performance. However, within a function I am running into a bottleneck when calculating the integral in one dimension of a complex fu…

---

## [ODE solution in Symbolics/SymbolicNumericIntegration vs. ModelingToolkit](https://discourse.julialang.org/t/ode-solution-in-symbolics-symbolicnumericintegration-vs-modelingtoolkit/100893)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [June 27, 2023, 6:07pm UTC](https://discourse.julialang.org/t/ode-solution-in-symbolics-symbolicnumericintegration-vs-modelingtoolkit/100893 "2023-06-27T18:07:40Z")

</div>

I’m comparing the analytic and numeric solutions of a linear, second order ODE, and get some weird (arbitrary) result with the analytic solution found by using SymbolicNumericIntegration… I assume I’m using the tools inc…

---

## [How to recover/access Turing.ADVI parameter names from solution?](https://discourse.julialang.org/t/how-to-recover-access-turing-advi-parameter-names-from-solution/100904)

<div class="topic-metadata">

**Author:** [@Jae\_Choi](https://discourse.julialang.org/u/Jae_Choi)\
**Replies:** 0\
**Last updated:** [June 27, 2023, 5:12pm UTC](https://discourse.julialang.org/t/how-to-recover-access-turing-advi-parameter-names-from-solution/100904 "2023-06-27T17:12:04Z")

</div>

Hi, Experimenting with ADVI and perhaps I just missed this somehow in the documentation, but how does one identify the parameter names (rows) in the output of an ADVI sample? The output of a vi() or rand() sample object…

---

## [Get gradients from network](https://discourse.julialang.org/t/get-gradients-from-network/100882)

<div class="topic-metadata">

**Author:** [@T\_J](https://discourse.julialang.org/u/T_J)\
**Replies:** 0\
**Last updated:** [June 27, 2023, 9:39am UTC](https://discourse.julialang.org/t/get-gradients-from-network/100882 "2023-06-27T09:39:26Z")

</div>

Hello, How can I check the gradients of the network in example Best Regards

---

## [Huber regression by using Jump and optimizing with MOSEK](https://discourse.julialang.org/t/huber-regression-by-using-jump-and-optimizing-with-mosek/100081)

<div class="topic-metadata">

**Author:** [@selvi-aras](https://discourse.julialang.org/u/selvi-aras)\
**Replies:** 13\
**Last updated:** [June 27, 2023, 7:58am UTC](https://discourse.julialang.org/t/huber-regression-by-using-jump-and-optimizing-with-mosek/100081 "2023-06-27T07:58:53Z")

</div>

Dear JUMP Community, I am solving a Huber regression problem. I am using the following second-order conic reformulation of the problem (from MOSEK tutorials): My implementation is pretty straightforward: function h…

---

## [Cannot build CPLEX 22.11 in Julia 1.6.7 (Mac)](https://discourse.julialang.org/t/cannot-build-cplex-22-11-in-julia-1-6-7-mac/100825)

<div class="topic-metadata">

**Author:** [@mlozano](https://discourse.julialang.org/u/mlozano)\
**Replies:** 2\
**Last updated:** [June 26, 2023, 1:44pm UTC](https://discourse.julialang.org/t/cannot-build-cplex-22-11-in-julia-1-6-7-mac/100825 "2023-06-26T13:44:20Z")

</div>

Hello, I think there’s a file type mismatch between the CPLEX download and what Julia is expecting. Specifically, I downloaded the version of both programs for Mac OSX, but it appears that Julia wants the version that is…

---

## [Program has different results when ran in REPL and from Nsight compute](https://discourse.julialang.org/t/program-has-different-results-when-ran-in-repl-and-from-nsight-compute/100817)

<div class="topic-metadata">

**Author:** [@Zentrik](https://discourse.julialang.org/u/Zentrik)\
**Replies:** 1\
**Last updated:** [June 25, 2023, 7:03pm UTC](https://discourse.julialang.org/t/program-has-different-results-when-ran-in-repl-and-from-nsight-compute/100817 "2023-06-25T19:03:17Z")

</div>

index = CuArray{UInt32}(\[1\]) function ker(index) i = (blockIdx().x - Int32(1)) \* blockDim().x + threadIdx().x @cuprintln "i: " i @cuprintln "index: " index\[\] @cuprintln "old\_index: " index\[\] += 1 ret…

---

## [Color cycling in GLMakie.series](https://discourse.julialang.org/t/color-cycling-in-glmakie-series/100834)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 7\
**Last updated:** [June 26, 2023, 10:43am UTC](https://discourse.julialang.org/t/color-cycling-in-glmakie-series/100834 "2023-06-26T10:43:10Z")

</div>

I’ve only just discovered series in GLMakie as a simple way of plotting rows of a matrix. This is something I do a lot (actually, I’d prefer to plot columns, but never mind) but it doesn’t seem to like plotting more seri…

---

## [Access to automatic reformulations created internally by BilevelJump](https://discourse.julialang.org/t/access-to-automatic-reformulations-created-internally-by-bileveljump/100268)

<div class="topic-metadata">

**Author:** [@martina.gherardi](https://discourse.julialang.org/u/martina.gherardi)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 4:32am UTC](https://discourse.julialang.org/t/access-to-automatic-reformulations-created-internally-by-bileveljump/100268 "2023-06-21T04:32:43Z")

</div>

Hi, I was wondering if there is a possibility to access the automatic reformulations that BilevelJump creates internally to solve the bilinear model. In particular, I would like to access (1) the dual of the lower level…

---

## [WIOD database in Julia](https://discourse.julialang.org/t/wiod-database-in-julia/100759)

<div class="topic-metadata">

**Author:** [@Guido](https://discourse.julialang.org/u/Guido)\
**Replies:** 3\
**Last updated:** [June 25, 2023, 4:08pm UTC](https://discourse.julialang.org/t/wiod-database-in-julia/100759 "2023-06-25T16:08:35Z")

</div>

I’m working on World Input-Output Database (WIOD) from Groningen. Usually, I work this data using STATA. What I have so far is my usual do file template translated in Julia language, but I want to do it in Julia from sc…

---

## [DAE - Sundials parallel capabilities access through sundials.jl or DifferentialEquation.jl](https://discourse.julialang.org/t/dae-sundials-parallel-capabilities-access-through-sundials-jl-or-differentialequation-jl/99924)

<div class="topic-metadata">

**Author:** [@Relojuca](https://discourse.julialang.org/u/Relojuca)\
**Replies:** 5\
**Last updated:** [June 25, 2023, 11:29am UTC](https://discourse.julialang.org/t/dae-sundials-parallel-capabilities-access-through-sundials-jl-or-differentialequation-jl/99924 "2023-06-25T11:29:28Z")

</div>

Hi People. I am implementing a code for solving a DAE system using sundials and IDA (through the DifferentialEquation.jl interface). However, as my simulation requires the solution of several equations \> 500. It is taki…

---

## [Using an Intel GPU on Macbook Pro](https://discourse.julialang.org/t/using-an-intel-gpu-on-macbook-pro/100782)

<div class="topic-metadata">

**Author:** [@alexdmeyer](https://discourse.julialang.org/u/alexdmeyer)\
**Replies:** 6\
**Last updated:** [June 25, 2023, 8:59am UTC](https://discourse.julialang.org/t/using-an-intel-gpu-on-macbook-pro/100782 "2023-06-25T08:59:46Z")

</div>

Hey Julia Community, I’m only just starting to learn about GPU programming (mainly for deep learning with Flux, but I’m curious if/how I could use it for my other projects). One barrier to getting started, though, is I…

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

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