# Specific Domains

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

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

**Page:** 494

---

## [JuliaDB w/ Workers on Remote Machine](https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412)

<div class="topic-metadata">

**Author:** [@versipellis](https://discourse.julialang.org/u/versipellis)\
**Replies:** 2\
**Last updated:** [June 18, 2019, 6:25pm UTC](https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412 "2019-06-18T18:25:36Z")

</div>

I have a workflow set up right now where I want to use my laptop as the master process, with addprocs(machine\_spec) pointing to a remote machine I’m SSHing to (with Julia and all dependencies installed). The data is stor…

---

## [JuMP: filtering the output of JuMP.value.(x)](https://discourse.julialang.org/t/jump-filtering-the-output-of-jump-value-x/25391)

<div class="topic-metadata">

**Author:** [@PatrickHealy](https://discourse.julialang.org/u/PatrickHealy)\
**Replies:** 3\
**Last updated:** [June 18, 2019, 4:42pm UTC](https://discourse.julialang.org/t/jump-filtering-the-output-of-jump-value-x/25391 "2019-06-18T16:42:48Z")

</div>

Is there a nice idiom for filtering all of the elements of a JuMP array of binaries that are set? Even with iterating over the elements of JuMP.value.(x) in a for-loop I don’t seem to be able to catch the indices in a u…

---

## [JuMP v0.19 and CPLEX versions](https://discourse.julialang.org/t/jump-v0-19-and-cplex-versions/25253)

<div class="topic-metadata">

**Author:** [@PatrickHealy](https://discourse.julialang.org/u/PatrickHealy)\
**Replies:** 5\
**Last updated:** [June 18, 2019, 2:09pm UTC](https://discourse.julialang.org/t/jump-v0-19-and-cplex-versions/25253 "2019-06-18T14:09:06Z")

</div>

Greetings. While upgrading to julia 1.1.1 I thought it would be a good time to upgrade to JuMP 0.19. However, I could not add the CPLEX package (the executable and libraries could not be found) because CPLEX12.6 is not…

---

## [Optimization using SAMIN()](https://discourse.julialang.org/t/optimization-using-samin/25351)

<div class="topic-metadata">

**Author:** [@Farnazmdi](https://discourse.julialang.org/u/Farnazmdi)\
**Replies:** 10\
**Last updated:** [June 18, 2019, 10:00am UTC](https://discourse.julialang.org/t/optimization-using-samin/25351 "2019-06-18T10:00:31Z")

</div>

Hi, I am trying to use SAMIN() for constrained optimization for a DDE parameter estimation, I have seen the example in \[Optim.jl\] and I am following the same syntax, but get the error of Dimension mismatch. resid is t…

---

## [Method error for maxpool(x,(2,2))](https://discourse.julialang.org/t/method-error-for-maxpool-x-2-2/24693)

<div class="topic-metadata">

**Author:** [@Don\_Burgess](https://discourse.julialang.org/u/Don_Burgess)\
**Replies:** 4\
**Last updated:** [June 18, 2019, 6:15am UTC](https://discourse.julialang.org/t/method-error-for-maxpool-x-2-2/24693 "2019-06-18T06:15:50Z")

</div>

This call from a formerly work code seems to throw a method error: x → maxpool(x, (2,2)), ERROR: MethodError: no method matching maxpool(::TrackedArray{…,Array{Float32,4}}, ::Tuple{Int64,Int64}) ======= Has the inter…

---

## [JuliaDB versus](https://discourse.julialang.org/t/juliadb-versus/20977)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 12\
**Last updated:** [June 18, 2019, 12:35am UTC](https://discourse.julialang.org/t/juliadb-versus/20977 "2019-06-18T00:35:48Z")

</div>

I’ve been using JuliaDB and absolutely loving it . It helped me restructure my data and I’m now able to process my data in about 40 LOC. It all makes sense. In my application, I’m joining and grouping sources together t…

---

## [Web App File Uploading](https://discourse.julialang.org/t/web-app-file-uploading/25370)

<div class="topic-metadata">

**Author:** [@versipellis](https://discourse.julialang.org/u/versipellis)\
**Replies:** 3\
**Last updated:** [June 17, 2019, 8:12pm UTC](https://discourse.julialang.org/t/web-app-file-uploading/25370 "2019-06-17T20:12:24Z")

</div>

I spent the last few weeks building out a pure-Julia webapp for exploratory data analysis in WebIO + Blink + Interact, and recently switched over to WebIO + Mux + Interact as I wanted to deploy it rather than being an El…

---

## [Manually updating the parameters of a Neural Network in Flux](https://discourse.julialang.org/t/manually-updating-the-parameters-of-a-neural-network-in-flux/25327)

<div class="topic-metadata">

**Author:** [@mlpeschl](https://discourse.julialang.org/u/mlpeschl)\
**Replies:** 3\
**Last updated:** [June 17, 2019, 9:32am UTC](https://discourse.julialang.org/t/manually-updating-the-parameters-of-a-neural-network-in-flux/25327 "2019-06-17T09:32:10Z")

</div>

I am currently working on a Reinforcement Learning problem, which requires to form and store (matrices) of gradients and then update the parameters of the Neural Network manually. Basically, what I have done is take the…

---

## [AbstractPlotting documentation?](https://discourse.julialang.org/t/abstractplotting-documentation/25296)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 2\
**Last updated:** [June 15, 2019, 9:51am UTC](https://discourse.julialang.org/t/abstractplotting-documentation/25296 "2019-06-15T09:51:14Z")

</div>

Is there a documentation for AbstractPlotting? I would like to know how to couple the height of two scenes(heatmap, colorbar) and how to detect that the window of an interactive scene is closed.

---

## [Flux save and load models, BSON file](https://discourse.julialang.org/t/flux-save-and-load-models-bson-file/25310)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 8:04pm UTC](https://discourse.julialang.org/t/flux-save-and-load-models-bson-file/25310 "2019-06-14T20:04:10Z")

</div>

The question is: How to save and load more than one model into a single \*.BSON file? It’s even possible? @MikeInnes Cheers!

---

## [DAE with measurement type](https://discourse.julialang.org/t/dae-with-measurement-type/25281)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 5\
**Last updated:** [June 14, 2019, 5:40pm UTC](https://discourse.julialang.org/t/dae-with-measurement-type/25281 "2019-06-14T17:40:29Z")

</div>

Hi there I am running a complex set of differential equations and at some point it fails because of gemm!. The short story is that gemm! does not work with the meassurememnt type, and because the solver is calling gemm!…

---

## [Circular Node Autoencoder?](https://discourse.julialang.org/t/circular-node-autoencoder/25312)

<div class="topic-metadata">

**Author:** [@stu](https://discourse.julialang.org/u/stu)\
**Replies:** 0\
**Last updated:** [June 14, 2019, 3:39pm UTC](https://discourse.julialang.org/t/circular-node-autoencoder/25312 "2019-06-14T15:39:22Z")

</div>

Does anyone have any experience using flux to create a circular node autoencoder?

---

## [Optim \`Fminbox()\` -- what is wrong](https://discourse.julialang.org/t/optim-fminbox-what-is-wrong/25252)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 7:18am UTC](https://discourse.julialang.org/t/optim-fminbox-what-is-wrong/25252 "2019-06-14T07:18:47Z")

</div>

I’m trying to use Optim and Fminbox() for model fitting, but get an error message – and wonder what I do wrong. Here is what I do: I have created a loss function loss(p) (squared norm of shooting error for ODE). As my i…

---

## [CUDA: MVectors always allocate memory and cause "Out of Memory Error"](https://discourse.julialang.org/t/cuda-mvectors-always-allocate-memory-and-cause-out-of-memory-error/25239)

<div class="topic-metadata">

**Author:** [@11116](https://discourse.julialang.org/u/11116)\
**Replies:** 2\
**Last updated:** [June 14, 2019, 1:51am UTC](https://discourse.julialang.org/t/cuda-mvectors-always-allocate-memory-and-cause-out-of-memory-error/25239 "2019-06-14T01:51:33Z")

</div>

try this simple code: using CUDAnative using CUDAdrv using CuArrays function kernel(i,arr) for i in 1:i a = MVector{3,Float32}(undef) arr\[i\] = a\[1\]+1.0f0 end end N1 = 1 N2 = 10000 arr1 = CuArray(Array{Float32,1}(u…

---

## [Type of binary variables in constraints](https://discourse.julialang.org/t/type-of-binary-variables-in-constraints/25264)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 4\
**Last updated:** [June 13, 2019, 8:28pm UTC](https://discourse.julialang.org/t/type-of-binary-variables-in-constraints/25264 "2019-06-13T20:28:00Z")

</div>

When I set this problem: data = \[2;3;4;-1;0\] model = Model(with\_optimizer(GLPK.Optimizer)) @variable(model, x\[1:length(data)\], Bin) @objective(model, Min, sum(data.\*x)) optimize!(model) typeof(value.(x)) I would expect…

---

## [UndefVarError when initializing variable inside function with @everywhere](https://discourse.julialang.org/t/undefvarerror-when-initializing-variable-inside-function-with-everywhere/25183)

<div class="topic-metadata">

**Author:** [@Bruno\_Amorim](https://discourse.julialang.org/u/Bruno_Amorim)\
**Replies:** 10\
**Last updated:** [June 13, 2019, 2:01pm UTC](https://discourse.julialang.org/t/undefvarerror-when-initializing-variable-inside-function-with-everywhere/25183 "2019-06-13T14:01:31Z")

</div>

I am trying to solve a problem in which I have to evaluate a function, f(x), for several different values of an argument x. I want to write a function that depending on the number of available processes it uses either m…

---

## [Explicit Jacobian on DAEs?](https://discourse.julialang.org/t/explicit-jacobian-on-daes/21477)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 72\
**Last updated:** [June 13, 2019, 2:40am UTC](https://discourse.julialang.org/t/explicit-jacobian-on-daes/21477 "2019-06-13T02:40:38Z")

</div>

Hello all, I am new to this forum I am somewhat confused on how to solve DAEs using the DifferentialEquations package - I am trying to solve a large system, that I think requires explicit Jacobian definition. I defin…

---

## [DifferentialEquations.jl default options for a solver](https://discourse.julialang.org/t/differentialequations-jl-default-options-for-a-solver/19937)

<div class="topic-metadata">

**Author:** [@michaelkyu](https://discourse.julialang.org/u/michaelkyu)\
**Replies:** 2\
**Last updated:** [June 13, 2019, 1:45am UTC](https://discourse.julialang.org/t/differentialequations-jl-default-options-for-a-solver/19937 "2019-06-13T01:45:54Z")

</div>

In DifferentialEquations.jl, how can I find out the default options for a specific solver? In particular, I’d like to know the default options for the ODE solver DP5. I see a description of options in the docs, but I don…

---

## [Seaborn like countplot](https://discourse.julialang.org/t/seaborn-like-countplot/25133)

<div class="topic-metadata">

**Author:** [@GdMacmillan](https://discourse.julialang.org/u/GdMacmillan)\
**Replies:** 3\
**Last updated:** [June 12, 2019, 10:21pm UTC](https://discourse.julialang.org/t/seaborn-like-countplot/25133 "2019-06-12T22:21:15Z")

</div>

I was looking for a recipe for the type of plot used in Seaborn to group categorical data. The Countplot, shown below from python is what I want. Is this implemented in julia or easy to do so?

---

## [Streaming gzipped BCF files: issue with CHROM field](https://discourse.julialang.org/t/streaming-gzipped-bcf-files-issue-with-chrom-field/25194)

<div class="topic-metadata">

**Author:** [@kaskarn](https://discourse.julialang.org/u/kaskarn)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 3:55pm UTC](https://discourse.julialang.org/t/streaming-gzipped-bcf-files-issue-with-chrom-field/25194 "2019-06-12T15:55:34Z")

</div>

Hello, I first posted this as an issue on the GeneticVariation github: github.com/BioJulia/GeneticVariation.jl/issues/25 However, I suspect this may be a better place for it, since the package may not be at fault here…

---

## [Flux RNN on a GPU - unnecessary copying](https://discourse.julialang.org/t/flux-rnn-on-a-gpu-unnecessary-copying/25190)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 12:40pm UTC](https://discourse.julialang.org/t/flux-rnn-on-a-gpu-unnecessary-copying/25190 "2019-06-12T12:40:30Z")

</div>

Hello, A question for someone who has experience writing/debugging GPU code. Consider something like this: using CuArrays, Flux lstm = LSTM(5, 3) |\> gpu data = \[rand(5) for i=1:10\] data = gpu.(data) out = lstm.(data) …

---

## [Pmap use of processor cores](https://discourse.julialang.org/t/pmap-use-of-processor-cores/25121)

<div class="topic-metadata">

**Author:** [@abx](https://discourse.julialang.org/u/abx)\
**Replies:** 13\
**Last updated:** [June 12, 2019, 3:06pm UTC](https://discourse.julialang.org/t/pmap-use-of-processor-cores/25121 "2019-06-12T15:06:26Z")

</div>

I have a simple question about pmap and I can’t find a clear answer anywhere. When I have a series of pmap’d processes and let’s say, few of them are very heavy and require most of the resources, are the heavy tasks abl…

---

## [Dot overloading not supported in ScikitLearn.jl](https://discourse.julialang.org/t/dot-overloading-not-supported-in-scikitlearn-jl/25192)

<div class="topic-metadata">

**Author:** [@tosalonijain](https://discourse.julialang.org/u/tosalonijain)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 2:20pm UTC](https://discourse.julialang.org/t/dot-overloading-not-supported-in-scikitlearn-jl/25192 "2019-06-12T14:20:24Z")

</div>

Hello, I am working on Julia and using ScikitLearn.jl as a package to access the ScikitLearn models of Machine Learning. As per the examples cited in the ScikitLearn.jl github repository documentation, I have used, for …

---

## [Are there any obvious problems/code smells with this GPU code?](https://discourse.julialang.org/t/are-there-any-obvious-problems-code-smells-with-this-gpu-code/25160)

<div class="topic-metadata">

**Author:** [@currymj](https://discourse.julialang.org/u/currymj)\
**Replies:** 2\
**Last updated:** [June 12, 2019, 12:27am UTC](https://discourse.julialang.org/t/are-there-any-obvious-problems-code-smells-with-this-gpu-code/25160 "2019-06-12T00:27:43Z")

</div>

I am working on a small package to implement the Sinkhorn algorithm for optimal transport. Since this is frequently used as a loss function for generative models, my goal is to have an implementation that is generic eno…

---

## [Json file with measurement values?](https://discourse.julialang.org/t/json-file-with-measurement-values/25170)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 4\
**Last updated:** [June 11, 2019, 10:32pm UTC](https://discourse.julialang.org/t/json-file-with-measurement-values/25170 "2019-06-11T22:32:31Z")

</div>

I have a json file with measurement types- any idea how to read it back to julia? ie: file looks like S.json={ "D":4.0 ± 0.2, "tspan":{"t0":0,"tf":100}, "params":{ "p":20.0 ± 4.0…

---

## [Order matters when importing PyPlot and Plots, IJulia 1.18.1](https://discourse.julialang.org/t/order-matters-when-importing-pyplot-and-plots-ijulia-1-18-1/25147)

<div class="topic-metadata">

**Author:** [@maalaria](https://discourse.julialang.org/u/maalaria)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 7:02pm UTC](https://discourse.julialang.org/t/order-matters-when-importing-pyplot-and-plots-ijulia-1-18-1/25147 "2019-06-11T19:02:08Z")

</div>

Dear all, I want to use PyPlot and Plots in parallel in order to enable interactivity for certain plots in jupyterlab (Julia 1.1.1; IJulia 1.18.1). It seems that import Plots, PyPlot pygui(true) leads to an error: Ar…

---

## [Worker Proc Failing to Iterate JuliaDB Table](https://discourse.julialang.org/t/worker-proc-failing-to-iterate-juliadb-table/25046)

<div class="topic-metadata">

**Author:** [@dburch](https://discourse.julialang.org/u/dburch)\
**Replies:** 1\
**Last updated:** [June 11, 2019, 5:17pm UTC](https://discourse.julialang.org/t/worker-proc-failing-to-iterate-juliadb-table/25046 "2019-06-11T17:17:49Z")

</div>

I am getting an error when I try to iterate through a table on worker 2. I can open the table on worker 2 and println the table, but iteration which I can normally do in a serial process is failing. It errors on line 25:…

---

## [Issue with nested pmap](https://discourse.julialang.org/t/issue-with-nested-pmap/25129)

<div class="topic-metadata">

**Author:** [@abx](https://discourse.julialang.org/u/abx)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 1:55pm UTC](https://discourse.julialang.org/t/issue-with-nested-pmap/25129 "2019-06-11T13:55:03Z")

</div>

Hello, I have this script running in Julia 1.1. If I run it withing a single process (no workers added) everything works fine. If I add process (e.g. addprocs(3)) nothing gets run and the execution hangs indefinitely u…

---

## [SVD solve with CUSOLVER](https://discourse.julialang.org/t/svd-solve-with-cusolver/25130)

<div class="topic-metadata">

**Author:** [@Donut\_Meepo](https://discourse.julialang.org/u/Donut_Meepo)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 3:37am UTC](https://discourse.julialang.org/t/svd-solve-with-cusolver/25130 "2019-06-11T03:37:55Z")

</div>

Hi, I am trying to do eigen decomposition using CUSOLVER. But it is slower than using CPU. My gpu is GeForce 1060 maybe simply just it is not good enough? I think I am not doing it right hope someone can help me. Thank …

---

## [Float64 reduction of Float32 computation idiom using @distributed?](https://discourse.julialang.org/t/float64-reduction-of-float32-computation-idiom-using-distributed/25085)

<div class="topic-metadata">

**Author:** [@fghorow](https://discourse.julialang.org/u/fghorow)\
**Replies:** 8\
**Last updated:** [June 10, 2019, 10:45pm UTC](https://discourse.julialang.org/t/float64-reduction-of-float32-computation-idiom-using-distributed/25085 "2019-06-10T22:45:51Z")

</div>

I have a computation where hundreds of millions of Float32 values (for speed) need to be reduction summed in Float64 accumulators. Assuming the reduction is being driven by something like: accum = Array{Float64}(undef,…

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

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