# Specific Domains

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

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

**Page:** 303

---

## [PCA Output?](https://discourse.julialang.org/t/pca-output/22687)

<div class="topic-metadata">

**Author:** [@Gunter\_Faes](https://discourse.julialang.org/u/Gunter_Faes)\
**Replies:** 25\
**Last updated:** [February 17, 2022, 7:36am UTC](https://discourse.julialang.org/t/pca-output/22687 "2022-02-17T07:36:46Z")

</div>

Thanks to your support I can now estimate my PCA model and get the following output (MultivariateStats): PCA(indim = 1599, outdim = 3, principalratio = 0.99857) The methods offered by PCA seem a little rudimentary to m…

---

## [Which is better Makie or Graphs?](https://discourse.julialang.org/t/which-is-better-makie-or-graphs/76508)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 7\
**Last updated:** [February 17, 2022, 4:24am UTC](https://discourse.julialang.org/t/which-is-better-makie-or-graphs/76508 "2022-02-17T04:24:41Z")

</div>

I’m trying to visually see how some functions converge and use it for some other visualizations of functions or 3d simulations and I’m wondering which one is better, or should I learn both? Initially I choose Makie, but …

---

## [Supress scale bar in gadfly](https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520)

<div class="topic-metadata">

**Author:** [@evan-wehi](https://discourse.julialang.org/u/evan-wehi)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 12:36am UTC](https://discourse.julialang.org/t/supress-scale-bar-in-gadfly/76520 "2022-02-17T00:36:18Z")

</div>

I’m sure this is obvious, but I’ve been searching for hours for a solution. How do I suppress the “Count” scale bar on the right? using Gadfly # code plot(x=dnas, y=brdus, Geom.histogram2d, Guide.xlabel("DNA"), Guid…

---

## [How to force Flux to use FiniteDiff](https://discourse.julialang.org/t/how-to-force-flux-to-use-finitediff/76324)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 16\
**Last updated:** [February 16, 2022, 10:48pm UTC](https://discourse.julialang.org/t/how-to-force-flux-to-use-finitediff/76324 "2022-02-16T22:48:47Z")

</div>

I have loss() function. FiniteDiff.finite\_difference\_derivative - works great with the this loss() ForwardDiff.derivative - doesn’t work at all. As result Flux.train!(loss,Flux.params(NNODE),data,ADAM(0.001)) doesn’t …

---

## [Finding points in a Delaunay triangulation](https://discourse.julialang.org/t/finding-points-in-a-delaunay-triangulation/71154)

<div class="topic-metadata">

**Author:** [@jmaffi](https://discourse.julialang.org/u/jmaffi)\
**Replies:** 14\
**Last updated:** [February 16, 2022, 9:26pm UTC](https://discourse.julialang.org/t/finding-points-in-a-delaunay-triangulation/71154 "2022-02-16T21:26:45Z")

</div>

Hello everyone, Is there a specific package/function that computes the id’s of the simplices that contain a given (probably large) set of points in a n-d Delaunay triangulation? Something equivalent to Matlab’s tsearchn …

---

## [\`dmperm\` of \`MATLAB\` from/in Julia?](https://discourse.julialang.org/t/dmperm-of-matlab-from-in-julia/76586)

<div class="topic-metadata">

**Author:** [@pitsianis](https://discourse.julialang.org/u/pitsianis)\
**Replies:** 1\
**Last updated:** [February 16, 2022, 9:19pm UTC](https://discourse.julialang.org/t/dmperm-of-matlab-from-in-julia/76586 "2022-02-16T21:19:00Z")

</div>

Is there a Julia implementation of or access to a library with the Dulmage-Mendelsohn permutation, as the dmperm of MATLAB ? Now that SuiteSparse ships with the Julia stdlib, it should be relatively easier to implement. …

---

## [Neural ODE minibatch error with multi-dimension input condition](https://discourse.julialang.org/t/neural-ode-minibatch-error-with-multi-dimension-input-condition/76121)

<div class="topic-metadata">

**Author:** [@lindblot](https://discourse.julialang.org/u/lindblot)\
**Replies:** 5\
**Last updated:** [February 16, 2022, 9:07pm UTC](https://discourse.julialang.org/t/neural-ode-minibatch-error-with-multi-dimension-input-condition/76121 "2022-02-16T21:07:11Z")

</div>

Hello - I’m trying to add minibatching to a problem discussed in https://discourse.julialang.org/t/neuralode-layer-strategy/71297/4. I’ve successfully refactored the code to predict either a single u0 or matrix of u0s, …

---

## [BioJulia OpenCollective](https://discourse.julialang.org/t/biojulia-opencollective/75997)

<div class="topic-metadata">

**Author:** [@XVilka](https://discourse.julialang.org/u/XVilka)\
**Replies:** 2\
**Last updated:** [February 16, 2022, 5:52pm UTC](https://discourse.julialang.org/t/biojulia-opencollective/75997 "2022-02-16T17:52:46Z")

</div>

Sorry for the annoyance, but I wonder why BioJulia OpenCollective and blog wasn’t updated for years: https://opencollective.com/biojulia As a small backer of the package I hope those money don’t sit idle and help the de…

---

## [How to create matrix of rgb values from a plot object](https://discourse.julialang.org/t/how-to-create-matrix-of-rgb-values-from-a-plot-object/76500)

<div class="topic-metadata">

**Author:** [@Rik](https://discourse.julialang.org/u/Rik)\
**Replies:** 5\
**Last updated:** [February 16, 2022, 2:39pm UTC](https://discourse.julialang.org/t/how-to-create-matrix-of-rgb-values-from-a-plot-object/76500 "2022-02-16T14:39:49Z")

</div>

I’ve been trying to go from a plot to a matrix of rgb values for a while now and the best solution I could come up with makes use of saving the plot as png and then loading it as an image. This is of course a very dirty …

---

## [Getting the length of remote channels](https://discourse.julialang.org/t/getting-the-length-of-remote-channels/76554)

<div class="topic-metadata">

**Author:** [@RogerP](https://discourse.julialang.org/u/RogerP)\
**Replies:** 0\
**Last updated:** [February 16, 2022, 12:14pm UTC](https://discourse.julialang.org/t/getting-the-length-of-remote-channels/76554 "2022-02-16T12:14:53Z")

</div>

A somewhat similar question to this was raised here Channel Monitoring Statistics. I want to use remote channels as if they were regular buffers, e.g. Circular Buffers from DataStructures.jl, however those are difficult …

---

## [\[FixedEffectModels.jl\] Getting strange MethodError on fresh install](https://discourse.julialang.org/t/fixedeffectmodels-jl-getting-strange-methoderror-on-fresh-install/76505)

<div class="topic-metadata">

**Author:** [@sagarsxn](https://discourse.julialang.org/u/sagarsxn)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 11:43pm UTC](https://discourse.julialang.org/t/fixedeffectmodels-jl-getting-strange-methoderror-on-fresh-install/76505 "2022-02-15T23:43:44Z")

</div>

Hi, I am new to Julia and trying to work with FixedEffectModels.jl but I am unable to get it to work without throwing the following error: MethodError: no method matching stderror(::FixedEffectModel) I have tried unins…

---

## [Problems on training LSTM](https://discourse.julialang.org/t/problems-on-training-lstm/76471)

<div class="topic-metadata">

**Author:** [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 11:02pm UTC](https://discourse.julialang.org/t/problems-on-training-lstm/76471 "2022-02-15T23:02:44Z")

</div>

I’m trying to use LSTM to forecast the trend of Covid-19. Code is below: using MAT using Plots using Measures using Flux using DifferentialEquations using DiffEqFlux using LaTeXStrings #data importing vars = matread("")…

---

## [Community/getting involved in NLP in Julia](https://discourse.julialang.org/t/community-getting-involved-in-nlp-in-julia/76510)

<div class="topic-metadata">

**Author:** [@mostol](https://discourse.julialang.org/u/mostol)\
**Replies:** 0\
**Last updated:** [February 15, 2022, 8:22pm UTC](https://discourse.julialang.org/t/community-getting-involved-in-nlp-in-julia/76510 "2022-02-15T20:22:45Z")

</div>

I’m just starting out in Julia (and programming/open source in general, to a big extent), and I’d love to try to make some contributions and get involved in the community. In particular, I’m working on a degree in Human …

---

## [Consistency checks missing when constructing linear algebra objects](https://discourse.julialang.org/t/consistency-checks-missing-when-constructing-linear-algebra-objects/76419)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 3\
**Last updated:** [February 15, 2022, 7:22pm UTC](https://discourse.julialang.org/t/consistency-checks-missing-when-constructing-linear-algebra-objects/76419 "2022-02-15T19:22:14Z")

</div>

I have the following question which virtually applies to all defined linear algebra objects in Julia/LinearAlgebra: Why there are no consistency checks when constructing linear algebra objects? As an example, let’s con…

---

## [Random numbers in KernelAbstractions](https://discourse.julialang.org/t/random-numbers-in-kernelabstractions/76476)

<div class="topic-metadata">

**Author:** [@lawless-m](https://discourse.julialang.org/u/lawless-m)\
**Replies:** 4\
**Last updated:** [February 15, 2022, 7:00pm UTC](https://discourse.julialang.org/t/random-numbers-in-kernelabstractions/76476 "2022-02-15T19:00:25Z")

</div>

Cuda has random numbers CUDA.rand(2) but I can’t see how/if I can create them inside a @kernel. I need x,y pairs in a specific range and x^2 + y^ \<= 1 I used just plain rand() and got ... resulted in invalid LLVM IR …

---

## [Excessive memory usage parallel Julia job](https://discourse.julialang.org/t/excessive-memory-usage-parallel-julia-job/75256)

<div class="topic-metadata">

**Author:** [@Chiil](https://discourse.julialang.org/u/Chiil)\
**Replies:** 6\
**Last updated:** [February 15, 2022, 2:05pm UTC](https://discourse.julialang.org/t/excessive-memory-usage-parallel-julia-job/75256 "2022-02-15T14:05:52Z")

</div>

I have ported the dynamical core of our C++ CFD code to Julia (https://github.com/Chiil/MicroHH.jl) and have been implementing MPI.jl over the past days. I ran my first few large test jobs (1024 cores on 8 EPYC nodes wit…

---

## [Handling Dual types in my Turing model in a more elegant way](https://discourse.julialang.org/t/handling-dual-types-in-my-turing-model-in-a-more-elegant-way/76365)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 3\
**Last updated:** [February 14, 2022, 2:17pm UTC](https://discourse.julialang.org/t/handling-dual-types-in-my-turing-model-in-a-more-elegant-way/76365 "2022-02-14T14:17:56Z")

</div>

Hello everyone, I’m doing inference on a system of ODEs solved with Rodas5. To use Rodas5 while writing inplace to my du, I check if one of u or du is a Dual so there’s no typeassert based errors. To use Turing with the…

---

## [How to use ApproxFun to multiply differential operators without running into incompatible space issues?](https://discourse.julialang.org/t/how-to-use-approxfun-to-multiply-differential-operators-without-running-into-incompatible-space-issues/76481)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 12:54pm UTC](https://discourse.julialang.org/t/how-to-use-approxfun-to-multiply-differential-operators-without-running-into-incompatible-space-issues/76481 "2022-02-15T12:54:54Z")

</div>

I’m trying to compute (D + x)^2, where D is the derivative operator. julia\> x = Fun(identity) Fun(Chebyshev(),\[0.0, 1.0\]) julia\> D = Derivative(Chebyshev()) ConcreteDerivative : Chebyshev() → Ultraspherical(1) ⋅ 1.0 …

---

## [Plot not defined](https://discourse.julialang.org/t/plot-not-defined/76482)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.julialang.org/u/sai_matcha)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 12:32pm UTC](https://discourse.julialang.org/t/plot-not-defined/76482 "2022-02-15T12:32:39Z")

</div>

I was using plots previously. suddenly it stopped working. julia\> using Plots julia\> x = 1:10 ; y = rand(10) 10-element Vector{Float64}: 0.328078505773031 0.1228315686010254 0.18449539206763776 0.9873483723089912 …

---

## [Fillalpha in Makie band plot](https://discourse.julialang.org/t/fillalpha-in-makie-band-plot/76469)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 7:01am UTC](https://discourse.julialang.org/t/fillalpha-in-makie-band-plot/76469 "2022-02-15T07:01:33Z")

</div>

Is there a way to set the transparency of the filled band plots from Makie.jl? For example, what option can I add onto band! in the following code to give transparency, similarly to fillalpha in Plots.jl? using CairoMak…

---

## [AD with respect to Flux parameters](https://discourse.julialang.org/t/ad-with-respect-to-flux-parameters/76468)

<div class="topic-metadata">

**Author:** [@raktim](https://discourse.julialang.org/u/raktim)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 5:11am UTC](https://discourse.julialang.org/t/ad-with-respect-to-flux-parameters/76468 "2022-02-15T05:11:17Z")

</div>

I am trying to compute gradient of a function with respect to Flux parameters. Example: using Flux, ForwardDiff function f(x::Vector) return \[x\[2\]; -x\[1\] + (1 - x\[1\]^2) \* x\[2\]\] end # Function approximation n = 2…

---

## [Handling pre-parsed XLSX file](https://discourse.julialang.org/t/handling-pre-parsed-xlsx-file/76455)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 9:22pm UTC](https://discourse.julialang.org/t/handling-pre-parsed-xlsx-file/76455 "2022-02-14T21:22:48Z")

</div>

Package XLSX.jl provides tool to import XLSX file from path name: readxlsx. However, I struggle handle an XLSX that is first parsed by the file upload functionality in Dash.jl. The resulting parsing from the upload is a…

---

## [Can you define a JuMP variable using the keys of an existing DenseAxisArray?](https://discourse.julialang.org/t/can-you-define-a-jump-variable-using-the-keys-of-an-existing-denseaxisarray/76443)

<div class="topic-metadata">

**Author:** [@MartinBonde](https://discourse.julialang.org/u/MartinBonde)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 7:08pm UTC](https://discourse.julialang.org/t/can-you-define-a-jump-variable-using-the-keys-of-an-existing-denseaxisarray/76443 "2022-02-14T19:08:59Z")

</div>

Say I have a variable defined over two axes: @variable(m, x\[1:3,\[:a, :b\]\]) 2-dimensional DenseAxisArray{VariableRef,2,...} with index sets: Dimension 1, Base.OneTo(3) Dimension 2, \[:a, :b\] And data, a 3×2 Matri…

---

## [Problems regarding an implementation of a word2word Autoencoder](https://discourse.julialang.org/t/problems-regarding-an-implementation-of-a-word2word-autoencoder/76255)

<div class="topic-metadata">

**Author:** [@Arcumenn](https://discourse.julialang.org/u/Arcumenn)\
**Replies:** 7\
**Last updated:** [February 14, 2022, 6:14pm UTC](https://discourse.julialang.org/t/problems-regarding-an-implementation-of-a-word2word-autoencoder/76255 "2022-02-14T18:14:25Z")

</div>

Hello there! I am currently trying to implement a word-2-word Autoencoder with the Flux.jl package. It went mostly well, but I’m running into some problems now and I hope someone might be able to nudge me into the righ…

---

## [Error in running a tutor model](https://discourse.julialang.org/t/error-in-running-a-tutor-model/76405)

<div class="topic-metadata">

**Author:** [@tonyhur](https://discourse.julialang.org/u/tonyhur)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 5:33pm UTC](https://discourse.julialang.org/t/error-in-running-a-tutor-model/76405 "2022-02-14T17:33:20Z")

</div>

I’m trying to run the “urban planning problem” at https://jump.dev/JuMP.jl/stable/tutorials/linear/urban\_plan/. I installed Julia 1.5.3, JuMP v0.21.10, Test, and GLPK v0.14.14. When running I get an error: Test threw…

---

## [Molecular mass of proteins and peptides](https://discourse.julialang.org/t/molecular-mass-of-proteins-and-peptides/76439)

<div class="topic-metadata">

**Author:** [@tp2750](https://discourse.julialang.org/u/tp2750)\
**Replies:** 5\
**Last updated:** [February 14, 2022, 5:10pm UTC](https://discourse.julialang.org/t/molecular-mass-of-proteins-and-peptides/76439 "2022-02-14T17:10:53Z")

</div>

Is there a package that can compute the molecular mass based on an amino acid sequence? MolecularGraph has the machinery, but that appears to be focused on small molecules. I can’t find a method in BioSequences

---

## [Solving Nonlinear constrained optimization](https://discourse.julialang.org/t/solving-nonlinear-constrained-optimization/75982)

<div class="topic-metadata">

**Author:** [@AhmedAlreweny](https://discourse.julialang.org/u/AhmedAlreweny)\
**Replies:** 6\
**Last updated:** [February 14, 2022, 3:37pm UTC](https://discourse.julialang.org/t/solving-nonlinear-constrained-optimization/75982 "2022-02-14T15:37:21Z")

</div>

Hello, I have been recently struggling to solve a NLP in julia. The problem can be written as: min f(x) st c(x)=0 It is important to mention that the objective function is a discretized integrat…

---

## [Stacked bar graphs](https://discourse.julialang.org/t/stacked-bar-graphs/18550)

<div class="topic-metadata">

**Author:** [@svpillai](https://discourse.julialang.org/u/svpillai)\
**Replies:** 24\
**Last updated:** [February 14, 2022, 11:29am UTC](https://discourse.julialang.org/t/stacked-bar-graphs/18550 "2022-02-14T11:29:49Z")

</div>

Hello all, I’m quite new to Julia and was a bit lost on how to create Stacked Bar graphs. I’d like to have ideally 8 bars, grouped in pairs. Each of these bars would have 5 stacks that add up to a 100%- this is basically…

---

## [Problems on Flux.destructure()](https://discourse.julialang.org/t/problems-on-flux-destructure/76398)

<div class="topic-metadata">

**Author:** [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Replies:** 14\
**Last updated:** [February 14, 2022, 9:44am UTC](https://discourse.julialang.org/t/problems-on-flux-destructure/76398 "2022-02-14T09:44:36Z")

</div>

As the figure shown above, I build a LSTM using the code "Chain(LSTM(1,1),LSTM(1,1)) " Then I want to build the network with specific parameters p. code re(p) but it failed and showed above. How to deal with this i…

---

## [Could cuda.jl support @view in Kernel programming](https://discourse.julialang.org/t/could-cuda-jl-support-view-in-kernel-programming/76298)

<div class="topic-metadata">

**Author:** [@FkerYJ](https://discourse.julialang.org/u/FkerYJ)\
**Replies:** 1\
**Last updated:** [February 14, 2022, 7:09am UTC](https://discourse.julialang.org/t/could-cuda-jl-support-view-in-kernel-programming/76298 "2022-02-14T07:09:55Z")

</div>

Is it possible to create a new array by seting an offset parameter indicating how many bytes to add to the base array pointer? To achieve the function of view in Kernel programming

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

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