# Specific Domains

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

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

**Page:** 324

---

## [Workaround for Zygote.jl issue #317 not working?](https://discourse.julialang.org/t/workaround-for-zygote-jl-issue-317-not-working/59028)

<div class="topic-metadata">

**Author:** [@Andreas\_Poulsen](https://discourse.julialang.org/u/Andreas_Poulsen)\
**Replies:** 1\
**Last updated:** [November 7, 2021, 10:04pm UTC](https://discourse.julialang.org/t/workaround-for-zygote-jl-issue-317-not-working/59028 "2021-11-07T22:04:25Z")

</div>

Hi, I’ve run into the problem described in Zygote bugs #857, #317 and maybe #495. In essence, when broadcasting over a piecewise function where some branches may not have an adjoint, Zygote will try to back-propagate no…

---

## [RNN weights definition in Flux](https://discourse.julialang.org/t/rnn-weights-definition-in-flux/59623)

<div class="topic-metadata">

**Author:** [@Sunny](https://discourse.julialang.org/u/Sunny)\
**Replies:** 1\
**Last updated:** [November 7, 2021, 7:21pm UTC](https://discourse.julialang.org/t/rnn-weights-definition-in-flux/59623 "2021-11-07T19:21:24Z")

</div>

In the Flux source files there is a line. @functor RNNCell How does the functor understand that state0 and \\sigma (which should be fixed) in RNNCell definition aren’t weights?

---

## [MultivariateStats - Factor Analysis - transform/reconstruct not working?](https://discourse.julialang.org/t/multivariatestats-factor-analysis-transform-reconstruct-not-working/70505)

<div class="topic-metadata">

**Author:** [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Replies:** 1\
**Last updated:** [November 7, 2021, 3:42pm UTC](https://discourse.julialang.org/t/multivariatestats-factor-analysis-transform-reconstruct-not-working/70505 "2021-11-07T15:42:24Z")

</div>

In factor analysis transforming observations into latent variables or reconstructing observations from latent variables seem to be not working? (Factor Analysis — MultivariateStats 0.1.0 documentation) using Multivariat…

---

## [Computer modern font in every element of plot (PyPlot)](https://discourse.julialang.org/t/computer-modern-font-in-every-element-of-plot-pyplot/71030)

<div class="topic-metadata">

**Author:** [@DaveR](https://discourse.julialang.org/u/DaveR)\
**Replies:** 8\
**Last updated:** [November 7, 2021, 3:29pm UTC](https://discourse.julialang.org/t/computer-modern-font-in-every-element-of-plot-pyplot/71030 "2021-11-07T15:29:49Z")

</div>

I’m trying to achieve an homogeneous looking plot where every element of the plot has Computer Modern font using the PyPlot package. Following some of the answers to existing questions in the forum, this is as close as …

---

## [Seeking a smart way to formulate an optimization problem](https://discourse.julialang.org/t/seeking-a-smart-way-to-formulate-an-optimization-problem/71056)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 4\
**Last updated:** [November 6, 2021, 10:12pm UTC](https://discourse.julialang.org/t/seeking-a-smart-way-to-formulate-an-optimization-problem/71056 "2021-11-06T22:12:04Z")

</div>

I recently received tremendous help from this forum in setting up a JuMP optimization problem. I have a similar, but larger problem that I would like to attack, but it is too large to use the same methodology as previou…

---

## [New Soss interface - request for feedback](https://discourse.julialang.org/t/new-soss-interface-request-for-feedback/65118)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 8\
**Last updated:** [November 6, 2021, 4:00pm UTC](https://discourse.julialang.org/t/new-soss-interface-request-for-feedback/65118 "2021-11-06T16:00:26Z")

</div>

Hi, I’m working on extending Soss, and hoping I might get some design feedback. In the current release of Soss, a model is restricted to be a DAG. To do this, each line of the body of a model is required to be either of…

---

## [Fast Legendre Transform?](https://discourse.julialang.org/t/fast-legendre-transform/68152)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 3\
**Last updated:** [November 6, 2021, 7:13am UTC](https://discourse.julialang.org/t/fast-legendre-transform/68152 "2021-11-06T07:13:04Z")

</div>

Is anyone aware of a package that is able to do a Fast Legendre Transform similar to the one in chebfun (The fast discrete Legendre transform » Chebfun). The closest that I could find was something in FastTransform, whe…

---

## [JuMP error for nonlinear optimization](https://discourse.julialang.org/t/jump-error-for-nonlinear-optimization/70983)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 17\
**Last updated:** [November 6, 2021, 2:21am UTC](https://discourse.julialang.org/t/jump-error-for-nonlinear-optimization/70983 "2021-11-06T02:21:25Z")

</div>

I’m trying to set up a nonlinear optimization problem and I’m getting an error I don’t understand… import JuMP as J import Ipopt function smoothabs(x) # Smooth approximation to abs(x) k = 1000 f = 2/k f\*log…

---

## [Set parameters to Gurobi](https://discourse.julialang.org/t/set-parameters-to-gurobi/70794)

<div class="topic-metadata">

**Author:** [@wiz21b](https://discourse.julialang.org/u/wiz21b)\
**Replies:** 4\
**Last updated:** [November 5, 2021, 6:51pm UTC](https://discourse.julialang.org/t/set-parameters-to-gurobi/70794 "2021-11-05T18:51:10Z")

</div>

Hello, I use Gurobi 9.1.2; Julia 1.6.2 and these packages: Gurobi v0.9.14 JuMP v0.21.10 (I’ve seen that the C API has changed) I try to tell Gurobi to use a specific optimizer (the PRIMAL (simplex) one): LP\_model =…

---

## [Bug? Plots + pyplot()](https://discourse.julialang.org/t/bug-plots-pyplot/70940)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 7\
**Last updated:** [November 4, 2021, 11:47am UTC](https://discourse.julialang.org/t/bug-plots-pyplot/70940 "2021-11-04T11:47:21Z")

</div>

I’m on Windows 11 (64bit), latest update as of now. I use Julia v1.6.3, latest update as of today with all packages. When I do simple plots using the pyplot() backend, my Jupyter notebook crashes with the following erro…

---

## [Namespace problems when running Optim in parallel?](https://discourse.julialang.org/t/namespace-problems-when-running-optim-in-parallel/2275)

<div class="topic-metadata">

**Author:** [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Replies:** 2\
**Last updated:** [November 5, 2021, 10:11am UTC](https://discourse.julialang.org/t/namespace-problems-when-running-optim-in-parallel/2275 "2021-11-05T10:11:33Z")

</div>

Hi, I keep running into errors such as: ERROR: LoadError: On worker 2: MethodError: no method matching minimizer(::Optim.MultivariateOptimizationResults{Float64,1,Optim.NewtonTrustRegion{Float64}}) or, the comical E…

---

## [AmplNLWriter no longer works with JuMP](https://discourse.julialang.org/t/amplnlwriter-no-longer-works-with-jump/70740)

<div class="topic-metadata">

**Author:** [@optimist](https://discourse.julialang.org/u/optimist)\
**Replies:** 10\
**Last updated:** [November 4, 2021, 11:52pm UTC](https://discourse.julialang.org/t/amplnlwriter-no-longer-works-with-jump/70740 "2021-11-04T23:52:11Z")

</div>

I was using AmplNLWriter with Ipopt\_jll, but it stopped working when I installed MadNLP. I have removed all my packages and reinstalled (excluding MaNLP), but I have not been able to make AmplNLWriter to work. The error …

---

## [Length and setting of ticks](https://discourse.julialang.org/t/length-and-setting-of-ticks/70952)

<div class="topic-metadata">

**Author:** [@mixstam1453](https://discourse.julialang.org/u/mixstam1453)\
**Replies:** 2\
**Last updated:** [November 4, 2021, 7:52pm UTC](https://discourse.julialang.org/t/length-and-setting-of-ticks/70952 "2021-11-04T19:52:35Z")

</div>

hello, i am new in Plots.jl and i would like to put ticks in all my axis of the plot with framestyle=:box . Here is my code with the default function: x = 0:0.1:2pi ; y1 = cos.(x) default(fontfamily ="New Century Scho…

---

## [Broadcasting over a Flux.DataLoader](https://discourse.julialang.org/t/broadcasting-over-a-flux-dataloader/70414)

<div class="topic-metadata">

**Author:** [@austinbean](https://discourse.julialang.org/u/austinbean)\
**Replies:** 11\
**Last updated:** [November 4, 2021, 6:59pm UTC](https://discourse.julialang.org/t/broadcasting-over-a-flux-dataloader/70414 "2021-11-04T18:59:00Z")

</div>

Apologies for this question since I’ve had a lot of trouble producing a MWE (which I don’t have). I’m working on an RNN using text data (each observation is a sentence - each word in each sentence is mapped to a word em…

---

## [Tutorial on Coupling Jumps](https://discourse.julialang.org/t/tutorial-on-coupling-jumps/70957)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 0\
**Last updated:** [November 4, 2021, 2:42pm UTC](https://discourse.julialang.org/t/tutorial-on-coupling-jumps/70957 "2021-11-04T14:42:36Z")

</div>

Didn’t create an issue on the repo because this might be just my interpretation being wrong. I am trying to run code based on the tutorial at Jump Diffusion page. It mentions that this is supposed to be a Cox process (…

---

## [Weights in gaussian process](https://discourse.julialang.org/t/weights-in-gaussian-process/70646)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 7\
**Last updated:** [November 4, 2021, 1:51pm UTC](https://discourse.julialang.org/t/weights-in-gaussian-process/70646 "2021-11-04T13:51:07Z")

</div>

I have a model like @willtebbutt’s TemporalGPs example https://github.com/JuliaGaussianProcesses/TemporalGPs.jl#learning-kernel-parameters-with-optimjl-parameterhandlingjl-and-zygotejl In my dataset, different observati…

---

## [Differentiate through solve for a subset of parameters](https://discourse.julialang.org/t/differentiate-through-solve-for-a-subset-of-parameters/70869)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 5\
**Last updated:** [November 4, 2021, 11:07am UTC](https://discourse.julialang.org/t/differentiate-through-solve-for-a-subset-of-parameters/70869 "2021-11-04T11:07:33Z")

</div>

If I pass a vector of dual numbers as parameters, the solver will recocnize the dual numbers and provide a vector dx\<:Vector{Dual...} to my diff eq function. In my problem I have several parameters I want to tune but a…

---

## [Tridiagonal Toeplitz matrix complex eigenvalues instead of real](https://discourse.julialang.org/t/tridiagonal-toeplitz-matrix-complex-eigenvalues-instead-of-real/70892)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 7\
**Last updated:** [November 4, 2021, 10:08am UTC](https://discourse.julialang.org/t/tridiagonal-toeplitz-matrix-complex-eigenvalues-instead-of-real/70892 "2021-11-04T10:08:17Z")

</div>

The spectrum of tridiagonal Toeplitz matrices is known analytically (Tridiagonal-Toeplitz-Matrix – Wikipedia) and is (for non-zero off-diagonals) simple and real. Julia’s eigen function returns for small non-symmetric To…

---

## [2 problems with Gaston.jl](https://discourse.julialang.org/t/2-problems-with-gaston-jl/70907)

<div class="topic-metadata">

**Author:** [@trg818](https://discourse.julialang.org/u/trg818)\
**Replies:** 3\
**Last updated:** [November 4, 2021, 12:46am UTC](https://discourse.julialang.org/t/2-problems-with-gaston-jl/70907 "2021-11-04T00:46:05Z")

</div>

As it doesn’t (yet?) seem to be possible to create a plot with two different x-axes and two different y-axes with Plots, I decided to give Gaston a try, because it would give me an interface to my good old Gnuplot, where…

---

## [MultivariateStats - Factor Analysis not working for the :cm method?](https://discourse.julialang.org/t/multivariatestats-factor-analysis-not-working-for-the-cm-method/70418)

<div class="topic-metadata">

**Author:** [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 10:48pm UTC](https://discourse.julialang.org/t/multivariatestats-factor-analysis-not-working-for-the-cm-method/70418 "2021-11-03T22:48:08Z")

</div>

I am doing a factor analysis and I’ve noticed that the method :em works in all cases but not the :cm (default). Why this? This works for example: using MultivariateStats X = \[0.635098 0.548183 0.211851 0.171408 0…

---

## [Graph from Sparse Matrix](https://discourse.julialang.org/t/graph-from-sparse-matrix/70894)

<div class="topic-metadata">

**Author:** [@rachithaiyappa](https://discourse.julialang.org/u/rachithaiyappa)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 6:39pm UTC](https://discourse.julialang.org/t/graph-from-sparse-matrix/70894 "2021-11-03T18:39:11Z")

</div>

How can I generate a Graph from a SparseMatrixCSC and then convert it into an undirected Light Graph?

---

## [Plotly.js - stacked bars in subplots](https://discourse.julialang.org/t/plotly-js-stacked-bars-in-subplots/60856)

<div class="topic-metadata">

**Author:** [@stej](https://discourse.julialang.org/u/stej)\
**Replies:** 6\
**Last updated:** [November 3, 2021, 10:53am UTC](https://discourse.julialang.org/t/plotly-js-stacked-bars-in-subplots/60856 "2021-11-03T10:53:29Z")

</div>

Hi all, I’m trying to plot stacked bars with PlotlyJS. It looks ok, when I use just one plot, but when I combine two plots together, the bars are no longer stacked. Example: using PlotlyJS, Dates dates = \[Date(2021, …

---

## [Variable sequence length RNN in Flux](https://discourse.julialang.org/t/variable-sequence-length-rnn-in-flux/70715)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 9:57am UTC](https://discourse.julialang.org/t/variable-sequence-length-rnn-in-flux/70715 "2021-11-03T09:57:18Z")

</div>

How to implement RNN for variable sequence length data with minibatching in Flux? According to Flux doc, In Flux, those 3 dimensions are provided through a vector of seq length containing a matrix (features, samples) …

---

## [Normalize the solution during the integration by differentialequations.jl](https://discourse.julialang.org/t/normalize-the-solution-during-the-integration-by-differentialequations-jl/70845)

<div class="topic-metadata">

**Author:** [@TravellingLight6](https://discourse.julialang.org/u/TravellingLight6)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 5:38am UTC](https://discourse.julialang.org/t/normalize-the-solution-during-the-integration-by-differentialequations-jl/70845 "2021-11-03T05:38:25Z")

</div>

I usually come to solve outwards ode like schrodinger equation under columb potential and I recently realize that the initial condition and time span affect the stability of the solution as posted as following: using Di…

---

## [Restricting "active" joints in RigidBodyDynamics.jl](https://discourse.julialang.org/t/restricting-active-joints-in-rigidbodydynamics-jl/70829)

<div class="topic-metadata">

**Author:** [@benjamin-macadam](https://discourse.julialang.org/u/benjamin-macadam)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 10:19pm UTC](https://discourse.julialang.org/t/restricting-active-joints-in-rigidbodydynamics-jl/70829 "2021-11-02T22:19:15Z")

</div>

Hi there, I have been using RigidBodyDynamics.jl to do some simulations with robotics for about a month or so. I’m finding performance for some of my simulations really suffers when I use the full collection of joints i…

---

## [Can I use opensource drivers to code in Cuda?](https://discourse.julialang.org/t/can-i-use-opensource-drivers-to-code-in-cuda/70682)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 3\
**Last updated:** [November 2, 2021, 9:57pm UTC](https://discourse.julialang.org/t/can-i-use-opensource-drivers-to-code-in-cuda/70682 "2021-11-02T21:57:57Z")

</div>

Hi all can I use xserver-xorg-video-nouveau v 1:1.0.16.1 display drivers to code in Cuda and NOT the official nvidia 470? I have had a bit of bad news. I am using linux mint 20.2 ( based on Ubuntu) and am using open so…

---

## [Correct version of cuda.jl for Quadro K4200](https://discourse.julialang.org/t/correct-version-of-cuda-jl-for-quadro-k4200/70744)

<div class="topic-metadata">

**Author:** [@jamaas](https://discourse.julialang.org/u/jamaas)\
**Replies:** 5\
**Last updated:** [November 2, 2021, 4:52pm UTC](https://discourse.julialang.org/t/correct-version-of-cuda-jl-for-quadro-k4200/70744 "2021-11-02T16:52:22Z")

</div>

I’d like to learn how to use gpu computing with my pc, runs on ubuntu linux and has a Quadro K4200 gpu which only has a compute capability of 3.0. What version of cuda.jl should I be trying to install that will work wi…

---

## [Multiple plots: some refinements](https://discourse.julialang.org/t/multiple-plots-some-refinements/64800)

<div class="topic-metadata">

**Author:** [@marcobonici](https://discourse.julialang.org/u/marcobonici)\
**Replies:** 25\
**Last updated:** [November 2, 2021, 4:33pm UTC](https://discourse.julialang.org/t/multiple-plots-some-refinements/64800 "2021-11-02T16:33:34Z")

</div>

Hi to everybody, I am trying to make some plots for my research (Fisher contour plots) using Plots.jl. I am quite satisfied with the results I have obtained (in a very short amount of time!) FisherMatrix = \[16523.02 33…

---

## [Computing the Lyapunov exponent of the Hénon map with DynamicalSystems.jl](https://discourse.julialang.org/t/computing-the-lyapunov-exponent-of-the-henon-map-with-dynamicalsystems-jl/70810)

<div class="topic-metadata">

**Author:** [@NoFishLikeIan](https://discourse.julialang.org/u/NoFishLikeIan)\
**Replies:** 2\
**Last updated:** [November 2, 2021, 3:25pm UTC](https://discourse.julialang.org/t/computing-the-lyapunov-exponent-of-the-henon-map-with-dynamicalsystems-jl/70810 "2021-11-02T15:25:56Z")

</div>

Issue I am trying to compute the Lyapunov exponent of the Hénon map with b = 0.3 and a = 1.8 but the lyapunov function from DynamicalSystems.jl seems to not converge. Is there something I am doing wrong or is this expect…

---

## [Why does my neural net not learn](https://discourse.julialang.org/t/why-does-my-neural-net-not-learn/70603)

<div class="topic-metadata">

**Author:** [@Marius\_123](https://discourse.julialang.org/u/Marius_123)\
**Replies:** 3\
**Last updated:** [November 2, 2021, 10:36am UTC](https://discourse.julialang.org/t/why-does-my-neural-net-not-learn/70603 "2021-11-02T10:36:23Z")

</div>

using Flux, Statistics using Flux.Data: DataLoader using Flux: @epochs using Flux.Losses: huber\_loss, tversky\_loss, mse using Base: @kwdef using CUDA function Data\_importer() train\_x = \[0.0 0.0 0.0 0.0; 9.178257595538…

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

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