# Specific Domains

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

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

**Page:** 472

---

## [Starting a Deep Learning project, should I keep using Julia or jump to Python?](https://discourse.julialang.org/t/starting-a-deep-learning-project-should-i-keep-using-julia-or-jump-to-python/3840)

<div class="topic-metadata">

**Author:** [@raff](https://discourse.julialang.org/u/raff)\
**Replies:** 15\
**Last updated:** [December 8, 2019, 12:33am UTC](https://discourse.julialang.org/t/starting-a-deep-learning-project-should-i-keep-using-julia-or-jump-to-python/3840 "2019-12-08T00:33:13Z")

</div>

I fully switched from Matlab to Julia to do my machine learning research two years ago. I really like Julia and never look back since then. With Julia, my workflow is more productive than before. But now, I will start a…

---

## [Convex.jl : remarkable increase in perf in dev version (0.13.0) compared to v0.12.6, (now as fast as R/CVXR)](https://discourse.julialang.org/t/convex-jl-remarkable-increase-in-perf-in-dev-version-0-13-0-compared-to-v0-12-6-now-as-fast-as-r-cvxr/31966)

<div class="topic-metadata">

**Author:** [@reumle](https://discourse.julialang.org/u/reumle)\
**Replies:** 1\
**Last updated:** [December 7, 2019, 1:02pm UTC](https://discourse.julialang.org/t/convex-jl-remarkable-increase-in-perf-in-dev-version-0-13-0-compared-to-v0-12-6-now-as-fast-as-r-cvxr/31966 "2019-12-07T13:02:13Z")

</div>

The new version performs magnitudes better than its predecessor on the (simple) benchmark described in Convex.jl (+SCS) more than 100\* slower than R counterpart, CVXR + SCS - #8 by reumle. This enables me to try problem…

---

## [RCall : how to get values of a R object?](https://discourse.julialang.org/t/rcall-how-to-get-values-of-a-r-object/31925)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 4\
**Last updated:** [December 7, 2019, 10:30am UTC](https://discourse.julialang.org/t/rcall-how-to-get-values-of-a-r-object/31925 "2019-12-07T10:30:24Z")

</div>

Hi, Some R functions retrieve many statistical parameters such as pvalue, confidence interval etc… I would like to know how it is possible to extract those parameters from a R object ? For example here how can I get pva…

---

## [Custom likelihood with Turing.jl](https://discourse.julialang.org/t/custom-likelihood-with-turing-jl/31471)

<div class="topic-metadata">

**Author:** [@depasquale](https://discourse.julialang.org/u/depasquale)\
**Replies:** 6\
**Last updated:** [December 7, 2019, 4:34am UTC](https://discourse.julialang.org/t/custom-likelihood-with-turing-jl/31471 "2019-12-07T04:34:53Z")

</div>

Hi all, I’d like to use Turing.jl to sample from a custom likelihood function. I’ve seen this post here and the DynamicHMCexamples.jl package, which gives very nice tutorials for doing this using DynamicHMC, but I would…

---

## [DiffEqFlux and Flux v0.10 (compatibility)](https://discourse.julialang.org/t/diffeqflux-and-flux-v0-10-compatibility/31921)

<div class="topic-metadata">

**Author:** [@lwhitefox](https://discourse.julialang.org/u/lwhitefox)\
**Replies:** 7\
**Last updated:** [December 6, 2019, 4:14pm UTC](https://discourse.julialang.org/t/diffeqflux-and-flux-v0-10-compatibility/31921 "2019-12-06T16:14:56Z")

</div>

I’d like to grind through the examples at the C. Rackaukas blog post on NN and ODE (DiffEqFlux.jl – A Julia Library for Neural Differential Equations). However, I’m struggling to get packages working together now. If I…

---

## [Simplifying Distributions type hierarchy](https://discourse.julialang.org/t/simplifying-distributions-type-hierarchy/31882)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 14\
**Last updated:** [December 6, 2019, 3:21pm UTC](https://discourse.julialang.org/t/simplifying-distributions-type-hierarchy/31882 "2019-12-06T15:21:56Z")

</div>

In probabilistic programming, we use a a lot of distributions. In some settings, it’s important for it to be very easy to define new distributions, and to reason about them. The current type of a Distribution or Samplea…

---

## [Sparse matrix pattern?](https://discourse.julialang.org/t/sparse-matrix-pattern/31928)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [December 6, 2019, 11:49am UTC](https://discourse.julialang.org/t/sparse-matrix-pattern/31928 "2019-12-06T11:49:52Z")

</div>

Is there a Plots command similar to MATLAB’s spy command to plot the sparsity pattern of a sparse matrix?

---

## [Memory Usage and SharedArrays](https://discourse.julialang.org/t/memory-usage-and-sharedarrays/31694)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 8\
**Last updated:** [December 6, 2019, 8:02am UTC](https://discourse.julialang.org/t/memory-usage-and-sharedarrays/31694 "2019-12-06T08:02:57Z")

</div>

Hi all, I am new to parallel computing and I had a question regarding memory usage with SharedArrays. I am doing parallel computing to do one operation in each worker and write on a particular slice of an Array. If I a…

---

## [CPU/GPU data transfer speed](https://discourse.julialang.org/t/cpu-gpu-data-transfer-speed/31857)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 12\
**Last updated:** [December 6, 2019, 3:22am UTC](https://discourse.julialang.org/t/cpu-gpu-data-transfer-speed/31857 "2019-12-06T03:22:08Z")

</div>

I’m having trouble pushing data from CPU to GPU memory at a decent rate. With 512 MB of Float32 data julia\> using CuArrays julia\> data = rand(Float32, 134217728); everything is nice and fast once the data is on the G…

---

## [How to splice two time series into one in a plot?](https://discourse.julialang.org/t/how-to-splice-two-time-series-into-one-in-a-plot/31902)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 17\
**Last updated:** [December 5, 2019, 4:33pm UTC](https://discourse.julialang.org/t/how-to-splice-two-time-series-into-one-in-a-plot/31902 "2019-12-05T16:33:44Z")

</div>

Hello, I have two differential equation time series (sol and sol2). sol\[end\] is used as the starting values for sol2. I would like to plot these two on the same plot, if possible, like so. I can graph them separatel…

---

## [Optim: gradient and Hessian of constraints](https://discourse.julialang.org/t/optim-gradient-and-hessian-of-constraints/31493)

<div class="topic-metadata">

**Author:** [@Alois](https://discourse.julialang.org/u/Alois)\
**Replies:** 3\
**Last updated:** [December 5, 2019, 3:43pm UTC](https://discourse.julialang.org/t/optim-gradient-and-hessian-of-constraints/31493 "2019-12-05T15:43:57Z")

</div>

Hello, I am using Optim.jl to solve a constrained optimization problem. The gradient is not specified, so finite differences are the default. This works nicely for the objective, but not for the constraints. Thank yo…

---

## [Pyomo style "blocks" in JuMP](https://discourse.julialang.org/t/pyomo-style-blocks-in-jump/31849)

<div class="topic-metadata">

**Author:** [@jonmat](https://discourse.julialang.org/u/jonmat)\
**Replies:** 7\
**Last updated:** [December 5, 2019, 3:06pm UTC](https://discourse.julialang.org/t/pyomo-style-blocks-in-jump/31849 "2019-12-05T15:06:17Z")

</div>

I’m new to Julia/JuMP and I’m wondering if Julia has any capability that replicates “blocks” in Pyomo? In other words the possibility to maintain separate namespaces within your model, and build hierarchical/compositiona…

---

## [GPUparallelisation on Intel card?](https://discourse.julialang.org/t/gpuparallelisation-on-intel-card/31843)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [December 5, 2019, 12:41pm UTC](https://discourse.julialang.org/t/gpuparallelisation-on-intel-card/31843 "2019-12-05T12:41:06Z")

</div>

Hello, is GPU parallelisation reserved to CUDarray/NVIDIA cards, or is there an API for generic (i.e. Intel integrated) cards ? And if yes, is it worth it? Where could I get more doc/info about it ?

---

## [Plots.jl: Assigning seriescolor using ColorGradient for line plot](https://discourse.julialang.org/t/plots-jl-assigning-seriescolor-using-colorgradient-for-line-plot/17099)

<div class="topic-metadata">

**Author:** [@Micah\_BL](https://discourse.julialang.org/u/Micah_BL)\
**Replies:** 14\
**Last updated:** [December 5, 2019, 11:58am UTC](https://discourse.julialang.org/t/plots-jl-assigning-seriescolor-using-colorgradient-for-line-plot/17099 "2019-12-05T11:58:40Z")

</div>

I am having trouble using a ColorGradient to set the color levels of a dynamic number of series. I can get the colorgradient to work if I use heatmap: A = \[i for i=1:100, j=1:100\] heatmap(A, c=ColorGradient(:inferno)) …

---

## [Has anyone taken this course on probabilistic programming in Julia?](https://discourse.julialang.org/t/has-anyone-taken-this-course-on-probabilistic-programming-in-julia/31867)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 6\
**Last updated:** [December 5, 2019, 2:41am UTC](https://discourse.julialang.org/t/has-anyone-taken-this-course-on-probabilistic-programming-in-julia/31867 "2019-12-05T02:41:27Z")

</div>

The course is here: https://www.udemy.com/course/probabilistic-programming-with-python-and-julia/ It has only had 34 students and the ratings are quite poor (so my prior belief about the probability of finding someone …

---

## [Form encoded data](https://discourse.julialang.org/t/form-encoded-data/31869)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [December 4, 2019, 7:51pm UTC](https://discourse.julialang.org/t/form-encoded-data/31869 "2019-12-04T19:51:24Z")

</div>

How can I reproduce this python code with HTTP.jl? url = 'https://myurl.com/api' params = {'par': val} headers = {'Content-Type': 'application/x-www-form-urlencoded'} with open(filename, 'rb') as f: r = requests.pos…

---

## [Convex.jl (+SCS) more than 100\* slower than R counterpart, CVXR + SCS](https://discourse.julialang.org/t/convex-jl-scs-more-than-100-slower-than-r-counterpart-cvxr-scs/31717)

<div class="topic-metadata">

**Author:** [@reumle](https://discourse.julialang.org/u/reumle)\
**Replies:** 12\
**Last updated:** [December 3, 2019, 11:48pm UTC](https://discourse.julialang.org/t/convex-jl-scs-more-than-100-slower-than-r-counterpart-cvxr-scs/31717 "2019-12-03T23:48:23Z")

</div>

Hello, I see significantly worse perf in the julia implementation. Also scaling seems linear on R side and quadratic on Julia side… \[MWE below at the bottom, in R and Julia\] timings in R/CVXR/scs, (in seconds) # A ti…

---

## [\[Plots\] Efficient scatter plot of a 2×N Array](https://discourse.julialang.org/t/plots-efficient-scatter-plot-of-a-2xn-array/31803)

<div class="topic-metadata">

**Author:** [@4aHxKzD](https://discourse.julialang.org/u/4aHxKzD)\
**Replies:** 6\
**Last updated:** [December 3, 2019, 11:24pm UTC](https://discourse.julialang.org/t/plots-efficient-scatter-plot-of-a-2xn-array/31803 "2019-12-03T23:24:58Z")

</div>

When we want to plot a series of points we simply write: points = rand(10000) scatter(points) this assumes a y = rand(10000) and x = 1:10000. From the Official documentation - Argument Passing Behavior Julia functio…

---

## [@variables as function parameter](https://discourse.julialang.org/t/variables-as-function-parameter/31650)

<div class="topic-metadata">

**Author:** [@cvanaret](https://discourse.julialang.org/u/cvanaret)\
**Replies:** 1\
**Last updated:** [December 3, 2019, 5:11pm UTC](https://discourse.julialang.org/t/variables-as-function-parameter/31650 "2019-12-03T17:11:17Z")

</div>

Hi, I started playing with the IntervalConstraintProgramming module in Julia, and ran into a problem. Here is a minimal example: using IntervalConstraintProgramming using IntervalArithmetic using ModelingToolkit func…

---

## [Bent identity activation function and Flux.jl?](https://discourse.julialang.org/t/bent-identity-activation-function-and-flux-jl/31807)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 4:58pm UTC](https://discourse.julialang.org/t/bent-identity-activation-function-and-flux-jl/31807 "2019-12-03T16:58:56Z")

</div>

Dear all, Does flux.jl has the bent identity activation function? I don’t see it in NNlib.jl. Warmest regards

---

## [TextAnalysis and individual TF-IDF](https://discourse.julialang.org/t/textanalysis-and-individual-tf-idf/31798)

<div class="topic-metadata">

**Author:** [@rssdev10](https://discourse.julialang.org/u/rssdev10)\
**Replies:** 3\
**Last updated:** [December 3, 2019, 4:40pm UTC](https://discourse.julialang.org/t/textanalysis-and-individual-tf-idf/31798 "2019-12-03T16:40:15Z")

</div>

I have a case with fixed corpus of documents and one document which is a query. The task is to calculate similarity between these fixed documents and a document sent by a user. For now, we are using TextAnalysis with Cor…

---

## [Stress test DGX-1](https://discourse.julialang.org/t/stress-test-dgx-1/31810)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 4:02pm UTC](https://discourse.julialang.org/t/stress-test-dgx-1/31810 "2019-12-03T16:02:33Z")

</div>

I have an excuse to run some stress tests on an Nvidia DGX-1 over the next few days. Is there anything interesting I could run on an 8 GPU setup like that?

---

## [Edging towards distributed HPC](https://discourse.julialang.org/t/edging-towards-distributed-hpc/31809)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [December 3, 2019, 4:01pm UTC](https://discourse.julialang.org/t/edging-towards-distributed-hpc/31809 "2019-12-03T16:01:25Z")

</div>

No paticular mention of Julia, but a good article

---

## [Why the result from Flux.jl is totally different from tf.Keras (with the same simple MLP)](https://discourse.julialang.org/t/why-the-result-from-flux-jl-is-totally-different-from-tf-keras-with-the-same-simple-mlp/31739)

<div class="topic-metadata">

**Author:** [@Carol](https://discourse.julialang.org/u/Carol)\
**Replies:** 6\
**Last updated:** [December 3, 2019, 5:26am UTC](https://discourse.julialang.org/t/why-the-result-from-flux-jl-is-totally-different-from-tf-keras-with-the-same-simple-mlp/31739 "2019-12-03T05:26:04Z")

</div>

Dear all, I want to use Flux.jl to build a simple Multi-Layer Perceptron (MLP) as I did in Keras, where the input data is a matrix of nGene (number of genes) by nInd (number of individuals), output data is a vector of l…

---

## [How to implement MLJ models properly for \`learning\_curve!\`](https://discourse.julialang.org/t/how-to-implement-mlj-models-properly-for-learning-curve/31655)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 4:34am UTC](https://discourse.julialang.org/t/how-to-implement-mlj-models-properly-for-learning-curve/31655 "2019-12-03T04:34:42Z")

</div>

I am trying to copy the XGBoost.jl with Crabs tutorial with JLBoost.jl. I think the data is identical and most things work fine, but I can’t get learning\_curve! to work. Here is the code. using Pkg; Pkg.activate(".") u…

---

## [How can I use TileDB from Julia?](https://discourse.julialang.org/t/how-can-i-use-tiledb-from-julia/18864)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 6\
**Last updated:** [November 18, 2019, 9:16pm UTC](https://discourse.julialang.org/t/how-can-i-use-tiledb-from-julia/18864 "2019-11-18T21:16:14Z")

</div>

How can I use TileDB from Julia? Is there any port? I’ve searched on Julia observer but haven’t find anything? I’ve also searched on JuliaDB docs but haven’t found anything. I’m looking for a fast database to deal with…

---

## [Is dijkstra\_shortest\_paths only supposed to handle integer weights?](https://discourse.julialang.org/t/is-dijkstra-shortest-paths-only-supposed-to-handle-integer-weights/31761)

<div class="topic-metadata">

**Author:** [@HBreddam](https://discourse.julialang.org/u/HBreddam)\
**Replies:** 2\
**Last updated:** [December 2, 2019, 5:54pm UTC](https://discourse.julialang.org/t/is-dijkstra-shortest-paths-only-supposed-to-handle-integer-weights/31761 "2019-12-02T17:54:54Z")

</div>

Hi everyone, I need to have float weight on a graph as it is used as a pricing problem for column generation. As far as i can see the dijkstra\_shortest\_paths should be able use float weight, but when i try the followin…

---

## [\[ANN\] SequentialConvexRelaxation.jl: non-convex optimization on top of Convex.jl](https://discourse.julialang.org/t/ann-sequentialconvexrelaxation-jl-non-convex-optimization-on-top-of-convex-jl/31743)

<div class="topic-metadata">

**Author:** [@rdoelman](https://discourse.julialang.org/u/rdoelman)\
**Replies:** 2\
**Last updated:** [December 2, 2019, 1:59pm UTC](https://discourse.julialang.org/t/ann-sequentialconvexrelaxation-jl-non-convex-optimization-on-top-of-convex-jl/31743 "2019-12-02T13:59:21Z")

</div>

Hi all, I’d like to introduce the package SequentialConvexRelaxation.jl. The package implements a heuristic method on top of Convex.jl to attempt to solve non-convex problems that can be expressed as a convex problem, …

---

## [Is there something better than \`reshape\` for flattening data batches?](https://discourse.julialang.org/t/is-there-something-better-than-reshape-for-flattening-data-batches/31744)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 3\
**Last updated:** [December 2, 2019, 12:16pm UTC](https://discourse.julialang.org/t/is-there-something-better-than-reshape-for-flattening-data-batches/31744 "2019-12-02T12:16:52Z")

</div>

In the MINST example of Flux Model Zoo, the layer that “flattens” tensor data before the Dense layer uses reshape: # Reshape 3d tensor into a 2d one, at this point it should be (3, 3, 32, N) # which is where we get the …

---

## [Has GPU support changed since Flux 0.10?](https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 2\
**Last updated:** [December 2, 2019, 10:40am UTC](https://discourse.julialang.org/t/has-gpu-support-changed-since-flux-0-10/31695 "2019-12-02T10:40:21Z")

</div>

I get an error message related to CuArrays when I import Flux julia\> using Flux \[ Info: CuArrays.jl failed to initialize and will be unavailable (set JULIA\_CUDA\_SILENT or JULIA\_CUDA\_VERBOSE to silence or expand this mes…

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

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