# Specific Domains

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

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

**Page:** 294

---

## [Modify colorbar in heatmap](https://discourse.julialang.org/t/modify-colorbar-in-heatmap/78544)

<div class="topic-metadata">

**Author:** [@RickDW](https://discourse.julialang.org/u/RickDW)\
**Replies:** 2\
**Last updated:** [March 27, 2022, 3:02pm UTC](https://discourse.julialang.org/t/modify-colorbar-in-heatmap/78544 "2022-03-27T15:02:58Z")

</div>

Hi, I’m trying to create an animation from a sequence of heatmaps, and I want to keep the upper and lower limits of the colorbar steady. I.e. if a value of say 0.5 is plotted using pure white in one frame I want 0.5 to m…

---

## [Merge where date ranges match](https://discourse.julialang.org/t/merge-where-date-ranges-match/78509)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 4\
**Last updated:** [March 27, 2022, 11:15am UTC](https://discourse.julialang.org/t/merge-where-date-ranges-match/78509 "2022-03-27T11:15:30Z")

</div>

“I have two tables that need to be combined. One table contains basic information about deals and another table information about the associated products.Each row consists of a state a deal was in from Start Date Deal to…

---

## [Organize the output of a mathematical model](https://discourse.julialang.org/t/organize-the-output-of-a-mathematical-model/78378)

<div class="topic-metadata">

**Author:** [@haniaitizem](https://discourse.julialang.org/u/haniaitizem)\
**Replies:** 4\
**Last updated:** [March 26, 2022, 5:28pm UTC](https://discourse.julialang.org/t/organize-the-output-of-a-mathematical-model/78378 "2022-03-26T17:28:27Z")

</div>

Hello I have find a matrix q\[j,i,k\] at the end of my work, it represent the quantity of product k that should be ordered by client i from the plant j , I want to organize this output in a table in the row I find the plan…

---

## [Jump using \`max(x...)\` where x is a matrix?](https://discourse.julialang.org/t/jump-using-max-x-where-x-is-a-matrix/78451)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 6\
**Last updated:** [March 26, 2022, 4:35pm UTC](https://discourse.julialang.org/t/jump-using-max-x-where-x-is-a-matrix/78451 "2022-03-26T16:35:01Z")

</div>

I need to revive a previously asked question. I have a problem that involves evaluating the exp function over an array of variables and I want to avoid huge values by centering those variables before appplying exp. I get…

---

## [Random draws of multivariate normal with positive semi-definite covariance matrix](https://discourse.julialang.org/t/random-draws-of-multivariate-normal-with-positive-semi-definite-covariance-matrix/78493)

<div class="topic-metadata">

**Author:** [@AAL](https://discourse.julialang.org/u/AAL)\
**Replies:** 4\
**Last updated:** [March 26, 2022, 3:47pm UTC](https://discourse.julialang.org/t/random-draws-of-multivariate-normal-with-positive-semi-definite-covariance-matrix/78493 "2022-03-26T15:47:52Z")

</div>

I am trying to generate random draws from a multivariate normal distribution with positive semi-definite covariance matrices. The Distributions.jl MvNormal only handles positive definite covariance matrices and throws an…

---

## [Is \`InMemoryDatasets.create\_sysimage\` documented anywhere?](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246)

<div class="topic-metadata">

**Author:** [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Replies:** 4\
**Last updated:** [March 26, 2022, 11:10am UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246 "2022-03-26T11:10:41Z")

</div>

@sl-solution I see there’s a function in your package (not exported) and I think it is for creating sysimage? is it documented somewhere which I can look at?

---

## [MVN CDF -- have it coded, need help getting integrating into Distributions.jl](https://discourse.julialang.org/t/mvn-cdf-have-it-coded-need-help-getting-integrating-into-distributions-jl/38631)

<div class="topic-metadata">

**Author:** [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Replies:** 18\
**Last updated:** [March 25, 2022, 7:43pm UTC](https://discourse.julialang.org/t/mvn-cdf-have-it-coded-need-help-getting-integrating-into-distributions-jl/38631 "2022-03-25T19:43:33Z")

</div>

Summary I have written a Julia function to compute the Multivariate Normal integral. I need a partner who is an expert in Distributions.jl to properly integrate it into the code base. Introduction I have written a fu…

---

## [Why can't I use LaTeX in makie? \[SOLVED\]](https://discourse.julialang.org/t/why-cant-i-use-latex-in-makie-solved/78470)

<div class="topic-metadata">

**Author:** [@Amartins](https://discourse.julialang.org/u/Amartins)\
**Replies:** 5\
**Last updated:** [March 25, 2022, 6:49pm UTC](https://discourse.julialang.org/t/why-cant-i-use-latex-in-makie-solved/78470 "2022-03-25T18:49:08Z")

</div>

I’m trying to understand why my code isn’t working and I can’t use LaTeX in my Makie graph. Can someone help me?

---

## [ForwardDiff and Zygote cannot automatically differentiate (AD) function from C^n to R that uses FFT](https://discourse.julialang.org/t/forwarddiff-and-zygote-cannot-automatically-differentiate-ad-function-from-c-n-to-r-that-uses-fft/52440)

<div class="topic-metadata">

**Author:** [@tholdem](https://discourse.julialang.org/u/tholdem)\
**Replies:** 23\
**Last updated:** [March 25, 2022, 6:28pm UTC](https://discourse.julialang.org/t/forwarddiff-and-zygote-cannot-automatically-differentiate-ad-function-from-c-n-to-r-that-uses-fft/52440 "2022-03-25T18:28:24Z")

</div>

I’ve encountered so many bugs using ForwardDiff and Zygote to do automatic differentiation for my objective function that takes complex vector as input and outputs a real number. I don’t think I have the expertise to deb…

---

## [Regression plots usin Makie.jl](https://discourse.julialang.org/t/regression-plots-usin-makie-jl/78485)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 0\
**Last updated:** [March 25, 2022, 6:24pm UTC](https://discourse.julialang.org/t/regression-plots-usin-makie-jl/78485 "2022-03-25T18:24:35Z")

</div>

There are examples for plotting linear regression using Tutorial 🐧 · Algebra of Graphics ,but i lose all the customization with GitHub - JuliaPlots/Makie.jl: High level plotting on the GPU. Thanks for amazing plotting …

---

## [Simulation running well on K620 but instable on A100?](https://discourse.julialang.org/t/simulation-running-well-on-k620-but-instable-on-a100/77584)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 15\
**Last updated:** [March 25, 2022, 5:36pm UTC](https://discourse.julialang.org/t/simulation-running-well-on-k620-but-instable-on-a100/77584 "2022-03-25T17:36:41Z")

</div>

Hello, I am facing a difficult situation. I am new to GPU computing and I am debugging my code on my computer gpu (an old K620) and then run my simulation on a cluster with A100 cards. The simulation is stable for a l…

---

## [JuMP with user-defined non linear functions](https://discourse.julialang.org/t/jump-with-user-defined-non-linear-functions/78299)

<div class="topic-metadata">

**Author:** [@dkc94](https://discourse.julialang.org/u/dkc94)\
**Replies:** 3\
**Last updated:** [March 25, 2022, 12:43pm UTC](https://discourse.julialang.org/t/jump-with-user-defined-non-linear-functions/78299 "2022-03-25T12:43:10Z")

</div>

Hi everyone! I am new to Julia and I am trying to solve a highly non linear optimization problem. I am encountering a problem when registering the objective function and very little idea about what could be going on. He…

---

## [Speed up ArchGDAL.contains for thousands of data](https://discourse.julialang.org/t/speed-up-archgdal-contains-for-thousands-of-data/77847)

<div class="topic-metadata">

**Author:** [@Frankiewaang](https://discourse.julialang.org/u/Frankiewaang)\
**Replies:** 8\
**Last updated:** [March 25, 2022, 12:39pm UTC](https://discourse.julialang.org/t/speed-up-archgdal-contains-for-thousands-of-data/77847 "2022-03-25T12:39:52Z")

</div>

Hi Guys, I have geopoints like this import ArchGDAL as AG lon = LinRange(-180,180,7500) lat = LinRange(-90,90,5500) function meshgrid(x, y) X = \[i for i in x, j in 1:length(y)\] Y = \[j for i in 1:length(x), j i…

---

## [JuMP : optimize!(model)](https://discourse.julialang.org/t/jump-optimize-model/78445)

<div class="topic-metadata">

**Author:** [@iAnkiit](https://discourse.julialang.org/u/iAnkiit)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 7:59am UTC](https://discourse.julialang.org/t/jump-optimize-model/78445 "2022-03-25T07:59:22Z")

</div>

Why do we need solvers , if we can solve model with : optimize!(model\_name) ? How optimize! works? What solvers actually does ? What if we don’t define solvers?

---

## [ANN: JuMP 1.0 is released](https://discourse.julialang.org/t/ann-jump-1-0-is-released/78425)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 5\
**Last updated:** [March 25, 2022, 2:53am UTC](https://discourse.julialang.org/t/ann-jump-1-0-is-released/78425 "2022-03-25T02:53:56Z")

</div>

Dear all, We are very pleased to announce the release of JuMP 1.0! You can read more about it here: JuMP 1.0.0 is released | JuMP A big thank you to all of the contributors over the last (nearly) 10 years! You can fin…

---

## ["Crunch" RGB pixels into 0-1 range](https://discourse.julialang.org/t/crunch-rgb-pixels-into-0-1-range/78428)

<div class="topic-metadata">

**Author:** [@theta](https://discourse.julialang.org/u/theta)\
**Replies:** 3\
**Last updated:** [March 24, 2022, 11:17pm UTC](https://discourse.julialang.org/t/crunch-rgb-pixels-into-0-1-range/78428 "2022-03-24T23:17:36Z")

</div>

Hi, I’m messing around with image generation in Julia. I just realized that some of the pixels I’m generating have red, green, or blue values outside of the range \[0,1\]. For example, one of my pixels looks like RGB{Floa…

---

## [Equivalent of old syntax @constraintref](https://discourse.julialang.org/t/equivalent-of-old-syntax-constraintref/78315)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 5:39pm UTC](https://discourse.julialang.org/t/equivalent-of-old-syntax-constraintref/78315 "2022-03-24T17:39:43Z")

</div>

I came across @constraintref macro which was available in older versions of JuMP to generate constraints in a loop. This was removed in latest releases. How could I perform the same functionality in the latest version of…

---

## [How to obtain the gradients of intermediate variables with Flux](https://discourse.julialang.org/t/how-to-obtain-the-gradients-of-intermediate-variables-with-flux/55913)

<div class="topic-metadata">

**Author:** [@AquaIndigo](https://discourse.julialang.org/u/AquaIndigo)\
**Replies:** 11\
**Last updated:** [March 24, 2022, 1:24pm UTC](https://discourse.julialang.org/t/how-to-obtain-the-gradients-of-intermediate-variables-with-flux/55913 "2022-03-24T13:24:22Z")

</div>

Hi, I would like to get the gradients of the outputs of some hidden layer. For example,y = 5x, z = y / 4 and I want to obtain \\frac{\\partial z}{\\partial y}, but y is the intermediate output of an NN. So how can I do tha…

---

## [Makie: heatmap with inset](https://discourse.julialang.org/t/makie-heatmap-with-inset/78372)

<div class="topic-metadata">

**Author:** [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Replies:** 4\
**Last updated:** [March 24, 2022, 11:50am UTC](https://discourse.julialang.org/t/makie-heatmap-with-inset/78372 "2022-03-24T11:50:33Z")

</div>

Hi everyone, I am trying to plot an inset inside of a heatmap and would like a semi-transparent background for the inset to make the line more visible. However, it seems that all “background” attributes (i.e. axis tick…

---

## [BoundsError on Bayesian ODE model with Turing](https://discourse.julialang.org/t/boundserror-on-bayesian-ode-model-with-turing/74147)

<div class="topic-metadata">

**Author:** [@spinystellate](https://discourse.julialang.org/u/spinystellate)\
**Replies:** 13\
**Last updated:** [March 24, 2022, 8:47am UTC](https://discourse.julialang.org/t/boundserror-on-bayesian-ode-model-with-turing/74147 "2022-03-24T08:47:53Z")

</div>

I posted this question here already: but unfortunately it has not attracted any responses, so I think it may be more appropriate in this category. (I did not seem to be able to edit the category in the original post.) …

---

## [Julia for Data Science](https://discourse.julialang.org/t/julia-for-data-science/78341)

<div class="topic-metadata">

**Author:** [@LispyArnuld](https://discourse.julialang.org/u/LispyArnuld)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 6:56pm UTC](https://discourse.julialang.org/t/julia-for-data-science/78341 "2022-03-23T18:56:54Z")

</div>

I searched for “Julia for data science” and got these 2 hits. Are these good places to learn from: https://juliadatascience.io/

---

## [Replace a JuMP variable by a number](https://discourse.julialang.org/t/replace-a-jump-variable-by-a-number/78158)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 5\
**Last updated:** [March 23, 2022, 4:58pm UTC](https://discourse.julialang.org/t/replace-a-jump-variable-by-a-number/78158 "2022-03-23T16:58:41Z")

</div>

I have a large optimization problem written in JuMP.jl and do not get the expected results. To debug my program, I want to replace the variables in constraints by their values found by an analytical calculation. That is,…

---

## [DeepLearning Visualization / interpretation methods](https://discourse.julialang.org/t/deeplearning-visualization-interpretation-methods/78334)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 2:26pm UTC](https://discourse.julialang.org/t/deeplearning-visualization-interpretation-methods/78334 "2022-03-23T14:26:13Z")

</div>

Hi, Does anyone know if there is any implementation of GradCam and or other Visualization techniques of DeepLearning models? I found an old package that does not work with the Flux+Zygote ( https://github.com/avik-pal/…

---

## [Fitting a binary model where the groups are on both sides](https://discourse.julialang.org/t/fitting-a-binary-model-where-the-groups-are-on-both-sides/78327)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 10:49am UTC](https://discourse.julialang.org/t/fitting-a-binary-model-where-the-groups-are-on-both-sides/78327 "2022-03-23T10:49:19Z")

</div>

I’m trying to fit a model to predict graduation versus dropout, that is, a binary logistic regression. Theoretically and based on the data, I suspect that dropouts are more likely to be extremely slow or extremely quick,…

---

## [Gradient of ldiv trace on CUDA](https://discourse.julialang.org/t/gradient-of-ldiv-trace-on-cuda/78283)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 3\
**Last updated:** [March 23, 2022, 10:19am UTC](https://discourse.julialang.org/t/gradient-of-ldiv-trace-on-cuda/78283 "2022-03-23T10:19:38Z")

</div>

Hello, I’m trying to differentiate a left matrix division on CuArrays. I actually have the L parts l1,l2 of lu-decompositions of two matrices M1, M2 respectively. So m = l1\*l1' I made two functions, one that reconstruc…

---

## [Trouble with sequential LP solve (JuMP, HiGHS)](https://discourse.julialang.org/t/trouble-with-sequential-lp-solve-jump-highs/78203)

<div class="topic-metadata">

**Author:** [@gleyland](https://discourse.julialang.org/u/gleyland)\
**Replies:** 4\
**Last updated:** [March 23, 2022, 5:29am UTC](https://discourse.julialang.org/t/trouble-with-sequential-lp-solve-jump-highs/78203 "2022-03-23T05:29:57Z")

</div>

Hi, I’m afraid this is going to be completely unreproduceable, but after a couple of days I’m starting to think that my problem might not be entirely my own mistakes. I’m using JuMP and HiGHS (or Gurobi) to solve seque…

---

## [How to run Stan diagnose binary using StanSample.jl](https://discourse.julialang.org/t/how-to-run-stan-diagnose-binary-using-stansample-jl/78304)

<div class="topic-metadata">

**Author:** [@Stephen\_Wild](https://discourse.julialang.org/u/Stephen_Wild)\
**Replies:** 3\
**Last updated:** [March 22, 2022, 11:59pm UTC](https://discourse.julialang.org/t/how-to-run-stan-diagnose-binary-using-stansample-jl/78304 "2022-03-22T23:59:58Z")

</div>

Hello, I am trying to run Stan’s diagnose binary on a model. Unfortunately, I am getting an error. Here is some reproducible code using the example bernoulli model. using StanSample, DataFrames ProjDir = @\_\_DIR\_\_ ber…

---

## [Lag/lead in panel data](https://discourse.julialang.org/t/lag-lead-in-panel-data/48140)

<div class="topic-metadata">

**Author:** [@RangeFu](https://discourse.julialang.org/u/RangeFu)\
**Replies:** 18\
**Last updated:** [March 22, 2022, 11:34pm UTC](https://discourse.julialang.org/t/lag-lead-in-panel-data/48140 "2022-03-22T23:34:42Z")

</div>

I just transitted from Stata/Pandas to DataFrames.jl. I was wondering what the best practice is to deal with panel data in Julia. One of the common manipulations for panel data is the lag/lead operator for each individu…

---

## [Variable Length Optimization Algorithms?](https://discourse.julialang.org/t/variable-length-optimization-algorithms/78285)

<div class="topic-metadata">

**Author:** [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Replies:** 3\
**Last updated:** [March 22, 2022, 8:02pm UTC](https://discourse.julialang.org/t/variable-length-optimization-algorithms/78285 "2022-03-22T20:02:49Z")

</div>

Are there any implementations of algorithms for variable-length optimization, where the number of parameters can vary? Examples can be found here (particle swarm based), here, here, and here (genetic algorithms). (If no…

---

## [ForwardDiff and Zygote return wrong jacobian for log(det(L))](https://discourse.julialang.org/t/forwarddiff-and-zygote-return-wrong-jacobian-for-log-det-l/77961)

<div class="topic-metadata">

**Author:** [@spinkney](https://discourse.julialang.org/u/spinkney)\
**Replies:** 9\
**Last updated:** [March 22, 2022, 6:51pm UTC](https://discourse.julialang.org/t/forwarddiff-and-zygote-return-wrong-jacobian-for-log-det-l/77961 "2022-03-22T18:51:43Z")

</div>

I’m no expert in matrix derivatives so I may have made a mistake. The derivative of the log determinant of a Cholesky factor is \\frac{\\partial \\log|L|}{\\partial L} = L^{-T} using a toy example in Julia using Zygote S…

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

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