# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=511

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

**Page:** 512

---

## [Controlling the data --\> color gradient mapping in Plots](https://discourse.julialang.org/t/controlling-the-data-color-gradient-mapping-in-plots/20096)

<div class="topic-metadata">

**Author:** [@tobydriscoll](https://discourse.julialang.org/u/tobydriscoll)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 7:31pm UTC](https://discourse.julialang.org/t/controlling-the-data-color-gradient-mapping-in-plots/20096 "2019-01-25T19:31:01Z")

</div>

x = (0:80)/80; y = @.sin(3\*exp(x)); using Plots cg = cgrad(:viridis,range(0,stop=1,length=64)) plot(x,y,line\_z=y,color=cg) What I get (this is GR, but other backends seem to be similar): This is not what I expecte…

---

## [About the convention for the design matrix (row-as-observation or column-as-observation)](https://discourse.julialang.org/t/about-the-convention-for-the-design-matrix-row-as-observation-or-column-as-observation/20080)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 3\
**Last updated:** [January 25, 2019, 12:26pm UTC](https://discourse.julialang.org/t/about-the-convention-for-the-design-matrix-row-as-observation-or-column-as-observation/20080 "2019-01-25T12:26:43Z")

</div>

At the risk of resucitating an old discussion… I was exploring some of the code in JuliaStats and Clustering and realised that a convention often used in these packages (and in similar ones like GaussianProcesses) is th…

---

## [How to fit MixedModels with the option REML=TRUE?](https://discourse.julialang.org/t/how-to-fit-mixedmodels-with-the-option-reml-true/19746)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 5\
**Last updated:** [January 25, 2019, 7:20am UTC](https://discourse.julialang.org/t/how-to-fit-mixedmodels-with-the-option-reml-true/19746 "2019-01-25T07:20:37Z")

</div>

I need to use the package MixedModels.jl for regression with random effects. I’ve created the following toy example. using DataFrames, MixedModels, StatsBase, Distributions, LinearAlgebra, SparseArrays N=50 x1 = rep…

---

## [Studentized Range Distribution?](https://discourse.julialang.org/t/studentized-range-distribution/20050)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 3\
**Last updated:** [January 24, 2019, 9:56pm UTC](https://discourse.julialang.org/t/studentized-range-distribution/20050 "2019-01-24T21:56:14Z")

</div>

I may be missing it, but does Distributions.jl contain the q (Studentized range) distribution? This is the one used for post-hoc multiple comparisons. Defined by degrees of freedom (nu) and number of comparisons (k).

---

## [JuliaDB: GroupViews](https://discourse.julialang.org/t/juliadb-groupviews/20045)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 0\
**Last updated:** [January 24, 2019, 5:10pm UTC](https://discourse.julialang.org/t/juliadb-groupviews/20045 "2019-01-24T17:10:42Z")

</div>

I’ve found it particularly useful to view JuliaDB tables by chunks (denoted either by their primary keys, or a subset of the indexing key). Is there any plan to implement anything like the following into the library(whet…

---

## [DiffEqFlux.jl – A Julia Library for Neural Differential Equations](https://discourse.julialang.org/t/diffeqflux-jl-a-julia-library-for-neural-differential-equations/20000)

<div class="topic-metadata">

**Author:** [@MikeInnes](https://discourse.julialang.org/u/MikeInnes)\
**Replies:** 1\
**Last updated:** [January 24, 2019, 6:40am UTC](https://discourse.julialang.org/t/diffeqflux-jl-a-julia-library-for-neural-differential-equations/20000 "2019-01-24T06:40:42Z")

</div>

We just released a new blog post showing how you can replicate the results of the recent Neural ODEs paper – and then some – using Flux and DifferentialEquations.jl. We’ve been combining ML and DiffEqs for a quite some t…

---

## [Convert a JuMPArray in PowerModels](https://discourse.julialang.org/t/convert-a-jumparray-in-powermodels/19947)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 6\
**Last updated:** [January 24, 2019, 3:41am UTC](https://discourse.julialang.org/t/convert-a-jumparray-in-powermodels/19947 "2019-01-24T03:41:30Z")

</div>

Hi All, I have the following piece of code in PowerModels that does some post processing procedures. It works perfectly for small test systems. aa = getvalue(var(pm, :cs)) bpp = Dict( (parse(Int,i), branch\["f\_bus"\] ,…

---

## [What does \`Flux.@treelike\` do?](https://discourse.julialang.org/t/what-does-flux-treelike-do/19975)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 2\
**Last updated:** [January 24, 2019, 3:24am UTC](https://discourse.julialang.org/t/what-does-flux-treelike-do/19975 "2019-01-24T03:24:12Z")

</div>

What does Flux.@treelike do? In Flux’s source code, I see a lot of Flux’s layers are defined and then @treelike is called. .E.g. @treelike Dense.

---

## [Multi-dimensional SharedArrays.jl don't work in @distributed loops](https://discourse.julialang.org/t/multi-dimensional-sharedarrays-jl-dont-work-in-distributed-loops/19944)

<div class="topic-metadata">

**Author:** [@michaelkyu](https://discourse.julialang.org/u/michaelkyu)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 4:04pm UTC](https://discourse.julialang.org/t/multi-dimensional-sharedarrays-jl-dont-work-in-distributed-loops/19944 "2019-01-23T16:04:12Z")

</div>

I’m following the documentation for parallel code in Julia v1.0. The simple example in the docs for using a 1D SharedArrays and @distributed does execute correctly for me. However, if I modify the example to make the Sha…

---

## [Julia 0.6 parallelization of modules and functions](https://discourse.julialang.org/t/julia-0-6-parallelization-of-modules-and-functions/19952)

<div class="topic-metadata">

**Author:** [@wonderboy3489](https://discourse.julialang.org/u/wonderboy3489)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 4:00pm UTC](https://discourse.julialang.org/t/julia-0-6-parallelization-of-modules-and-functions/19952 "2019-01-23T16:00:13Z")

</div>

Hi all, I’m trying to modify some example code from the documentation and am running into an error. Here’s my module that I’m trying to create: @everywhere module parallel\_test using Base.Distributed @everywhere using…

---

## [Ipopt in Julia without JumP and automatic hessian calculation?](https://discourse.julialang.org/t/ipopt-in-julia-without-jump-and-automatic-hessian-calculation/19931)

<div class="topic-metadata">

**Author:** [@Roshan.Sharma](https://discourse.julialang.org/u/Roshan.Sharma)\
**Replies:** 5\
**Last updated:** [January 23, 2019, 3:28pm UTC](https://discourse.julialang.org/t/ipopt-in-julia-without-jump-and-automatic-hessian-calculation/19931 "2019-01-23T15:28:21Z")

</div>

Hi all, I know that it is possible to use Ipopt in Julia without using JumP. For this the user has to define eval\_f (objective function), eval\_g (nonlinear constraints), eval\_grad\_f (gradient of the objective function) …

---

## [Color choices for graphs?](https://discourse.julialang.org/t/color-choices-for-graphs/19971)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 3:06pm UTC](https://discourse.julialang.org/t/color-choices-for-graphs/19971 "2019-01-23T15:06:32Z")

</div>

I’m looking into presenting som model structures using graphs. Below is an example of a first attempt: My problem is related to choice of colors for ease of readability: Is there some guideline for best choice of li…

---

## [Open Cascade - PythonOCC - 3D modelling](https://discourse.julialang.org/t/open-cascade-pythonocc-3d-modelling/19974)

<div class="topic-metadata">

**Author:** [@josemaria](https://discourse.julialang.org/u/josemaria)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 11:02am UTC](https://discourse.julialang.org/t/open-cascade-pythonocc-3d-modelling/19974 "2019-01-23T11:02:30Z")

</div>

I was wondering if there is something equivalent to pythonooc. It wraps Open Cascade Community Edition. It seems that Open Cascade is what is behind FreeCAD. If there is nothing already done, I wonder if there is someth…

---

## [Deploy Julia model in flask](https://discourse.julialang.org/t/deploy-julia-model-in-flask/19961)

<div class="topic-metadata">

**Author:** [@VINITPANDEY](https://discourse.julialang.org/u/VINITPANDEY)\
**Replies:** 0\
**Last updated:** [January 23, 2019, 5:36am UTC](https://discourse.julialang.org/t/deploy-julia-model-in-flask/19961 "2019-01-23T05:36:05Z")

</div>

How to deploy machine learning model in Julia

---

## [Julia performs poorly on group-by benchmarks](https://discourse.julialang.org/t/julia-performs-poorly-on-group-by-benchmarks/16476)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 48\
**Last updated:** [January 23, 2019, 2:57am UTC](https://discourse.julialang.org/t/julia-performs-poorly-on-group-by-benchmarks/16476 "2019-01-23T02:57:58Z")

</div>

h20 has published a set of benchmarks that shows Julia’s DataFrames.jl has, in general, the worst group-by performance out of many data packages. JuliaDB.jl was not benchmarked so that may be a good addition. I have done…

---

## [Anybody working on Automatic Differentiation "the Conal Elliot way"?](https://discourse.julialang.org/t/anybody-working-on-automatic-differentiation-the-conal-elliot-way/19887)

<div class="topic-metadata">

**Author:** [@jbrea](https://discourse.julialang.org/u/jbrea)\
**Replies:** 5\
**Last updated:** [January 23, 2019, 12:11am UTC](https://discourse.julialang.org/t/anybody-working-on-automatic-differentiation-the-conal-elliot-way/19887 "2019-01-23T00:11:28Z")

</div>

Just learned about The simple essence of automatic differentiation. Did somebody already try to implement these ideas in Julia? Any thoughts about pros and cons of this approach relative to e.g. Zygote.jl?

---

## [Are certain operations just not good candidates for threading?](https://discourse.julialang.org/t/are-certain-operations-just-not-good-candidates-for-threading/19909)

<div class="topic-metadata">

**Author:** [@colintbowers](https://discourse.julialang.org/u/colintbowers)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 11:51pm UTC](https://discourse.julialang.org/t/are-certain-operations-just-not-good-candidates-for-threading/19909 "2019-01-22T23:51:43Z")

</div>

Hi all, I was experimenting with using threading to speed up a loop over vcat that swaps the first and second half of a sequence of vectors. I fire up Julia and verify: julia\> Threads.nthreads() 4 I wrote the followin…

---

## [Using GLM.jl for mixed design Anova](https://discourse.julialang.org/t/using-glm-jl-for-mixed-design-anova/19922)

<div class="topic-metadata">

**Author:** [@jbrea](https://discourse.julialang.org/u/jbrea)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 9:58pm UTC](https://discourse.julialang.org/t/using-glm-jl-for-mixed-design-anova/19922 "2019-01-22T21:58:29Z")

</div>

Is it possible to get with GLM.jl and ANOVA.jl something equivalent to R’s aov(data ~ age\*day + Error(id/day), data = data) to study data with one between (age) and one within (day) factor? I am stuck with translating…

---

## [MNIST GPU CuArrays error](https://discourse.julialang.org/t/mnist-gpu-cuarrays-error/19695)

<div class="topic-metadata">

**Author:** [@Fadi\_Nader](https://discourse.julialang.org/u/Fadi_Nader)\
**Replies:** 23\
**Last updated:** [January 22, 2019, 3:06pm UTC](https://discourse.julialang.org/t/mnist-gpu-cuarrays-error/19695 "2019-01-22T15:06:40Z")

</div>

Hi, I’m trying to train MNIST over GPU using julia, but I face the following error. here is my code: X = hcat(float.(reshape.(imgs, :))...) |\>gpu; Y = onehotbatch(labels, 0:9) |\> gpu; batches=\[(X\[:,:,:,i\],Y\[:,i\]) for i…

---

## [Delete a JuMP model entirely](https://discourse.julialang.org/t/delete-a-jump-model-entirely/19895)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 2:43pm UTC](https://discourse.julialang.org/t/delete-a-jump-model-entirely/19895 "2019-01-22T14:43:42Z")

</div>

Hi All, Is there any way to delete a JuMP model after solving it? I have to call a function repeatedly to solve my problem but after the first call, I get the following error for every single variable in the model. Plea…

---

## [Help Couenne](https://discourse.julialang.org/t/help-couenne/16825)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 23\
**Last updated:** [January 22, 2019, 12:42pm UTC](https://discourse.julialang.org/t/help-couenne/16825 "2019-01-22T12:42:58Z")

</div>

Hello, i’m using Couenne to solve a MINLP problem. It has been running for days now, and during this time, i keep getting messages like this: Cbc0010I After 26300 nodes, 3934 on tree, 1e+050 best solution, best possible…

---

## [Working with posteriors](https://discourse.julialang.org/t/working-with-posteriors/19846)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 7\
**Last updated:** [January 22, 2019, 10:45am UTC](https://discourse.julialang.org/t/working-with-posteriors/19846 "2019-01-22T10:45:13Z")

</div>

Finding that I am writing a lot of repetitive code, I am trying to rethink the way I work with posterior distributions (eg from MCMC). I can typically reduce most operations on posteriors to transformations, which opera…

---

## [how to make julia install a curl that respects the proxy? ](https://discourse.julialang.org/t/how-to-make-julia-install-a-curl-that-respects-the-proxy/19891)

<div class="topic-metadata">

**Author:** [@frankwillmore](https://discourse.julialang.org/u/frankwillmore)\
**Replies:** 2\
**Last updated:** [January 21, 2019, 11:46pm UTC](https://discourse.julialang.org/t/how-to-make-julia-install-a-curl-that-respects-the-proxy/19891 "2019-01-21T23:46:26Z")

</div>

I’m building Julia 1.0.3 (and probably 0.7.0) for deployment on a KNL cluster which sits behind a proxy. Cross-compilation succeeds and julia repl runs, as long as there is no need to load dependencies (e.g. MPI) at run-…

---

## [Knet issue](https://discourse.julialang.org/t/knet-issue/18355)

<div class="topic-metadata">

**Author:** [@microlifecc](https://discourse.julialang.org/u/microlifecc)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 1:35am UTC](https://discourse.julialang.org/t/knet-issue/18355 "2019-01-22T01:35:30Z")

</div>

Hi Guys! I am trying to go through the tutorial here. But I am getting the error: Cannot find libknet8, please rerun Pkg.build("Knet"). Stacktrace: \[1\] im2col!(::Array{Float64,4}, ::Array{Float64,4}, ::Array{Float64…

---

## [Casting, annotations and numeric types for CUDAnative](https://discourse.julialang.org/t/casting-annotations-and-numeric-types-for-cudanative/19853)

<div class="topic-metadata">

**Author:** [@Alex\_Ellison](https://discourse.julialang.org/u/Alex_Ellison)\
**Replies:** 5\
**Last updated:** [January 21, 2019, 9:07pm UTC](https://discourse.julialang.org/t/casting-annotations-and-numeric-types-for-cudanative/19853 "2019-01-21T21:07:07Z")

</div>

Hello, I’ve begun exploring the CUDAnative package which modest success. I’ve run into a couple of limitations. I wanted to allocate an array from within my kernel as is shown in some of the project examples. The first…

---

## [Get rid of a JuMP model](https://discourse.julialang.org/t/get-rid-of-a-jump-model/19721)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 4\
**Last updated:** [January 16, 2019, 11:05pm UTC](https://discourse.julialang.org/t/get-rid-of-a-jump-model/19721 "2019-01-16T23:05:49Z")

</div>

Hi All, I have a function in my code that builds a model and solve it and return the result. I have to call this function repeatedly. Although my code works properly I get the following warning after calling the functio…

---

## [MPI.jl: Functions for cartesian process topology](https://discourse.julialang.org/t/mpi-jl-functions-for-cartesian-process-topology/19437)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 3\
**Last updated:** [January 21, 2019, 8:20am UTC](https://discourse.julialang.org/t/mpi-jl-functions-for-cartesian-process-topology/19437 "2019-01-21T08:20:21Z")

</div>

Hi all, I cannot find any functions to create and use a cartesian process topology on the list of supported functions on the github page of MPI.jl. In particular, I am missing the functions: MPI\_Dims\_create MPI\_Cart\_c…

---

## [JuliaDB: How to modify multiple existing columns with setcol using functions](https://discourse.julialang.org/t/juliadb-how-to-modify-multiple-existing-columns-with-setcol-using-functions/19847)

<div class="topic-metadata">

**Author:** [@pazzo83](https://discourse.julialang.org/u/pazzo83)\
**Replies:** 1\
**Last updated:** [January 20, 2019, 10:13pm UTC](https://discourse.julialang.org/t/juliadb-how-to-modify-multiple-existing-columns-with-setcol-using-functions/19847 "2019-01-20T22:13:48Z")

</div>

Hi, I am trying to modify several existing columns with one call to setcol using functions. Essentially I have a table where i need to divide 4 of the columns by 10 to get the proper value. I know this is the proper sy…

---

## [A uniform way to generate a random element based on a given probability distritution function, a random number genarator and a given element interval?](https://discourse.julialang.org/t/a-uniform-way-to-generate-a-random-element-based-on-a-given-probability-distritution-function-a-random-number-genarator-and-a-given-element-interval/19843)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 1\
**Last updated:** [January 20, 2019, 3:18pm UTC](https://discourse.julialang.org/t/a-uniform-way-to-generate-a-random-element-based-on-a-given-probability-distritution-function-a-random-number-genarator-and-a-given-element-interval/19843 "2019-01-20T15:18:17Z")

</div>

Dispatching is one of Julia’s strong suits. I was wondering, is there a single function which would generate a random element based on a given probability distribution function, a random number genarator and a given ele…

---

## [Extend SparseMatrixCSC interface (nzrange - rowvals - nonzeros) to views of sparse matrices](https://discourse.julialang.org/t/extend-sparsematrixcsc-interface-nzrange-rowvals-nonzeros-to-views-of-sparse-matrices/19837)

<div class="topic-metadata">

**Author:** [@klacru](https://discourse.julialang.org/u/klacru)\
**Replies:** 0\
**Last updated:** [January 20, 2019, 10:23am UTC](https://discourse.julialang.org/t/extend-sparsematrixcsc-interface-nzrange-rowvals-nonzeros-to-views-of-sparse-matrices/19837 "2019-01-20T10:23:47Z")

</div>

I want to extend the nzrange - rowvals - nonzeros interface from SparseMatrixCSC to views of sparse matrices. That would allow to re-formulate many of the standard algorithms for SparseMatrixCSC and extend them to the vi…

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

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