# Specific Domains

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

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

**Page:** 492

---

## [Plots and truncating numbers?](https://discourse.julialang.org/t/plots-and-truncating-numbers/25893)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 9\
**Last updated:** [July 2, 2019, 12:41pm UTC](https://discourse.julialang.org/t/plots-and-truncating-numbers/25893 "2019-07-02T12:41:32Z")

</div>

I’m plotting tiny subplots in a 4x4 matrix. Some of the subplots contain a large number of digits… making the plot really ugly: I’m trying to map the trunc() function on the plots, e.g., x = ... Y = ... fg = \[\] for …

---

## [Multivariate Nonlinear Regression](https://discourse.julialang.org/t/multivariate-nonlinear-regression/25887)

<div class="topic-metadata">

**Author:** [@MLackner](https://discourse.julialang.org/u/MLackner)\
**Replies:** 9\
**Last updated:** [July 2, 2019, 11:44am UTC](https://discourse.julialang.org/t/multivariate-nonlinear-regression/25887 "2019-07-02T11:44:01Z")

</div>

Greetings! I am trying to perform a multivariate nonlinear regression (2D curve fitting). Let’s assume my data has the following form: function multimodel(x, p) a = x\[1\] t = x\[2\] α = p\[1\] τ = p\[2\] (…

---

## [CUDA streams do not overlap](https://discourse.julialang.org/t/cuda-streams-do-not-overlap/24879)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 6\
**Last updated:** [July 1, 2019, 10:12am UTC](https://discourse.julialang.org/t/cuda-streams-do-not-overlap/24879 "2019-07-01T10:12:57Z")

</div>

I have troubles to make streams overlap. So, I created the following simple example, where the streams s1 and s2 should overlap; yet they don’t: using CUDAdrv, CUDAnative, CuArrays function memcopy!(A, B) ix = (blo…

---

## [Legend bug in Plots?](https://discourse.julialang.org/t/legend-bug-in-plots/25891)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [July 1, 2019, 1:44pm UTC](https://discourse.julialang.org/t/legend-bug-in-plots/25891 "2019-07-01T13:44:03Z")

</div>

I’m plotting a series of sub-plots using Plots. To illustrate things: x = range(-2pi,2pi,length=100) fig = \[plot(x,sin.(x),legend=:top)\] push!(fig,plot(x,cos.(x),legend=:top)) plot(fig...) produces …which is not wh…

---

## [How to use Flux for a general non-linear minimization](https://discourse.julialang.org/t/how-to-use-flux-for-a-general-non-linear-minimization/24111)

<div class="topic-metadata">

**Author:** [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)\
**Replies:** 1\
**Last updated:** [July 1, 2019, 9:58am UTC](https://discourse.julialang.org/t/how-to-use-flux-for-a-general-non-linear-minimization/24111 "2019-07-01T09:58:52Z")

</div>

I am trying to apply great features Flux for likelihood minimization problem. Using ML language, losses for all training data points are summed up, there is just a function LLH() to be minimized. Is there an easy hack…

---

## [Keychain in Julia](https://discourse.julialang.org/t/keychain-in-julia/25884)

<div class="topic-metadata">

**Author:** [@sambitdash](https://discourse.julialang.org/u/sambitdash)\
**Replies:** 0\
**Last updated:** [July 1, 2019, 4:29am UTC](https://discourse.julialang.org/t/keychain-in-julia/25884 "2019-07-01T04:29:28Z")

</div>

Hi All, I am looking for a keychain where I can store some cryptographic keys safely. The the keys should be encrypted for most part save actual cryptographic operations. This is mostly to avoid stealing of crypto infor…

---

## [What does this mean: Plot(...)](https://discourse.julialang.org/t/what-does-this-mean-plot/25852)

<div class="topic-metadata">

**Author:** [@GdMacmillan](https://discourse.julialang.org/u/GdMacmillan)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 6:46am UTC](https://discourse.julialang.org/t/what-does-this-mean-plot/25852 "2019-07-01T06:46:23Z")

</div>

when I type p3 = Gadfly.plot(first(sort!(df1, \[:count\], rev=true), 50), x = :word, y = :count, Geom.bar ) it plots a bar plot with vertical bars When I type p3 = Gadfly.plot(first(sort!(df1, \[:count\], rev=tru…

---

## [Inverse of a view of a symmetric matrix](https://discourse.julialang.org/t/inverse-of-a-view-of-a-symmetric-matrix/25877)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 1:35am UTC](https://discourse.julialang.org/t/inverse-of-a-view-of-a-symmetric-matrix/25877 "2019-07-01T01:35:09Z")

</div>

Hi, I am trying to compute the inverse of a view of a symmetric matrix via: using LinearAlgebra V=Symmetric(rand(10,10)+50\*I); V\_view = @view V\[1:5,1:5\]; V\_view\_inv = inv(V\_view); However, it does not work and I get t…

---

## [Naive use of BSON not working as expected](https://discourse.julialang.org/t/naive-use-of-bson-not-working-as-expected/25740)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 15\
**Last updated:** [June 29, 2019, 7:09pm UTC](https://discourse.julialang.org/t/naive-use-of-bson-not-working-as-expected/25740 "2019-06-29T19:09:35Z")

</div>

Sorry, I am a beginner to BSON and am a little stuck. I have a struct Foo defined entirely in some package A. Package B imports A, defines an instance f=A.Foo() and serializes that instance using BSON. Now if, in the R…

---

## [Nested derivatives with DiffEqFlux.jl](https://discourse.julialang.org/t/nested-derivatives-with-diffeqflux-jl/25714)

<div class="topic-metadata">

**Author:** [@adam-coogan](https://discourse.julialang.org/u/adam-coogan)\
**Replies:** 4\
**Last updated:** [June 29, 2019, 4:47pm UTC](https://discourse.julialang.org/t/nested-derivatives-with-diffeqflux-jl/25714 "2019-06-29T16:47:24Z")

</div>

I’m working on a physics project where (very roughly) I need to integrate some Hamiltonian equations of motion and differentiate functions of the resulting trajectories with respect to a parameter \\alpha. More precisely,…

---

## [Error in diffeq\_fd command of DiffEqFlux](https://discourse.julialang.org/t/error-in-diffeq-fd-command-of-diffeqflux/25837)

<div class="topic-metadata">

**Author:** [@JunichiFukui](https://discourse.julialang.org/u/JunichiFukui)\
**Replies:** 4\
**Last updated:** [June 29, 2019, 4:05pm UTC](https://discourse.julialang.org/t/error-in-diffeq-fd-command-of-diffeqflux/25837 "2019-06-29T16:05:06Z")

</div>

I’m trying to run neural partial differential equation code on the web site (Neural Jump SDEs (Jump Diffusions) and Neural PDEs - Stochastic Lifestyle). Thanks Chris for publishing the interest code. When I run the code…

---

## [Efficiency of matrix data operations](https://discourse.julialang.org/t/efficiency-of-matrix-data-operations/25768)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 10\
**Last updated:** [June 29, 2019, 1:01pm UTC](https://discourse.julialang.org/t/efficiency-of-matrix-data-operations/25768 "2019-06-29T13:01:59Z")

</div>

Background: I have the following matrix is raw data,for example: a=\\left\[ \\begin{matrix} 1 & 2 & 3 \\\\ 4 & 5 & 6 \\\\ 7 & 8 & 9 \\\\ &...& \\end{matrix} \\right\] , b=\\left\[ \\begin{matrix} 1 & 2 & 3 & 5 \\\\ …

---

## [Axis theme for custom type in AbstractPlotting](https://discourse.julialang.org/t/axis-theme-for-custom-type-in-abstractplotting/23101)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 1\
**Last updated:** [June 29, 2019, 5:46am UTC](https://discourse.julialang.org/t/axis-theme-for-custom-type-in-abstractplotting/23101 "2019-06-29T05:46:40Z")

</div>

Hi, I am trying out AbstractPlotting recipes for a custom type, and I have a question about theming. I understand that extending AbstractPlotting.default\_theme is the way to pass attributes to my plot, as shown the mole…

---

## [Makie plot in gui instead of Juno plot pane?](https://discourse.julialang.org/t/makie-plot-in-gui-instead-of-juno-plot-pane/25825)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 3\
**Last updated:** [June 29, 2019, 5:33am UTC](https://discourse.julialang.org/t/makie-plot-in-gui-instead-of-juno-plot-pane/25825 "2019-06-29T05:33:56Z")

</div>

Hi, I am trying to 3D plot in Makie, which a gui with mouse pane, scale, rotate would be helpful to visualize the data. I could get a gui pop up when plot in julia repl, but in Juno, the default is always push the plot …

---

## [Out of memory using Flux CNN during back propagation phase](https://discourse.julialang.org/t/out-of-memory-using-flux-cnn-during-back-propagation-phase/24492)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 12:27pm UTC](https://discourse.julialang.org/t/out-of-memory-using-flux-cnn-during-back-propagation-phase/24492 "2019-06-28T12:27:14Z")

</div>

I want to train a CNN model on the German Traffic Sign Dataset by adapting one of the model\_zoo examples. First I tried training on a GTX1070 GPU with 8GB of RAM and failed with out of memory. After that I tried training…

---

## [@threads is really working in parallel?](https://discourse.julialang.org/t/threads-is-really-working-in-parallel/25788)

<div class="topic-metadata">

**Author:** [@kwild](https://discourse.julialang.org/u/kwild)\
**Replies:** 4\
**Last updated:** [June 28, 2019, 12:06pm UTC](https://discourse.julialang.org/t/threads-is-really-working-in-parallel/25788 "2019-06-28T12:06:59Z")

</div>

Hi, on my system: julia\> versioninfo() Julia Version 1.1.1 Commit 55e36cc308 (2019-05-16 04:10 UTC) Platform Info: OS: Windows (x86\_64-w64-mingw32) CPU: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz WORD\_SIZE: 64 LI…

---

## [Solving linear equations efficiency problem](https://discourse.julialang.org/t/solving-linear-equations-efficiency-problem/25718)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 4\
**Last updated:** [June 27, 2019, 8:59pm UTC](https://discourse.julialang.org/t/solving-linear-equations-efficiency-problem/25718 "2019-06-27T20:59:09Z")

</div>

Background: In the finite element numerical simulation, the last step is to calculate the linear equations of the overall stiffness matrix: K×d=F . In julia, the method of solving linear equations can be directly “\\”: d…

---

## [Turing - Syntax for Compositional Gibbs](https://discourse.julialang.org/t/turing-syntax-for-compositional-gibbs/25767)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 4\
**Last updated:** [June 27, 2019, 4:47pm UTC](https://discourse.julialang.org/t/turing-syntax-for-compositional-gibbs/25767 "2019-06-27T16:47:58Z")

</div>

Hi everyone, I just finished reading the paper for the Julia Turing module and went through your tutorials – looks really great, congratulations! I did not find a specific forum for it, so I post my question here: In y…

---

## [Visualising a decision tree using GraphViz](https://discourse.julialang.org/t/visualising-a-decision-tree-using-graphviz/5087)

<div class="topic-metadata">

**Author:** [@Devi\_Sree](https://discourse.julialang.org/u/Devi_Sree)\
**Replies:** 4\
**Last updated:** [June 27, 2019, 11:42am UTC](https://discourse.julialang.org/t/visualising-a-decision-tree-using-graphviz/5087 "2019-06-27T11:42:36Z")

</div>

I see python visualisation of tree using Graphviz whch is simple and only few lines. \>\>\> from sklearn.datasets import load\_iris \>\>\> from sklearn import tree \>\>\> clf = tree.DecisionTreeClassi…

---

## [Behavior of threaded loop with BoundsError](https://discourse.julialang.org/t/behavior-of-threaded-loop-with-boundserror/25733)

<div class="topic-metadata">

**Author:** [@MaximilianJHuber](https://discourse.julialang.org/u/MaximilianJHuber)\
**Replies:** 1\
**Last updated:** [June 27, 2019, 11:09am UTC](https://discourse.julialang.org/t/behavior-of-threaded-loop-with-boundserror/25733 "2019-06-27T11:09:26Z")

</div>

function f1() x = zeros(10000) Threads.@threads for i in 1:100000 #typo causes BoundsError x\[i\] = 2.0 \* i end return x end f1() returns x with values from 2 up to 20000 and prints Error thrown i…

---

## [Unfortunate deprecation of showall in DataFrames](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 3\
**Last updated:** [June 27, 2019, 9:53am UTC](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627 "2019-06-27T09:53:09Z")

</div>

Understandable to reduce API surface area and eliminate lots of special case functions. Whether the loss of convenience is worth the streamlining is in the eye of the beholder. This one seems unfortunate: \*\*┌ Warning:…

---

## [How to create an empty dataframe from a vector of row names and column names](https://discourse.julialang.org/t/how-to-create-an-empty-dataframe-from-a-vector-of-row-names-and-column-names/25650)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 11\
**Last updated:** [June 27, 2019, 6:29am UTC](https://discourse.julialang.org/t/how-to-create-an-empty-dataframe-from-a-vector-of-row-names-and-column-names/25650 "2019-06-27T06:29:45Z")

</div>

Hi, I would like to create a large empty dataframe of type Floats from a vector of row names and column names. For example rn=\["row1", "row2", "row3"\] cn=\["col1", "col2", "col3"\] Thanks !

---

## [First steps with Dagger](https://discourse.julialang.org/t/first-steps-with-dagger/25739)

<div class="topic-metadata">

**Author:** [@abx](https://discourse.julialang.org/u/abx)\
**Replies:** 2\
**Last updated:** [June 27, 2019, 1:15am UTC](https://discourse.julialang.org/t/first-steps-with-dagger/25739 "2019-06-27T01:15:12Z")

</div>

I am moving my first steps with Dagger.jl and I need some help. The following code works fine using Dagger using Distributed addprocs(4) @everywhere using Dagger @everywhere function f(x) println(x) x end a = delay…

---

## [Boosted trees implementation feedback](https://discourse.julialang.org/t/boosted-trees-implementation-feedback/25746)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 9:00pm UTC](https://discourse.julialang.org/t/boosted-trees-implementation-feedback/25746 "2019-06-26T21:00:22Z")

</div>

I’ve taken a shot at developing a boosted trees package and would be interested in having feedback on its usability: https://github.com/Evovest/EvoTrees.jl I’m conscious there’s been some initiatives in that direciton a…

---

## [MixedModels.jl confidence intervals and repeated measure, how to get?](https://discourse.julialang.org/t/mixedmodels-jl-confidence-intervals-and-repeated-measure-how-to-get/25534)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 9\
**Last updated:** [June 26, 2019, 3:38pm UTC](https://discourse.julialang.org/t/mixedmodels-jl-confidence-intervals-and-repeated-measure-how-to-get/25534 "2019-06-26T15:38:17Z")

</div>

I have a data: julia\> df 298×6 DataFrame │ Row │ Subject │ Period │ Seq │ Formulation │ logData │ Data │ │ │ Categorical… │ Categorical… │ Categorical… │ Categorical… │ Float64 │ Float64 │ ├─…

---

## [Flux RNNs leak into CuRNNs](https://discourse.julialang.org/t/flux-rnns-leak-into-curnns/25661)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 2\
**Last updated:** [June 26, 2019, 3:27pm UTC](https://discourse.julialang.org/t/flux-rnns-leak-into-curnns/25661 "2019-06-26T15:27:57Z")

</div>

Hello, has anyone encountered Flux RNNs invoking cudnn code, although none of the models from Flux.CUDA are used? My model is built on top of Flux.LSTM (not CuLSTM), but I get the following error: ERROR: LoadError: CUD…

---

## [Generating type specific deserialisers for BSON.jl](https://discourse.julialang.org/t/generating-type-specific-deserialisers-for-bson-jl/25720)

<div class="topic-metadata">

**Author:** [@richiejp](https://discourse.julialang.org/u/richiejp)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 1:14pm UTC](https://discourse.julialang.org/t/generating-type-specific-deserialisers-for-bson-jl/25720 "2019-06-26T13:14:56Z")

</div>

This is more of a blog post than a forum post, but I don’t maintain a blog so… I have spent quite some time trying to optimise the excellent BSON.jl library as we make heavy use of it. The result of this so far is so…

---

## [1e6+ constrained optimization problems](https://discourse.julialang.org/t/1e6-constrained-optimization-problems/22032)

<div class="topic-metadata">

**Author:** [@jcreinhold](https://discourse.julialang.org/u/jcreinhold)\
**Replies:** 17\
**Last updated:** [June 26, 2019, 10:49am UTC](https://discourse.julialang.org/t/1e6-constrained-optimization-problems/22032 "2019-06-26T10:49:22Z")

</div>

I am working on a problem in medical imaging where I have to solve an optimization problem at every voxel (read: pixel) that is not background. The optimization problem is relatively simple, it is a system of three non-l…

---

## [Minimise() in IntervalOptimisation does not accept keyword arguments](https://discourse.julialang.org/t/minimise-in-intervaloptimisation-does-not-accept-keyword-arguments/25678)

<div class="topic-metadata">

**Author:** [@bocc](https://discourse.julialang.org/u/bocc)\
**Replies:** 3\
**Last updated:** [June 26, 2019, 6:47am UTC](https://discourse.julialang.org/t/minimise-in-intervaloptimisation-does-not-accept-keyword-arguments/25678 "2019-06-26T06:47:41Z")

</div>

Hello All, I am experimenting a bit with IntervalOptimisation package, and I have run into a problem (I am a Julia noob, please excuse me if the resolution is trivial - I’ve tried to find the answer by myself but couldn…

---

## [Very basic Flux problem](https://discourse.julialang.org/t/very-basic-flux-problem/25663)

<div class="topic-metadata">

**Author:** [@austinbean](https://discourse.julialang.org/u/austinbean)\
**Replies:** 1\
**Last updated:** [June 25, 2019, 7:23pm UTC](https://discourse.julialang.org/t/very-basic-flux-problem/25663 "2019-06-25T19:23:24Z")

</div>

I’m starting to use flux for an NN task, but I’m having trouble understanding an error message. The following is not my use case, but maybe if I understand what’s going wrong here I can fix my actual problem… using Fl…

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

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