# Specific Domains

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

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

**Page:** 236

---

## [Using integrator time derivative for implementing residual viscosity with DiffEq.jl](https://discourse.julialang.org/t/using-integrator-time-derivative-for-implementing-residual-viscosity-with-diffeq-jl/90216)

<div class="topic-metadata">

**Author:** [@jarias9](https://discourse.julialang.org/u/jarias9)\
**Replies:** 2\
**Last updated:** [November 15, 2022, 3:39pm UTC](https://discourse.julialang.org/t/using-integrator-time-derivative-for-implementing-residual-viscosity-with-diffeq-jl/90216 "2022-11-15T15:39:38Z")

</div>

Hello all, I have been trying to implement a concept known as residual viscosity to stabilize a fluid simulation inside of DiffEq.jl. In general, I would need access to the derivative of the integrator in order to do t…

---

## [MetaGraphs.jl PR pending](https://discourse.julialang.org/t/metagraphs-jl-pr-pending/90101)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 1\
**Last updated:** [November 15, 2022, 3:32pm UTC](https://discourse.julialang.org/t/metagraphs-jl-pr-pending/90101 "2022-11-15T15:32:43Z")

</div>

Could someone please have a look at my PR from March ? I am developing a side package that may be soon published and I wouldn’t want to have a dependency pointing to my fork… Sorry for bringing my request here. I’ve a…

---

## [How to build a network of networks graph (i.e. how to connect modules)?](https://discourse.julialang.org/t/how-to-build-a-network-of-networks-graph-i-e-how-to-connect-modules/88902)

<div class="topic-metadata">

**Author:** [@KalelR](https://discourse.julialang.org/u/KalelR)\
**Replies:** 3\
**Last updated:** [November 15, 2022, 3:30pm UTC](https://discourse.julialang.org/t/how-to-build-a-network-of-networks-graph-i-e-how-to-connect-modules/88902 "2022-11-15T15:30:08Z")

</div>

Hello I am new to using Graphs.jl and I would like to know a good way to build a graph for a network of networks. My specific application is to build a graph representing something like what is shown in the figure: 4…

---

## [How to get number of real levels of InteractionTerm from fitted model (GLM) via StatsModels?](https://discourse.julialang.org/t/how-to-get-number-of-real-levels-of-interactionterm-from-fitted-model-glm-via-statsmodels/89846)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 10\
**Last updated:** [November 15, 2022, 2:59pm UTC](https://discourse.julialang.org/t/how-to-get-number-of-real-levels-of-interactionterm-from-fitted-model-glm-via-statsmodels/89846 "2022-11-15T14:59:06Z")

</div>

I want to get a number of levels of InteractionTerm (not all combination, but real exist) from the fitted model. I can’t get it as the number of columns in model-matrix because it can be made with DummyCoding or FulDummy…

---

## [Solving sparse, linear equations?](https://discourse.julialang.org/t/solving-sparse-linear-equations/90238)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 10\
**Last updated:** [November 15, 2022, 12:09pm UTC](https://discourse.julialang.org/t/solving-sparse-linear-equations/90238 "2022-11-15T12:09:00Z")

</div>

I have a linear equation AA\*z = bb where AA is a full rank, sparse matrix : julia\> AA 650×650 SparseMatrixCSC{Float64, Int64} with 2280 stored entries: ... When I try to solve the equation, I get an error message: ju…

---

## [Can I index a DataFrame using a String key?](https://discourse.julialang.org/t/can-i-index-a-dataframe-using-a-string-key/90251)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 7\
**Last updated:** [November 15, 2022, 10:39am UTC](https://discourse.julialang.org/t/can-i-index-a-dataframe-using-a-string-key/90251 "2022-11-15T10:39:59Z")

</div>

Hi all! So I’m writing some code where I need to access some properties of some machine register. I want to store both the value the register it’s initializated to and its binary weight. Using a DataFrame and the count\_…

---

## [Lagragian multipliers in JuMP](https://discourse.julialang.org/t/lagragian-multipliers-in-jump/90234)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 6\
**Last updated:** [November 15, 2022, 8:58am UTC](https://discourse.julialang.org/t/lagragian-multipliers-in-jump/90234 "2022-11-15T08:58:47Z")

</div>

I appreciate questions about Lagrange multipliers in Jump have been discussed before, here the sign change is described. However, I’m having trouble reproducing example 6.32 (page 163) in Nonlinear and mixed-integer opti…

---

## [MPI.API.MPI\_Reduce\_scatter ERRORS](https://discourse.julialang.org/t/mpi-api-mpi-reduce-scatter-errors/90093)

<div class="topic-metadata">

**Author:** [@Neo](https://discourse.julialang.org/u/Neo)\
**Replies:** 7\
**Last updated:** [November 15, 2022, 6:09am UTC](https://discourse.julialang.org/t/mpi-api-mpi-reduce-scatter-errors/90093 "2022-11-15T06:09:09Z")

</div>

From low-level API in MPI.jl, we know MPI.API.MPI\_Reduce\_scatter(sendbuf, recvbuf, recvcounts, datatype, op, comm) When I ran the code below with mpiexecjl -n 3 julia testReduce\_scatter.jl: # testReduce\_scatter.jl usi…

---

## [What is the difference (interpretation) between the partial R^2 and the SHAP value for a linear regression model?](https://discourse.julialang.org/t/what-is-the-difference-interpretation-between-the-partial-r-2-and-the-shap-value-for-a-linear-regression-model/90265)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 11:27pm UTC](https://discourse.julialang.org/t/what-is-the-difference-interpretation-between-the-partial-r-2-and-the-shap-value-for-a-linear-regression-model/90265 "2022-11-14T23:27:31Z")

</div>

Both calculate the contribution of a given variable to the output’s variability but… To calculate the coefficient of partial determination R2 for a given variable: We calculate the R2 with and without that variable and…

---

## [Regression with categorical variables. Reference porevious levels. Dummy](https://discourse.julialang.org/t/regression-with-categorical-variables-reference-porevious-levels-dummy/90194)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 5\
**Last updated:** [November 14, 2022, 11:08pm UTC](https://discourse.julialang.org/t/regression-with-categorical-variables-reference-porevious-levels-dummy/90194 "2022-11-14T23:08:49Z")

</div>

Hello. If a do a linear regression model I can include the year as a categorical variable (instead of numerical) in order to estimate a different coefficient for each year. This is commonly done when the variable is not…

---

## [Proper use of MDS and PCA](https://discourse.julialang.org/t/proper-use-of-mds-and-pca/90257)

<div class="topic-metadata">

**Author:** [@JosieG](https://discourse.julialang.org/u/JosieG)\
**Replies:** 4\
**Last updated:** [November 14, 2022, 9:40pm UTC](https://discourse.julialang.org/t/proper-use-of-mds-and-pca/90257 "2022-11-14T21:40:49Z")

</div>

Assume I have a 20\*85 matrix. Here is my code M = fit(PCA, matrix; maxoutdim=2) Yte = predict(M, matrix) M1 = fit(MDS, matrix; maxoutdim=2, distances=false) Yte1 = predict(M1) My Yte and Yte1 are identicall…

---

## [What is the future of StatsModels.jl](https://discourse.julialang.org/t/what-is-the-future-of-statsmodels-jl/90255)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 6:47pm UTC](https://discourse.julialang.org/t/what-is-the-future-of-statsmodels-jl/90255 "2022-11-14T18:47:21Z")

</div>

Hi! I am afraid, that more than year there was no significant commits into StatsModels.jl. As I understand devs are planning to remake FunctionTerm and some other less sensitive things. So I try to understand what is rea…

---

## [A Kerchunk-like package for Julia](https://discourse.julialang.org/t/a-kerchunk-like-package-for-julia/89996)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 10\
**Last updated:** [November 14, 2022, 4:08pm UTC](https://discourse.julialang.org/t/a-kerchunk-like-package-for-julia/89996 "2022-11-14T16:08:32Z")

</div>

Does anyone know if there is a Kerchunk-like package for Julia or if there is any work towards such a package? Kerchunk for Julia would be immensely useful.

---

## [Sample \`arraydist\` of \`filldist\`s in Turing](https://discourse.julialang.org/t/sample-arraydist-of-filldist-s-in-turing/90225)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 8:35am UTC](https://discourse.julialang.org/t/sample-arraydist-of-filldist-s-in-turing/90225 "2022-11-14T08:35:09Z")

</div>

Is it possible to sample many filldistss using arraydist in Turing.jl? For example, say I have data of the following structure: and every key-value comes from an Exponential distribution. I know of a prior for each…

---

## [Gurobi v10 and Julia](https://discourse.julialang.org/t/gurobi-v10-and-julia/90220)

<div class="topic-metadata">

**Author:** [@MirelEce](https://discourse.julialang.org/u/MirelEce)\
**Replies:** 2\
**Last updated:** [November 14, 2022, 2:59am UTC](https://discourse.julialang.org/t/gurobi-v10-and-julia/90220 "2022-11-14T02:59:38Z")

</div>

Hi there! I saw on Github that support for the version 10 of Gurobi is added and I just updated to that release of Gurobi; however couldn’t manage to use it in Julia (v1.7.2). I removed the package and added it again aft…

---

## [How to tell ModelingToolkit that two variables have the same initial conditions without computing them](https://discourse.julialang.org/t/how-to-tell-modelingtoolkit-that-two-variables-have-the-same-initial-conditions-without-computing-them/87999)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 6\
**Last updated:** [November 12, 2022, 2:46pm UTC](https://discourse.julialang.org/t/how-to-tell-modelingtoolkit-that-two-variables-have-the-same-initial-conditions-without-computing-them/87999 "2022-11-12T14:46:48Z")

</div>

Suppose that we have a differential-algebraic system of equations, with two variables f(t) and g(t) such that f(0) = g(0). Suppose moreover that g(t) is algebraic and g(0) could be explicitly calculated. Is it possible …

---

## [Dojo - simulating a quadcopter](https://discourse.julialang.org/t/dojo-simulating-a-quadcopter/90050)

<div class="topic-metadata">

**Author:** [@Daniel\_Lewis](https://discourse.julialang.org/u/Daniel_Lewis)\
**Replies:** 2\
**Last updated:** [November 13, 2022, 6:46am UTC](https://discourse.julialang.org/t/dojo-simulating-a-quadcopter/90050 "2022-11-13T06:46:26Z")

</div>

Hello, I started working on a multi rigid body dynamic using Dojo.jl. I’m interested in simulating a Quadcopter, my question is : How can I simulate the fan’s thrust force? thanks Daniel

---

## [Fastq to OTU table pipeline in julia](https://discourse.julialang.org/t/fastq-to-otu-table-pipeline-in-julia/90183)

<div class="topic-metadata">

**Author:** [@Ritu\_Lahkar](https://discourse.julialang.org/u/Ritu_Lahkar)\
**Replies:** 0\
**Last updated:** [November 13, 2022, 4:21am UTC](https://discourse.julialang.org/t/fastq-to-otu-table-pipeline-in-julia/90183 "2022-11-13T04:21:07Z")

</div>

Is there any available julia pipeline for analysis of FASTQ data into OTU tables? If yes any reference of how to use or any documentation?

---

## [Why are the return-values of fft and fftfreq so terrible?](https://discourse.julialang.org/t/why-are-the-return-values-of-fft-and-fftfreq-so-terrible/87510)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 16\
**Last updated:** [November 12, 2022, 10:48pm UTC](https://discourse.julialang.org/t/why-are-the-return-values-of-fft-and-fftfreq-so-terrible/87510 "2022-11-12T22:48:46Z")

</div>

The situation When I calculate the fft of a signal, I want to plot it almost every time. However, there is a number of operations that I want to do each time, as the output from fft and fftfreq is honestly terrible. So …

---

## [Creating a new variable in JuMP with other variables already existing](https://discourse.julialang.org/t/creating-a-new-variable-in-jump-with-other-variables-already-existing/90138)

<div class="topic-metadata">

**Author:** [@afazevedo](https://discourse.julialang.org/u/afazevedo)\
**Replies:** 4\
**Last updated:** [November 12, 2022, 10:02pm UTC](https://discourse.julialang.org/t/creating-a-new-variable-in-jump-with-other-variables-already-existing/90138 "2022-11-12T22:02:09Z")

</div>

Hi there. Can anyone help me? I’m doing sort of implementation of a column generation model and after finding a new pattern I want to add a new variable from a existing set of existing variables. Example: This is my ma…

---

## [How to rewrite a jax model with stacked parameters](https://discourse.julialang.org/t/how-to-rewrite-a-jax-model-with-stacked-parameters/90150)

<div class="topic-metadata">

**Author:** [@Frankiewaang](https://discourse.julialang.org/u/Frankiewaang)\
**Replies:** 6\
**Last updated:** [November 12, 2022, 8:15pm UTC](https://discourse.julialang.org/t/how-to-rewrite-a-jax-model-with-stacked-parameters/90150 "2022-11-12T20:15:48Z")

</div>

Hi, I have been using Julia for a while but new to the Julia ML ecosystem. I want to rewrite a lease square monte carlo model with neural nets using Lux or Flux. Here is the main code from python’s jax, basically it wou…

---

## [Constrained Priors and Bijectors](https://discourse.julialang.org/t/constrained-priors-and-bijectors/90141)

<div class="topic-metadata">

**Author:** [@marcobonici](https://discourse.julialang.org/u/marcobonici)\
**Replies:** 7\
**Last updated:** [November 12, 2022, 7:07pm UTC](https://discourse.julialang.org/t/constrained-priors-and-bijectors/90141 "2022-11-12T19:07:21Z")

</div>

Hi to everybody! I have been using AdvancedHMC NUTS implementation and I am quite satisfied with the result I am obtaining. The model I am trying to study is quite simple logℓ(θ) = logpdf(MvNormal(data, mycov), theory…

---

## [Bar Chart with error bars plots](https://discourse.julialang.org/t/bar-chart-with-error-bars-plots/90155)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 2\
**Last updated:** [November 12, 2022, 10:24am UTC](https://discourse.julialang.org/t/bar-chart-with-error-bars-plots/90155 "2022-11-12T10:24:10Z")

</div>

If i have a dataset as follow: df = DataFrame( group = \["A", "B", "C"\], total = \[7.7, 4.6, 5.1\], std\_error = \[0.04, 0.05, 0.06\] ) How can I create a Barplot with error bars, using plots and statplots? Simil…

---

## [Makie - How to set custom x and y tick values in a Makie heatmap](https://discourse.julialang.org/t/makie-how-to-set-custom-x-and-y-tick-values-in-a-makie-heatmap/81397)

<div class="topic-metadata">

**Author:** [@Brinkhuis](https://discourse.julialang.org/u/Brinkhuis)\
**Replies:** 2\
**Last updated:** [May 21, 2022, 7:06am UTC](https://discourse.julialang.org/t/makie-how-to-set-custom-x-and-y-tick-values-in-a-makie-heatmap/81397 "2022-05-21T07:06:30Z")

</div>

I want to make a heatmap in Julia using Makie (CairoMakie) with custom x and y tick values on the axes, like this one from Seaborn. Any suggestions on how to modify the figure to het the months January to December on th…

---

## [Fast tile search](https://discourse.julialang.org/t/fast-tile-search/89821)

<div class="topic-metadata">

**Author:** [@00shiv](https://discourse.julialang.org/u/00shiv)\
**Replies:** 6\
**Last updated:** [November 11, 2022, 10:56pm UTC](https://discourse.julialang.org/t/fast-tile-search/89821 "2022-11-11T22:56:49Z")

</div>

The following code (using Tullio.jl): @tullio dists\[u,v,n\] := abs( query\[i, j, ch\] - images\[u+i-1, v+j-1, ch, n\] ) is very fast on my AVX512 capable 4-core CPU. I would like to run this even faster on my CUDA capable …

---

## [How to draw multiple graphs in one big graph using vegalite package?](https://discourse.julialang.org/t/how-to-draw-multiple-graphs-in-one-big-graph-using-vegalite-package/90128)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 11, 2022, 4:18pm UTC](https://discourse.julialang.org/t/how-to-draw-multiple-graphs-in-one-big-graph-using-vegalite-package/90128 "2022-11-11T16:18:27Z")

</div>

Hi, I got the following datasets: Im trying to produce a graph with x axis be job title, y be salary\_in\_usd and color in different experience level, something like this: I need to do it in vegalite but I didn’t fi…

---

## [How to draw three box plot for each job title in each year from 2020,2021,2022(using vegalite)?](https://discourse.julialang.org/t/how-to-draw-three-box-plot-for-each-job-title-in-each-year-from-2020-2021-2022-using-vegalite/90125)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 11, 2022, 3:42pm UTC](https://discourse.julialang.org/t/how-to-draw-three-box-plot-for-each-job-title-in-each-year-from-2020-2021-2022-using-vegalite/90125 "2022-11-11T15:42:32Z")

</div>

Hi, I have got this dataset: and so far I have draw this: I need to draw three box plot for each job title to represent the different work year from 2020,2021,2022(use vegalite package), can someone please give …

---

## [Number groups in dataframe](https://discourse.julialang.org/t/number-groups-in-dataframe/90069)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 7\
**Last updated:** [November 11, 2022, 3:10pm UTC](https://discourse.julialang.org/t/number-groups-in-dataframe/90069 "2022-11-11T15:10:25Z")

</div>

This is probably very each but I just cannot figure it out. Let’s say I have a dataframe df = DataFrame(x = rand(6), g = \["c", "c", "a", "b", "b", "b"\]) 6×2 DataFrame Row │ x g │ Float64 String …

---

## [How to make the jitter by using vegalite package](https://discourse.julialang.org/t/how-to-make-the-jitter-by-using-vegalite-package/90123)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 0\
**Last updated:** [November 11, 2022, 2:47pm UTC](https://discourse.julialang.org/t/how-to-make-the-jitter-by-using-vegalite-package/90123 "2022-11-11T14:47:21Z")

</div>

Hi, I got the following graph for each job title with salary in box plot: so there are some outliers here, presented as dot, I want to make some jitters like this for each job title have outliers: Is there any w…

---

## [What is the standard font used by Vegalite.jl?](https://discourse.julialang.org/t/what-is-the-standard-font-used-by-vegalite-jl/31595)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 13\
**Last updated:** [November 11, 2022, 2:23pm UTC](https://discourse.julialang.org/t/what-is-the-standard-font-used-by-vegalite-jl/31595 "2022-11-11T14:23:14Z")

</div>

What is the standard font used for text in Vegalite.jl? This seemed like the right forum to ask. If wrong, can a moderator move it to the right one? Thanks.

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

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