# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?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

---

## [CUDA doesn't work](https://discourse.julialang.org/t/cuda-doesnt-work/75596)

<div class="topic-metadata">

**Author:** [@vietanh.do](https://discourse.julialang.org/u/vietanh.do)\
**Replies:** 3\
**Last updated:** [February 24, 2022, 9:20am UTC](https://discourse.julialang.org/t/cuda-doesnt-work/75596 "2022-02-24T09:20:54Z")

</div>

Hi there. I want to train the data through GPU. CUDA.jl ist installed, but when I check the Cuda function like has\_cuda(), it returns false. I have done these following things: all the drivers and programms updated (C…

---

## [Anderson-Darling test pvalue](https://discourse.julialang.org/t/anderson-darling-test-pvalue/76929)

<div class="topic-metadata">

**Author:** [@as4831](https://discourse.julialang.org/u/as4831)\
**Replies:** 5\
**Last updated:** [February 23, 2022, 10:37pm UTC](https://discourse.julialang.org/t/anderson-darling-test-pvalue/76929 "2022-02-23T22:37:12Z")

</div>

Hi everyone, I’m using an Anderson-Darling test to check for normality and am unsure about the results. I am expecting to reject at the .01 level with a p-value around .008. The pvalue() call on the OneSampleADTest retur…

---

## [Trying to understand parallel performance in Turing](https://discourse.julialang.org/t/trying-to-understand-parallel-performance-in-turing/74963)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 6\
**Last updated:** [February 23, 2022, 10:00pm UTC](https://discourse.julialang.org/t/trying-to-understand-parallel-performance-in-turing/74963 "2022-02-23T22:00:44Z")

</div>

Hi! I’ve been learning Turing for the last couple of weeks and while trying to make the most out of the 8 cores in my computer, I realized performance was not scaling as I expected when sampling multiple chains with mul…

---

## [Tag each unique combination of column values in DataFrames](https://discourse.julialang.org/t/tag-each-unique-combination-of-column-values-in-dataframes/76203)

<div class="topic-metadata">

**Author:** [@Gabriel\_Kreindler](https://discourse.julialang.org/u/Gabriel_Kreindler)\
**Replies:** 5\
**Last updated:** [February 23, 2022, 9:25pm UTC](https://discourse.julialang.org/t/tag-each-unique-combination-of-column-values-in-dataframes/76203 "2022-02-23T21:25:21Z")

</div>

I have columns c1,c2, …, cN in a dataframe and I would like to create a column c\_new that takes a unique numeric value for each unique combination of values of c1,…, cN. If there a function to achieve this? (In Stata I…

---

## [WMS - Web Map Services displays](https://discourse.julialang.org/t/wms-web-map-services-displays/14483)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 12\
**Last updated:** [February 23, 2022, 8:30pm UTC](https://discourse.julialang.org/t/wms-web-map-services-displays/14483 "2022-02-23T20:30:45Z")

</div>

May I ask if anyone is familiar with WMS displays of data Web Map Service - MATLAB & Simulink - MathWorks United Kingdom Web Map Service - Wikipedia I ask for a good reason, as I would like to do some example plots usi…

---

## [JuMP dual inside loop](https://discourse.julialang.org/t/jump-dual-inside-loop/76895)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 2\
**Last updated:** [February 23, 2022, 7:35pm UTC](https://discourse.julialang.org/t/jump-dual-inside-loop/76895 "2022-02-23T19:35:19Z")

</div>

Hello! I am trying to run a code using the dual function from JuMP inside a loop, but I’m not getting the results I expected. The code is a bit extensive, so I’ll try to put here the most relevant parts of the model fo…

---

## [Vegalite.jl plot size in VS Code](https://discourse.julialang.org/t/vegalite-jl-plot-size-in-vs-code/76977)

<div class="topic-metadata">

**Author:** [@Mastomaki](https://discourse.julialang.org/u/Mastomaki)\
**Replies:** 3\
**Last updated:** [February 23, 2022, 5:45pm UTC](https://discourse.julialang.org/t/vegalite-jl-plot-size-in-vs-code/76977 "2022-02-23T17:45:23Z")

</div>

Hello! How can I make the VegaLite.jl @vlplot plots bigger in VS Code? Now it is just a bit bigger than my thumb.

---

## [\`optimizer\_with\_attributes\` failing when called inside a module](https://discourse.julialang.org/t/optimizer-with-attributes-failing-when-called-inside-a-module/76912)

<div class="topic-metadata">

**Author:** [@Di11on](https://discourse.julialang.org/u/Di11on)\
**Replies:** 2\
**Last updated:** [February 23, 2022, 4:40pm UTC](https://discourse.julialang.org/t/optimizer-with-attributes-failing-when-called-inside-a-module/76912 "2022-02-23T16:40:49Z")

</div>

Hi folks, I am having some problems getting some code to run inside a module. It runs fine when run directly in the REPL. Here is it: mod\_name = Symbol("HiGHS") @eval using $mod\_name mod = getproperty(@\_\_MO…

---

## [Best practices for dealing with NaNs in multiple data set using Turing](https://discourse.julialang.org/t/best-practices-for-dealing-with-nans-in-multiple-data-set-using-turing/70423)

<div class="topic-metadata">

**Author:** [@99dB](https://discourse.julialang.org/u/99dB)\
**Replies:** 2\
**Last updated:** [February 23, 2022, 3:44pm UTC](https://discourse.julialang.org/t/best-practices-for-dealing-with-nans-in-multiple-data-set-using-turing/70423 "2022-02-23T15:44:01Z")

</div>

What is the best way to deal with NaNs in multiple data treatments when using Turing? For example, for this example tutorial from https://github.com/TuringLang/TuringTutorials/blob/master/tutorials/10-bayesian-different…

---

## [Turing, Ordered Variables, and the Dirichlet Distribution](https://discourse.julialang.org/t/turing-ordered-variables-and-the-dirichlet-distribution/76970)

<div class="topic-metadata">

**Author:** [@wc4wc4wc4](https://discourse.julialang.org/u/wc4wc4wc4)\
**Replies:** 0\
**Last updated:** [February 23, 2022, 1:25pm UTC](https://discourse.julialang.org/t/turing-ordered-variables-and-the-dirichlet-distribution/76970 "2022-02-23T13:25:52Z")

</div>

Hi all, I am trying to fit some diffusion data which we expect to be generated from two or more Rayleigh distributions. To make some data for the MWE, take the following example: function get\_data(; μ₁ = 1, μ₂ = 2, N …

---

## [How to implement a Gaussian NN with covariance matrix?](https://discourse.julialang.org/t/how-to-implement-a-gaussian-nn-with-covariance-matrix/76704)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 7\
**Last updated:** [February 23, 2022, 11:28am UTC](https://discourse.julialang.org/t/how-to-implement-a-gaussian-nn-with-covariance-matrix/76704 "2022-02-23T11:28:56Z")

</div>

Hello, I’m editing this question to make it clearer since I got no solution still :frowning:. I need to implement a NN that outputs a covariance matrix. Say we have N variables, I need to be able to compute a symetric …

---

## [What plotting library to use for HEP](https://discourse.julialang.org/t/what-plotting-library-to-use-for-hep/76962)

<div class="topic-metadata">

**Author:** [@shoram](https://discourse.julialang.org/u/shoram)\
**Replies:** 3\
**Last updated:** [February 23, 2022, 9:08am UTC](https://discourse.julialang.org/t/what-plotting-library-to-use-for-hep/76962 "2022-02-23T09:08:07Z")

</div>

Hi all, I am starting my phd in particle physics and would love to use Julia for data analysis/visualization. Do you have any advice on what plotting library should I use which has the most ROOT (from CERN) features? Si…

---

## [What is the currently recommended way to access a postgres database?](https://discourse.julialang.org/t/what-is-the-currently-recommended-way-to-access-a-postgres-database/75862)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 3\
**Last updated:** [February 23, 2022, 9:03am UTC](https://discourse.julialang.org/t/what-is-the-currently-recommended-way-to-access-a-postgres-database/75862 "2022-02-23T09:03:56Z")

</div>

My search made it look like the LibPQ.jl wrapper would be the most popular way to access a PostgreSQL database. Is there something else I should look at?

---

## [What does MLJ.save really save?](https://discourse.julialang.org/t/what-does-mlj-save-really-save/74606)

<div class="topic-metadata">

**Author:** [@wc4wc4wc4](https://discourse.julialang.org/u/wc4wc4wc4)\
**Replies:** 12\
**Last updated:** [February 23, 2022, 8:31am UTC](https://discourse.julialang.org/t/what-does-mlj-save-really-save/74606 "2022-02-23T08:31:17Z")

</div>

I am running a MLJ pipeline on a quite large dataset and I want to be able to save the model once, and then use it in later sessions without having to retrain it. I have tried following the documentation regarding saving…

---

## [GenX model : Configurable Capacity Expansion Model](https://discourse.julialang.org/t/genx-model-configurable-capacity-expansion-model/76887)

<div class="topic-metadata">

**Author:** [@iAnkiit](https://discourse.julialang.org/u/iAnkiit)\
**Replies:** 4\
**Last updated:** [February 23, 2022, 7:11am UTC](https://discourse.julialang.org/t/genx-model-configurable-capacity-expansion-model/76887 "2022-02-23T07:11:06Z")

</div>

This model is developed for power generation and related stuff. It is completely written in Julia and JuMP. Can someone please help out with understanding of this model ? GenX model by MIT I need to understand the code…

---

## [Where to discuss replacement of Rmath?](https://discourse.julialang.org/t/where-to-discuss-replacement-of-rmath/9671)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 26\
**Last updated:** [February 22, 2022, 10:18pm UTC](https://discourse.julialang.org/t/where-to-discuss-replacement-of-rmath/9671 "2022-02-22T22:18:34Z")

</div>

A long-standing objective related to the Distributions and StatsFuns packages is to provide native Julia versions of various pdf (probability density or mass) and cdf (cumulative distribution) functions. The Rmath packa…

---

## [Code listing in Makie.jl figure](https://discourse.julialang.org/t/code-listing-in-makie-jl-figure/74395)

<div class="topic-metadata">

**Author:** [@willtebbutt](https://discourse.julialang.org/u/willtebbutt)\
**Replies:** 7\
**Last updated:** [February 22, 2022, 8:54pm UTC](https://discourse.julialang.org/t/code-listing-in-makie-jl-figure/74395 "2022-02-22T20:54:54Z")

</div>

I’m interested in producing a figure using Makie with two sections. One section with a figure, another with a code listing (Julia code, of course). Has anyone tried this before / got any thoughts about how I could go abo…

---

## [Segmentation fault when applying PCA to a big dataset on an HPC](https://discourse.julialang.org/t/segmentation-fault-when-applying-pca-to-a-big-dataset-on-an-hpc/76900)

<div class="topic-metadata">

**Author:** [@Ivan](https://discourse.julialang.org/u/Ivan)\
**Replies:** 2\
**Last updated:** [February 22, 2022, 7:15pm UTC](https://discourse.julialang.org/t/segmentation-fault-when-applying-pca-to-a-big-dataset-on-an-hpc/76900 "2022-02-22T19:15:11Z")

</div>

I understand the following may be due to the fact that I am using an HPC remote service. If that’s the case, I would appreciate comments on where to ask this question best. I have a big array (2765 x 12212224), and I wa…

---

## [Optim user-supplied gradient and hessian MLE](https://discourse.julialang.org/t/optim-user-supplied-gradient-and-hessian-mle/76848)

<div class="topic-metadata">

**Author:** [@luischanci](https://discourse.julialang.org/u/luischanci)\
**Replies:** 3\
**Last updated:** [February 22, 2022, 5:19pm UTC](https://discourse.julialang.org/t/optim-user-supplied-gradient-and-hessian-mle/76848 "2022-02-22T17:19:10Z")

</div>

I’m moving my MLE class notes to incorporate Julia, so I’m exploring how to incorporate the analytical gradient and hessian into an optimization problem using Optim. I created a toy model to check the commands first. Ho…

---

## [Passing CuArray to PyTorch Tensor](https://discourse.julialang.org/t/passing-cuarray-to-pytorch-tensor/23067)

<div class="topic-metadata">

**Author:** [@gdestouet](https://discourse.julialang.org/u/gdestouet)\
**Replies:** 7\
**Last updated:** [February 22, 2022, 12:01am UTC](https://discourse.julialang.org/t/passing-cuarray-to-pytorch-tensor/23067 "2022-02-22T00:01:37Z")

</div>

Hello everyone, I am actually using this to pass CuArrays to PyTorch Tensor : using PyCall tc = pyimport("torch") using CuArrays x=cu(randn(1024,1024)) @time tc.from\_numpy(Array(x)).cuda() 0.025017 seconds (62 alloca…

---

## [Interactive Smith Chart](https://discourse.julialang.org/t/interactive-smith-chart/76862)

<div class="topic-metadata">

**Author:** [@white-c](https://discourse.julialang.org/u/white-c)\
**Replies:** 4\
**Last updated:** [February 21, 2022, 10:05pm UTC](https://discourse.julialang.org/t/interactive-smith-chart/76862 "2022-02-21T22:05:59Z")

</div>

I’m interested in having a Smith Chart that is interactive. I have seen static smith charts in some of Julia’s plotting ecosystem. I have found that Plotly has them in its Python library. Is there a way to get that in Pl…

---

## [Link axis not working in Plots for marginal density](https://discourse.julialang.org/t/link-axis-not-working-in-plots-for-marginal-density/76857)

<div class="topic-metadata">

**Author:** [@rwalters31](https://discourse.julialang.org/u/rwalters31)\
**Replies:** 0\
**Last updated:** [February 21, 2022, 7:04pm UTC](https://discourse.julialang.org/t/link-axis-not-working-in-plots-for-marginal-density/76857 "2022-02-21T19:04:52Z")

</div>

I’m trying to put in marginal density plots above and to the right of x,y scatter data. I have tried the ‘link’ in both the :x, :y, and :both directions but as you can see the top figure does not match the axis of th…

---

## [Segmentation fault error with JuMP and Ipopt on HPC cluster](https://discourse.julialang.org/t/segmentation-fault-error-with-jump-and-ipopt-on-hpc-cluster/67642)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 7:19pm UTC](https://discourse.julialang.org/t/segmentation-fault-error-with-jump-and-ipopt-on-hpc-cluster/67642 "2021-09-03T19:19:52Z")

</div>

Dear All, I am trying to solve a large-scale optimization problem that uses JuMP and Ipopt. I get a signal (11): Segmentation fault error trying to run the code on an HPC cluster (details below), however if I switch to …

---

## [How to use Bijectors.jl for model with simplex, am I doing right?](https://discourse.julialang.org/t/how-to-use-bijectors-jl-for-model-with-simplex-am-i-doing-right/76768)

<div class="topic-metadata">

**Author:** [@pleochroite](https://discourse.julialang.org/u/pleochroite)\
**Replies:** 4\
**Last updated:** [February 21, 2022, 4:49pm UTC](https://discourse.julialang.org/t/how-to-use-bijectors-jl-for-model-with-simplex-am-i-doing-right/76768 "2022-02-21T16:49:50Z")

</div>

Hello all, I am trying to translate a textbook written in R/Stan into Turing. Simple models such as logistic regression are easy for me to model. However, faced to advanced models with ordered/simplex constraints, I got…

---

## [ANN: Simulated Neural Moments now uses Turing](https://discourse.julialang.org/t/ann-simulated-neural-moments-now-uses-turing/76843)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 0\
**Last updated:** [February 21, 2022, 2:59pm UTC](https://discourse.julialang.org/t/ann-simulated-neural-moments-now-uses-turing/76843 "2022-02-21T14:59:33Z")

</div>

Following the simple example of ABC/MSM using Turing.jl (ABC / MSM with Turing.jl), I have updated the https://github.com/mcreel/SimulatedNeuralMoments.jl package to write the likelihood using the Turing.jl PPL form. Sam…

---

## [Boruta algorithm](https://discourse.julialang.org/t/boruta-algorithm/76821)

<div class="topic-metadata">

**Author:** [@Jaidy](https://discourse.julialang.org/u/Jaidy)\
**Replies:** 4\
**Last updated:** [February 21, 2022, 11:46am UTC](https://discourse.julialang.org/t/boruta-algorithm/76821 "2022-02-21T11:46:00Z")

</div>

Hi everyone, I am looking to use Boruta algorithm to select features for my project. First I looked up for a Julia implementation of Baruta algorithm, but could not find any. Then I found Python implementation and tried…

---

## [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…

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

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