# Specific Domains

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

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

**Page:** 302

---

## [BoundsError using fit(LassoPath, X,Y, lambda = grid)](https://discourse.julialang.org/t/boundserror-using-fit-lassopath-x-y-lambda-grid/76831)

<div class="topic-metadata">

**Author:** [@Aminath\_Shausan](https://discourse.julialang.org/u/Aminath_Shausan)\
**Replies:** 1\
**Last updated:** [February 21, 2022, 7:28am UTC](https://discourse.julialang.org/t/boundserror-using-fit-lassopath-x-y-lambda-grid/76831 "2022-02-21T07:28:44Z")

</div>

Hi, I am a beginner of Julia language. I am learning to fit a multiple regression model using lasso.jl, with fit(LassoPath, X,Y, lambda = grid) My feature matrix (X) contains 238 variables with 52 rows. The response ve…

---

## [Cholesky promotes Float16](https://discourse.julialang.org/t/cholesky-promotes-float16/76772)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 16\
**Last updated:** [February 21, 2022, 5:24am UTC](https://discourse.julialang.org/t/cholesky-promotes-float16/76772 "2022-02-21T05:24:53Z")

</div>

I’m seeing Cholesky promote half precision to single on its own. Is this supposed to happen? lu does not do this. Running 1.7.2 on an M1 Macbook. Same results on Intel Mac with MKL Blas. Bug or feature? julia\> R=rand…

---

## [I translated Peter Shirley's Raytracer to Julia. C++ 1min -\> Julia 2m30s -\> 15s (@threads)](https://discourse.julialang.org/t/i-translated-peter-shirleys-raytracer-to-julia-c-1min-julia-2m30s-15s-threads/75671)

<div class="topic-metadata">

**Author:** [@lawless-m](https://discourse.julialang.org/u/lawless-m)\
**Replies:** 27\
**Last updated:** [February 21, 2022, 12:15am UTC](https://discourse.julialang.org/t/i-translated-peter-shirleys-raytracer-to-julia-c-1min-julia-2m30s-15s-threads/75671 "2022-02-21T00:15:18Z")

</div>

Hi, I like raytracing and there are a nice set of books https://github.com/RayTracing/raytracing.github.io so now I’m a bit better at Julia, I transcoded the C++ into Julia and got some nice speedups. The single thre…

---

## [Y-axis scale in histogram](https://discourse.julialang.org/t/y-axis-scale-in-histogram/76819)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 3\
**Last updated:** [February 20, 2022, 9:44pm UTC](https://discourse.julialang.org/t/y-axis-scale-in-histogram/76819 "2022-02-20T21:44:13Z")

</div>

How can I scale the y axis ticks in a histogram? Is there a way to access the counts in a histogram from dispatching the plot function with st=:hist? In my case I have counts in between 1 000 and a few 10 000s. I woul…

---

## [Dataframe destructors](https://discourse.julialang.org/t/dataframe-destructors/76822)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 2\
**Last updated:** [February 20, 2022, 9:34pm UTC](https://discourse.julialang.org/t/dataframe-destructors/76822 "2022-02-20T21:34:02Z")

</div>

What is the best (simple/efficient) way to transform a dataframe into a namedtuple of vectors? and What is the best (simple/efficient) way to transform a dataframe into a vector of namedtuples?

---

## [A question on broadcasting fft for vectors of matrices](https://discourse.julialang.org/t/a-question-on-broadcasting-fft-for-vectors-of-matrices/76806)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 9\
**Last updated:** [February 20, 2022, 7:36pm UTC](https://discourse.julialang.org/t/a-question-on-broadcasting-fft-for-vectors-of-matrices/76806 "2022-02-20T19:36:18Z")

</div>

In the following I am creating a 3-vector of 2x2 matrices M: M = \[ rand(2,2) for i in 1:3\] Is it any easy compact way to extract/view (e.g., for the purpose of broadcasting), say, the vector of \[1,1\] elements of the th…

---

## [Seeking Tips for Solving an ODE with DifferentialEquations](https://discourse.julialang.org/t/seeking-tips-for-solving-an-ode-with-differentialequations/76311)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 4\
**Last updated:** [February 19, 2022, 4:45pm UTC](https://discourse.julialang.org/t/seeking-tips-for-solving-an-ode-with-differentialequations/76311 "2022-02-19T16:45:33Z")

</div>

Our package QuantumAnnealing solves ODEs that arise in design of quantum annealing algorithms. The package includes two solution methods simulate (a hand crafted solution) and simulate\_de (a generic solution approach usi…

---

## [\[Makie.jl\] Changing axes font sizes on 3D plots like surface](https://discourse.julialang.org/t/makie-jl-changing-axes-font-sizes-on-3d-plots-like-surface/76495)

<div class="topic-metadata">

**Author:** [@KirillGerke](https://discourse.julialang.org/u/KirillGerke)\
**Replies:** 2\
**Last updated:** [February 19, 2022, 3:06pm UTC](https://discourse.julialang.org/t/makie-jl-changing-axes-font-sizes-on-3d-plots-like-surface/76495 "2022-02-19T15:06:12Z")

</div>

Dear All, While Makie.jl’s documentation and some threads here suggest using functions like the following: fontsize\_theme = Theme(fontsize = 30) set\_theme!(fontsize\_theme) update\_theme!(fontsize = 36) they work just f…

---

## [Delete multiple edges with specific property in a metagraph](https://discourse.julialang.org/t/delete-multiple-edges-with-specific-property-in-a-metagraph/76745)

<div class="topic-metadata">

**Author:** [@ChristianStehr](https://discourse.julialang.org/u/ChristianStehr)\
**Replies:** 8\
**Last updated:** [February 19, 2022, 2:53pm UTC](https://discourse.julialang.org/t/delete-multiple-edges-with-specific-property-in-a-metagraph/76745 "2022-02-19T14:53:34Z")

</div>

Hello everyone, I want to delete multiple edges in a metagraph that have a specific property, here is my mwe: using MetaGraphs, Graphs g = erdos\_renyi(1000,5000) mg = MetaGraph(g) for i in 1:nv(mg) #give all edges spec…

---

## [How to understand the optimization behavior JuMP?](https://discourse.julialang.org/t/how-to-understand-the-optimization-behavior-jump/76736)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 4\
**Last updated:** [February 19, 2022, 2:19pm UTC](https://discourse.julialang.org/t/how-to-understand-the-optimization-behavior-jump/76736 "2022-02-19T14:19:47Z")

</div>

Hi, I am new to Julia and JuMP package. Recently I am trying to use JuMP to solve similar optimization problems like Power Systems posted in JuMP’s tutorial. I read through the page, find the section unit commitment is…

---

## [\`filter\` on a \`DataFrame\` is not allocating a new object as expected](https://discourse.julialang.org/t/filter-on-a-dataframe-is-not-allocating-a-new-object-as-expected/76447)

<div class="topic-metadata">

**Author:** [@hdavid16](https://discourse.julialang.org/u/hdavid16)\
**Replies:** 7\
**Last updated:** [February 19, 2022, 4:27am UTC](https://discourse.julialang.org/t/filter-on-a-dataframe-is-not-allocating-a-new-object-as-expected/76447 "2022-02-19T04:27:22Z")

</div>

Hi, I just attempted the following and was surprised that my original table was modified. I would have expected filter to allocate a new DataFrame so that setdiff! would not have modified the original DataFrame. I also …

---

## [Xpress NonLinear](https://discourse.julialang.org/t/xpress-nonlinear/74669)

<div class="topic-metadata">

**Author:** [@andreab](https://discourse.julialang.org/u/andreab)\
**Replies:** 1\
**Last updated:** [February 19, 2022, 3:33am UTC](https://discourse.julialang.org/t/xpress-nonlinear/74669 "2022-02-19T03:33:50Z")

</div>

Is there a package in the JuMP ecosystem providing an interface to FICO Xpress NonLinear solver? Xpress.jl seems to support only Xpress Optimizer. If I try to use Xpress.jl to solve a non-convex NLP, I get the followin…

---

## [Flux cpu() type stability](https://discourse.julialang.org/t/flux-cpu-type-stability/76610)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 3\
**Last updated:** [February 18, 2022, 11:02pm UTC](https://discourse.julialang.org/t/flux-cpu-type-stability/76610 "2022-02-18T23:02:37Z")

</div>

While reviewing a loss function I wrote, I noticed that the cpu() function from Flux produced type instability: julia\> using Flux julia\> @code\_warntype cpu(rand(10)) MethodInstance for Flux.cpu(::Vector{Float64}) fro…

---

## [Domain error for Turing model with callback](https://discourse.julialang.org/t/domain-error-for-turing-model-with-callback/75723)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 33\
**Last updated:** [February 18, 2022, 6:06pm UTC](https://discourse.julialang.org/t/domain-error-for-turing-model-with-callback/75723 "2022-02-18T18:06:07Z")

</div>

Hello, Following is a moderately large Turing model, where the ODE system is solved for 51 time steps with a discrete callback at t=20. #====================================== PARAMETER ESTIMATION FROM SYNTHETIC DATA =…

---

## [Optim: loading Information from previous runs](https://discourse.julialang.org/t/optim-loading-information-from-previous-runs/76620)

<div class="topic-metadata">

**Author:** [@Shmuley95](https://discourse.julialang.org/u/Shmuley95)\
**Replies:** 13\
**Last updated:** [February 18, 2022, 3:57pm UTC](https://discourse.julialang.org/t/optim-loading-information-from-previous-runs/76620 "2022-02-18T15:57:37Z")

</div>

I am trying to run a large nonlinear optimization problem on a HPC cluster, where I can only get 10 consecutive days of computing before my code is aborted due to the time limit in the cluster. As my problem involves 19 …

---

## [Limitation in Union types with CUDA.jl?](https://discourse.julialang.org/t/limitation-in-union-types-with-cuda-jl/76494)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 12\
**Last updated:** [February 18, 2022, 12:40pm UTC](https://discourse.julialang.org/t/limitation-in-union-types-with-cuda-jl/76494 "2022-02-18T12:40:02Z")

</div>

I am trying to pass to a kernel a vector of Union type. It seems to work if I limit the number of types in the Union to 3, but using 4 it fails with unsupported call to an unknown function (call to gpu\_gc\_pool\_alloc). Th…

---

## [How to create static Matrix from a normal Matrix](https://discourse.julialang.org/t/how-to-create-static-matrix-from-a-normal-matrix/76688)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 5\
**Last updated:** [February 18, 2022, 12:31pm UTC](https://discourse.julialang.org/t/how-to-create-static-matrix-from-a-normal-matrix/76688 "2022-02-18T12:31:04Z")

</div>

I find this behaviour very confusing: The following works, but I am certain that there must be better ways to do it: SMatrix{size(tester)...}(tester) How should I construct a static vector?

---

## [Recommendations for flexible time series data?](https://discourse.julialang.org/t/recommendations-for-flexible-time-series-data/75776)

<div class="topic-metadata">

**Author:** [@dfarmer](https://discourse.julialang.org/u/dfarmer)\
**Replies:** 3\
**Last updated:** [February 18, 2022, 10:43am UTC](https://discourse.julialang.org/t/recommendations-for-flexible-time-series-data/75776 "2022-02-18T10:43:18Z")

</div>

Much like this person on Stackoverflow I’ve got data that are time series data but where the time indices are not DateTime (they are just processor ticks converted to microseconds). I looked at TimeSeries.jl and TS but t…

---

## [Order Flow Imbalance - A High Frequency Trading Signal in Julia](https://discourse.julialang.org/t/order-flow-imbalance-a-high-frequency-trading-signal-in-julia/76656)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 1\
**Last updated:** [February 18, 2022, 9:16am UTC](https://discourse.julialang.org/t/order-flow-imbalance-a-high-frequency-trading-signal-in-julia/76656 "2022-02-18T09:16:27Z")

</div>

I’ve written a blog post on a high frequency trading signal and how I use Julia to easily calculate it and see if it is profitable.

---

## [Help with Jacobian vector product to get natural gradient](https://discourse.julialang.org/t/help-with-jacobian-vector-product-to-get-natural-gradient/51115)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 16\
**Last updated:** [February 18, 2022, 12:15am UTC](https://discourse.julialang.org/t/help-with-jacobian-vector-product-to-get-natural-gradient/51115 "2022-02-18T00:15:53Z")

</div>

Hi I am trying to reproduce an algorithm based on Natural gradient computations (Natural Gradients in Practice - Salimbeni et al 2018). The key computation is that you can get rid of the inverse Fisher Information matr…

---

## [nVidia A100 vs RTX A6000 (what to choose)](https://discourse.julialang.org/t/nvidia-a100-vs-rtx-a6000-what-to-choose/76660)

<div class="topic-metadata">

**Author:** [@j\_u](https://discourse.julialang.org/u/j_u)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 11:55pm UTC](https://discourse.julialang.org/t/nvidia-a100-vs-rtx-a6000-what-to-choose/76660 "2022-02-17T23:55:11Z")

</div>

Hi, I have to make a choice for a VM (Virtual Machine). One is equipped with nVidia A100, the other with RTX A6000. I’d like to ask for an advice. Most of my planned use is Julia AI training on Linux (RHEL 8 / Ubuntu Fo…

---

## [Global Sensitivity Analysis for an ODE model where not all parameter sets give a result](https://discourse.julialang.org/t/global-sensitivity-analysis-for-an-ode-model-where-not-all-parameter-sets-give-a-result/76654)

<div class="topic-metadata">

**Author:** [@TS-CUBED](https://discourse.julialang.org/u/TS-CUBED)\
**Replies:** 3\
**Last updated:** [February 17, 2022, 10:28pm UTC](https://discourse.julialang.org/t/global-sensitivity-analysis-for-an-ode-model-where-not-all-parameter-sets-give-a-result/76654 "2022-02-17T22:28:49Z")

</div>

We are trying to do a global sensitivity analysis on a model that is described as ODEs (acausal model with MTK 7). The Sobol analysis works fine if the parameter space is benign, i.e. all the parameter sets allow the OD…

---

## [Export Ampl format from jump model](https://discourse.julialang.org/t/export-ampl-format-from-jump-model/76584)

<div class="topic-metadata">

**Author:** [@thiagonovaesb](https://discourse.julialang.org/u/thiagonovaesb)\
**Replies:** 5\
**Last updated:** [February 17, 2022, 9:50pm UTC](https://discourse.julialang.org/t/export-ampl-format-from-jump-model/76584 "2022-02-17T21:50:05Z")

</div>

Using AmplNLWriter.jl I can export a jump model as .NL format (.nl and .opt). There is a simple way to export the model in AMPL format? (.mod, .dat, .run)?

---

## [Weird environmental issue with ModelingToolkit](https://discourse.julialang.org/t/weird-environmental-issue-with-modelingtoolkit/76531)

<div class="topic-metadata">

**Author:** [@anandpathak31](https://discourse.julialang.org/u/anandpathak31)\
**Replies:** 6\
**Last updated:** [February 17, 2022, 9:49pm UTC](https://discourse.julialang.org/t/weird-environmental-issue-with-modelingtoolkit/76531 "2022-02-17T21:49:03Z")

</div>

I am facing a weird environmental issue in solving an SDESystem using modelingtoolkit in Pluto. It was working fine untill today and it started giving this UndefVarError shown below. It started when I accidentally interr…

---

## [Iterated Random Search Methods?](https://discourse.julialang.org/t/iterated-random-search-methods/76636)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 5:16pm UTC](https://discourse.julialang.org/t/iterated-random-search-methods/76636 "2022-02-17T17:16:46Z")

</div>

Hi, I’m trying to optimize a non-differentiable function with a mixture of discrete and continuous parameters. The function takes a long time to run, but we can run many batches of it at a time on separate machines, so …

---

## [Can you force CUDA to find an existing artifacts?](https://discourse.julialang.org/t/can-you-force-cuda-to-find-an-existing-artifacts/76575)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 1\
**Last updated:** [February 17, 2022, 5:15pm UTC](https://discourse.julialang.org/t/can-you-force-cuda-to-find-an-existing-artifacts/76575 "2022-02-17T17:15:47Z")

</div>

I tend to jump around projects a lot, most of which need the CUDA package. Everytime I “add CUDA” to my project and then go to use it, it always seems to download a new artifact. Is there anyway to force CUDA to look for…

---

## [StatsPlots & DataFrames: grouping by multiple columns](https://discourse.julialang.org/t/statsplots-dataframes-grouping-by-multiple-columns/76364)

<div class="topic-metadata">

**Author:** [@Cingulate7](https://discourse.julialang.org/u/Cingulate7)\
**Replies:** 4\
**Last updated:** [February 17, 2022, 4:33pm UTC](https://discourse.julialang.org/t/statsplots-dataframes-grouping-by-multiple-columns/76364 "2022-02-17T16:33:51Z")

</div>

I want to create a box plot of data in a DataFrame grouped by more than one variable (column value). Is there a compact high-level way to do this? The following does not work: ‘’'using DataFrames, StatsPlots dfa = Data…

---

## [How may I reproduce the \`Distributions.jl\` logo?](https://discourse.julialang.org/t/how-may-i-reproduce-the-distributions-jl-logo/76631)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 3\
**Last updated:** [February 17, 2022, 4:33pm UTC](https://discourse.julialang.org/t/how-may-i-reproduce-the-distributions-jl-logo/76631 "2022-02-17T16:33:32Z")

</div>

Hey, I’m trying to reproduce the Distributions.jl logo. Is there somewhere a code I can use to reproduce this logo ? I cannot retrace back the logo further than this PR : https://github.com/JuliaStats/Distributions.jl/p…

---

## [Can anyone give me an example of using Turing for sampling using metropolis hastings algorithm?](https://discourse.julialang.org/t/can-anyone-give-me-an-example-of-using-turing-for-sampling-using-metropolis-hastings-algorithm/76315)

<div class="topic-metadata">

**Author:** [@mirror63](https://discourse.julialang.org/u/mirror63)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 12:55pm UTC](https://discourse.julialang.org/t/can-anyone-give-me-an-example-of-using-turing-for-sampling-using-metropolis-hastings-algorithm/76315 "2022-02-17T12:55:35Z")

</div>

I have a normal proposal distribution with mean 3 and variance 4. Can anyone give me an example of sampling using metropolis hastings algorithm?

---

## [How to set up / use a Kubernetes-cluster for distributed-computing?](https://discourse.julialang.org/t/how-to-set-up-use-a-kubernetes-cluster-for-distributed-computing/76615)

<div class="topic-metadata">

**Author:** [@tim-hilt](https://discourse.julialang.org/u/tim-hilt)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 9:18am UTC](https://discourse.julialang.org/t/how-to-set-up-use-a-kubernetes-cluster-for-distributed-computing/76615 "2022-02-17T09:18:29Z")

</div>

I want to use the nodes of a Kubernetes-cluster to act as remote workers for my Julia script. Coming from a workplace, where we mostly develop enterprise-software, I thought that virtually every cluster is based on Kube…

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

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