# Specific Domains

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

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

**Page:** 485

---

## [3D Conv Training Error](https://discourse.julialang.org/t/3d-conv-training-error/26831)

<div class="topic-metadata">

**Author:** [@MaximilianGelbrecht](https://discourse.julialang.org/u/MaximilianGelbrecht)\
**Replies:** 1\
**Last updated:** [August 27, 2019, 1:25pm UTC](https://discourse.julialang.org/t/3d-conv-training-error/26831 "2019-08-27T13:25:45Z")

</div>

Hi there, I encountered an error while setting up a 3D CNN that I dont understand. The problems boils down to this: While in 2D using Flux a, b = rand(5,10,2,10), rand(5,10,2,10) m= Chain(Conv((3,3),2=\>4,pad=(1,1)), …

---

## [DataFrame or DataFrameRow to Dict and JSON](https://discourse.julialang.org/t/dataframe-or-dataframerow-to-dict-and-json/28018)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 1\
**Last updated:** [August 27, 2019, 6:00am UTC](https://discourse.julialang.org/t/dataframe-or-dataframerow-to-dict-and-json/28018 "2019-08-27T06:00:21Z")

</div>

Wanted to double-check if there are any recommended ways to convert a DataFrame (or DataFrameRow) into a Dict (for eventually conversion to JSON). This is the inverse of this question. “List of Dicts” JSON format would …

---

## [Issues with JuliaPlots aspect ratio in 3d](https://discourse.julialang.org/t/issues-with-juliaplots-aspect-ratio-in-3d/28023)

<div class="topic-metadata">

**Author:** [@Brad\_Hines](https://discourse.julialang.org/u/Brad_Hines)\
**Replies:** 0\
**Last updated:** [August 27, 2019, 3:19am UTC](https://discourse.julialang.org/t/issues-with-juliaplots-aspect-ratio-in-3d/28023 "2019-08-27T03:19:39Z")

</div>

I am using plot(x,y,z,aspect\_ratio=:equal,…) Sometimes the aspect ratio “sticks” and sometimes it doesn’t. I am doing a day-long animation, and the aspect ratio jumps once every hour or two. For example, it’s fine at…

---

## [How to compute hessian](https://discourse.julialang.org/t/how-to-compute-hessian/28012)

<div class="topic-metadata">

**Author:** [@stochastic\_guy](https://discourse.julialang.org/u/stochastic_guy)\
**Replies:** 1\
**Last updated:** [August 26, 2019, 11:14pm UTC](https://discourse.julialang.org/t/how-to-compute-hessian/28012 "2019-08-26T23:14:08Z")

</div>

New to Flux! I want to compute the gradient and hessian for this loss function. loss(x,y) = -sum(y.\*log.(model(x)) .- (1 .- y).\*log.(1 .- model(x))) \* 1 // size(y, 2) where model = Flux.Dense(in,out,σ) And how do yo…

---

## [BigFloat wrong](https://discourse.julialang.org/t/bigfloat-wrong/27987)

<div class="topic-metadata">

**Author:** [@mefi](https://discourse.julialang.org/u/mefi)\
**Replies:** 7\
**Last updated:** [August 26, 2019, 4:42pm UTC](https://discourse.julialang.org/t/bigfloat-wrong/27987 "2019-08-26T16:42:27Z")

</div>

Why BigFloat(10^(1/4) is wrong? julia\> BigFloat(10^(1/4)) 1.778279410038922758729995621251873672008514404296875 exact: 1.77827941003892280122542119519… Thanks

---

## [JuMP v0.19.2 ⇒ v0.18.6](https://discourse.julialang.org/t/jump-v0-19-2-v0-18-6/27917)

<div class="topic-metadata">

**Author:** [@raktim](https://discourse.julialang.org/u/raktim)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 1:57pm UTC](https://discourse.julialang.org/t/jump-v0-19-2-v0-18-6/27917 "2019-08-26T13:57:09Z")

</div>

Just installed Julia 1.2 along with JuMP and other packages. Did an update and noticed that JuMP was downgraded from version v0.19.2 ⇒ v0.18.6. Not sure why this is happening. Any clues?

---

## [JuMPeR installation problem with juliaPro-0.5.1.1](https://discourse.julialang.org/t/jumper-installation-problem-with-juliapro-0-5-1-1/2930)

<div class="topic-metadata">

**Author:** [@Ayse\_Nur\_Arslan](https://discourse.julialang.org/u/Ayse_Nur_Arslan)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 1:31pm UTC](https://discourse.julialang.org/t/jumper-installation-problem-with-juliapro-0-5-1-1/2930 "2019-08-26T13:31:33Z")

</div>

Hello, I get the following error message when attempting to add the JuMPeR package using juliaPro-0.5.1.1 with the command Pkg.add(“JuMPeR”): ERROR: unsatisfiable package requirements detected: no feasible version cou…

---

## [Error requiring CuArrays from Flux](https://discourse.julialang.org/t/error-requiring-cuarrays-from-flux/27975)

<div class="topic-metadata">

**Author:** [@Lyupinpin](https://discourse.julialang.org/u/Lyupinpin)\
**Replies:** 2\
**Last updated:** [August 26, 2019, 8:45am UTC](https://discourse.julialang.org/t/error-requiring-cuarrays-from-flux/27975 "2019-08-26T08:45:35Z")

</div>

When I use the CuArrays, some warning always confuse me like, using CuArrays ┌ Warning: Error requiring CuArrays from Flux: │ LoadError: LoadError: UndefVarError: libcudnn not defined │ Stacktrace: │ \[1\] include at ./b…

---

## [My experiences reading CSVs from the Fannie Mae datasets](https://discourse.julialang.org/t/my-experiences-reading-csvs-from-the-fannie-mae-datasets/8737)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 62\
**Last updated:** [August 26, 2019, 7:41am UTC](https://discourse.julialang.org/t/my-experiences-reading-csvs-from-the-fannie-mae-datasets/8737 "2019-08-26T07:41:02Z")

</div>

I am pretty excited about the Fannie Mae data being released so I tried to load the data into Julia. Unfortunately, it’s too much work trying to produce a MWE as being able to load large datasets is part of the point. Bu…

---

## [Transposing player orders in a linear constraint](https://discourse.julialang.org/t/transposing-player-orders-in-a-linear-constraint/27945)

<div class="topic-metadata">

**Author:** [@Saggaa](https://discourse.julialang.org/u/Saggaa)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 7:30am UTC](https://discourse.julialang.org/t/transposing-player-orders-in-a-linear-constraint/27945 "2019-08-26T07:30:28Z")

</div>

Hello everyone! I am currently learning Julia in college and i would need your expert help to better define a linear constraint in the frame of an assignment. Our professor is passionate about MLB and our assignment is…

---

## [Common interface for chunked arrays?](https://discourse.julialang.org/t/common-interface-for-chunked-arrays/26009)

<div class="topic-metadata">

**Author:** [@fabiangans](https://discourse.julialang.org/u/fabiangans)\
**Replies:** 10\
**Last updated:** [August 26, 2019, 6:56am UTC](https://discourse.julialang.org/t/common-interface-for-chunked-arrays/26009 "2019-08-26T06:56:16Z")

</div>

Hi all, there is quite a zoo of data formats that allow you to store multidimensional arrays tiled into chunks, with or without compression. Examples are HDF5.jl, NetCDF.jl, Zarr.jl, or BigArrays.jl, maybe there will be…

---

## [Trouble creating new column in grouped object](https://discourse.julialang.org/t/trouble-creating-new-column-in-grouped-object/27982)

<div class="topic-metadata">

**Author:** [@tlnagy](https://discourse.julialang.org/u/tlnagy)\
**Replies:** 1\
**Last updated:** [August 26, 2019, 5:15am UTC](https://discourse.julialang.org/t/trouble-creating-new-column-in-grouped-object/27982 "2019-08-26T05:15:28Z")

</div>

using Query using DataFrames ex\_df = DataFrame(id = \[1,1,1,2,2,2,2\], trip= \["a", "a", "b", "a", "a", "b", "b"\], values=rand(7)) function consect(d) # 0 if consecutive values are the same, 1 otherwise Int.(view(…

---

## [JuliaDiffEq with custom types](https://discourse.julialang.org/t/juliadiffeq-with-custom-types/16294)

<div class="topic-metadata">

**Author:** [@mzilhao](https://discourse.julialang.org/u/mzilhao)\
**Replies:** 28\
**Last updated:** [August 25, 2019, 10:37pm UTC](https://discourse.julialang.org/t/juliadiffeq-with-custom-types/16294 "2019-08-25T22:37:18Z")

</div>

i’m writing a program where i’m using my own array type, and i’d like to use DifferentialEquations to solve some ODEs that show up. i was under the impression that it should work with any AbstractArray, but this is eithe…

---

## [Module idea for helping calculate large sparse Jacobians](https://discourse.julialang.org/t/module-idea-for-helping-calculate-large-sparse-jacobians/27941)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 5\
**Last updated:** [August 25, 2019, 7:43pm UTC](https://discourse.julialang.org/t/module-idea-for-helping-calculate-large-sparse-jacobians/27941 "2019-08-25T19:43:57Z")

</div>

I’ve put together a minimal, tiny draft of a project idea I had. It’s about helping to work with large structured models, the kind of thing you might use g2o for (and I imagine similar things might exist for FEM). Basica…

---

## [Overwrite partial DataFrame Row with new Array](https://discourse.julialang.org/t/overwrite-partial-dataframe-row-with-new-array/27953)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 3\
**Last updated:** [August 25, 2019, 10:46am UTC](https://discourse.julialang.org/t/overwrite-partial-dataframe-row-with-new-array/27953 "2019-08-25T10:46:48Z")

</div>

I’m attempting to overwrite the last two elements in a dataframe row with the contents of an array. df = DataFrame(\[1 2 3\]) df\[1,2:3\] = DataFrame(\[5 10\]) ERROR: BoundsError: attempt to access "attempt to access a data f…

---

## [(Beginner) How to access value in a DataValue](https://discourse.julialang.org/t/beginner-how-to-access-value-in-a-datavalue/27944)

<div class="topic-metadata">

**Author:** [@hmmueller](https://discourse.julialang.org/u/hmmueller)\
**Replies:** 6\
**Last updated:** [August 24, 2019, 7:47pm UTC](https://discourse.julialang.org/t/beginner-how-to-access-value-in-a-datavalue/27944 "2019-08-24T19:47:31Z")

</div>

At DataValues.jl, I am informed that " One can access or unpack the value within a DataValue either via the get(x) function, or use the x\[\] syntax." I do not know “the x\[\] syntax” - when I tried just writing (e.g.) i.key…

---

## [JuMP array or dictionary lookups](https://discourse.julialang.org/t/jump-array-or-dictionary-lookups/27937)

<div class="topic-metadata">

**Author:** [@bhalonen](https://discourse.julialang.org/u/bhalonen)\
**Replies:** 1\
**Last updated:** [August 24, 2019, 3:39pm UTC](https://discourse.julialang.org/t/jump-array-or-dictionary-lookups/27937 "2019-08-24T15:39:30Z")

</div>

Is it possible to look up values in an array or a dict using integer variables? Something like @variable(model, x, Int) # restrict x to appropriate values @constraint(model, my\_array\[x\] \<= 5) Or should a binary array …

---

## [Combine two capabilities of DataFrames.eachcol](https://discourse.julialang.org/t/combine-two-capabilities-of-dataframes-eachcol/27923)

<div class="topic-metadata">

**Author:** [@danriggins](https://discourse.julialang.org/u/danriggins)\
**Replies:** 2\
**Last updated:** [August 24, 2019, 2:38pm UTC](https://discourse.julialang.org/t/combine-two-capabilities-of-dataframes-eachcol/27923 "2019-08-24T14:38:57Z")

</div>

In the documentation for Dataframe.eachcol, I noticed these two examples: julia\> sum.(eachcol(df)) 2-element Array{Int64,1}: 10 50 julia\> collect(eachcol(df, true)) 2-element Array{Pair{Symbol,AbstractArray{T,1} wher…

---

## [Precompiling CUDAnative on login node (works on compute node)](https://discourse.julialang.org/t/precompiling-cudanative-on-login-node-works-on-compute-node/27886)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 6\
**Last updated:** [August 23, 2019, 4:07pm UTC](https://discourse.julialang.org/t/precompiling-cudanative-on-login-node-works-on-compute-node/27886 "2019-08-23T16:07:50Z")

</div>

This is a follow up of this post about building CUDAnative on login node. Building CUDAnative on the login nodes works with the master version. Now, unfortunately, comes up the next problem: how can we precompile CUDAnat…

---

## [PPL without observations as function parameters](https://discourse.julialang.org/t/ppl-without-observations-as-function-parameters/27830)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 14\
**Last updated:** [August 23, 2019, 1:50pm UTC](https://discourse.julialang.org/t/ppl-without-observations-as-function-parameters/27830 "2019-08-23T13:50:13Z")

</div>

Hi! I’m working on some changes in Soss, and they’re different than the usual way of going about PPL. Thought I’d share them here in case other are curious or have any thoughts blah blah (the usual stuff on that front) …

---

## [Cannot build CUDAnative on login node (works on compute node)](https://discourse.julialang.org/t/cannot-build-cudanative-on-login-node-works-on-compute-node/27860)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 10:34am UTC](https://discourse.julialang.org/t/cannot-build-cudanative-on-login-node-works-on-compute-node/27860 "2019-08-23T10:34:23Z")

</div>

Context I am preparing a site-wide installation of Julia with the CUDA packages (CUDAdrv, CUDAnative and CuArrays) on our GPU supercomputer. To this purpose, I am creating automated installation recipes as for all our so…

---

## [Pseudo-inverse and the backslash operator](https://discourse.julialang.org/t/pseudo-inverse-and-the-backslash-operator/27882)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 3\
**Last updated:** [August 23, 2019, 10:31am UTC](https://discourse.julialang.org/t/pseudo-inverse-and-the-backslash-operator/27882 "2019-08-23T10:31:44Z")

</div>

So, I have a sparse matrix A and a vector b and I want to compute pinv(A)\*b. After reading this post I tried the following: using LinearAlgebra julia\> A = \[1 1 1; 2 2 2; 1 0 1\] 3×3 Array{Int64,2}: 1 …

---

## [PGFPlotsX.jl - xtick distance/range/count for histograms?](https://discourse.julialang.org/t/pgfplotsx-jl-xtick-distance-range-count-for-histograms/27311)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 9\
**Last updated:** [August 23, 2019, 10:26am UTC](https://discourse.julialang.org/t/pgfplotsx-jl-xtick-distance-range-count-for-histograms/27311 "2019-08-23T10:26:36Z")

</div>

This is more a general question: I have to deal with lots of histograms and I have problems setting the xticks when the option ybar interval is set, since xtick distance = {NUMBER} seems to be ignored by pgfplots. To be…

---

## [Simple bundle adjustment: array in nonlinear expression?](https://discourse.julialang.org/t/simple-bundle-adjustment-array-in-nonlinear-expression/27851)

<div class="topic-metadata">

**Author:** [@bars](https://discourse.julialang.org/u/bars)\
**Replies:** 4\
**Last updated:** [August 23, 2019, 9:27am UTC](https://discourse.julialang.org/t/simple-bundle-adjustment-array-in-nonlinear-expression/27851 "2019-08-23T09:27:49Z")

</div>

Hi there! I’m here since I find Julia, and JuMP in particular, very impressive and I suspect it should be a very good fit for SLAM (Simultaneous Localization and Mapping), where C++ is still the popular choice. In part…

---

## [Series recipe for a 3d plot or a heatmap](https://discourse.julialang.org/t/series-recipe-for-a-3d-plot-or-a-heatmap/27614)

<div class="topic-metadata">

**Author:** [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)\
**Replies:** 2\
**Last updated:** [August 22, 2019, 9:14pm UTC](https://discourse.julialang.org/t/series-recipe-for-a-3d-plot-or-a-heatmap/27614 "2019-08-22T21:14:53Z")

</div>

I am trying to make a recipe for a customized heatmap. However, my new seriestype is not recognized as 3d, is it seems. @recipe function f(::Type{Val{:balanceplot}}, x, y, z) zlim = max(abs.(z)...) clim := (-zli…

---

## [Subplots with Plots/pyplot()/Juno](https://discourse.julialang.org/t/subplots-with-plots-pyplot-juno/22425)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 1\
**Last updated:** [August 22, 2019, 8:26pm UTC](https://discourse.julialang.org/t/subplots-with-plots-pyplot-juno/22425 "2019-08-22T20:26:05Z")

</div>

Hello, I am trying to get subplots to work with Plots.jl and pyplot backend. My workflow is as follows: function my\_plot() ... scatter(...) end using Plots pyplot() p1 = my\_plot(args1); p2 = my\_plot(args2); plo…

---

## [Probabilistic Programming with Turing.jl - Question about example](https://discourse.julialang.org/t/probabilistic-programming-with-turing-jl-question-about-example/27823)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [August 22, 2019, 5:27pm UTC](https://discourse.julialang.org/t/probabilistic-programming-with-turing-jl-question-about-example/27823 "2019-08-22T17:27:36Z")

</div>

I’m a beginner with Turing.jl/probabilistic programming/Bayesian stats and I’m not understanding a key piece of the introductory coin-flip example in the docs and I’m hoping someone can explain it to me. I understand th…

---

## [StructJuMP](https://discourse.julialang.org/t/structjump/27797)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [August 21, 2019, 3:17pm UTC](https://discourse.julialang.org/t/structjump/27797 "2019-08-21T15:17:45Z")

</div>

Any advice on how to get the extensive form from a StructuredModel?

---

## [Biostar Handbook, computational genomics, and Julia - to be or not to be?](https://discourse.julialang.org/t/biostar-handbook-computational-genomics-and-julia-to-be-or-not-to-be/25732)

<div class="topic-metadata">

**Author:** [@XVilka](https://discourse.julialang.org/u/XVilka)\
**Replies:** 23\
**Last updated:** [August 21, 2019, 2:03pm UTC](https://discourse.julialang.org/t/biostar-handbook-computational-genomics-and-julia-to-be-or-not-to-be/25732 "2019-08-21T14:03:56Z")

</div>

How many people started to learn bioinformatics with Julia, not Python? I guess not many. There is a unique opportunity to change that - one of the most recommended books for the beginners in this area is Biostar Handboo…

---

## [How can I update matrix value by using row and column vector julia](https://discourse.julialang.org/t/how-can-i-update-matrix-value-by-using-row-and-column-vector-julia/27779)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 2\
**Last updated:** [August 21, 2019, 3:01am UTC](https://discourse.julialang.org/t/how-can-i-update-matrix-value-by-using-row-and-column-vector-julia/27779 "2019-08-21T03:01:10Z")

</div>

Hello, I have an initialized 2D Float array as follows: proj\_img = zeros(1024,1024) I have another 2D Float array contain a specific row and column location as follows: pix\_vis\_locs= \[621 1 622 2 …

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

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