# Specific Domains

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

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

**Page:** 504

---

## [SAS/SPSS Mixed Model cov type translation to Julia (MixedModels.jl)](https://discourse.julialang.org/t/sas-spss-mixed-model-cov-type-translation-to-julia-mixedmodels-jl/22258)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 1\
**Last updated:** [March 28, 2019, 4:42pm UTC](https://discourse.julialang.org/t/sas-spss-mixed-model-cov-type-translation-to-julia-mixedmodels-jl/22258 "2019-03-28T16:42:06Z")

</div>

I try to use MixedModels.jl. Is any documentation how to translate SAS/SPSS random/repeated covariance type to julia MixedModels.jl notation? for example: RANDOM Fact1/TYPE=FA0(2) SUB=Fact2 G; REPEATED/GRP=Fact1 SUB=…

---

## [JuMP/cplex: setting array of variables to zero (in one shot), in heuristic callback](https://discourse.julialang.org/t/jump-cplex-setting-array-of-variables-to-zero-in-one-shot-in-heuristic-callback/22462)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 0\
**Last updated:** [March 28, 2019, 3:02pm UTC](https://discourse.julialang.org/t/jump-cplex-setting-array-of-variables-to-zero-in-one-shot-in-heuristic-callback/22462 "2019-03-28T15:02:21Z")

</div>

Dear community, I use JuMP 0.18.5 together with CPLEX 0.4.4 and want to set new solution values in a heuristic callback. I have a quite nasty array of variables julia\>model\[:x\] x\[w,i,t\] ∈ {0,1} ∀ w ∈ {1,2,…,19,20}, i …

---

## [Using Interact just dumps html / css to Jupyter notebook](https://discourse.julialang.org/t/using-interact-just-dumps-html-css-to-jupyter-notebook/22411)

<div class="topic-metadata">

**Author:** [@bjenkinsgit](https://discourse.julialang.org/u/bjenkinsgit)\
**Replies:** 1\
**Last updated:** [March 28, 2019, 1:52pm UTC](https://discourse.julialang.org/t/using-interact-just-dumps-html-css-to-jupyter-notebook/22411 "2019-03-28T13:52:48Z")

</div>

pkg status–\> Julia 1.1.0, Interact 0.10.0, IJulia 0.18.0 If I try to do anything with Interact in a IJulia notebook, all I get is html / css dumped to the screen, NOT its interpretation into an HTML widget. What am I m…

---

## [I succeeded to Spectral Saliency Map. But ...](https://discourse.julialang.org/t/i-succeeded-to-spectral-saliency-map-but/22458)

<div class="topic-metadata">

**Author:** [@bemorejul](https://discourse.julialang.org/u/bemorejul)\
**Replies:** 0\
**Last updated:** [March 28, 2019, 1:33pm UTC](https://discourse.julialang.org/t/i-succeeded-to-spectral-saliency-map-but/22458 "2019-03-28T13:33:49Z")

</div>

Hi, all. I succeeded to making Spectral Saliency Map. But … The result map is flipped to vertically. Why this happen? Julia’s FFT function is different from matlab? I wonder …

---

## [Sending a message to webpage on event](https://discourse.julialang.org/t/sending-a-message-to-webpage-on-event/22391)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 5\
**Last updated:** [March 28, 2019, 12:18am UTC](https://discourse.julialang.org/t/sending-a-message-to-webpage-on-event/22391 "2019-03-28T00:18:41Z")

</div>

I’m struggling a bit to get my head around how HTTP.jl and WebSockets work. To simplify what I’d like to do, I would like to serve a local html file on an event from Julia (for instance rand() \< 0.5 tested every second…

---

## [StatsPlots @df macro with args/kwargs](https://discourse.julialang.org/t/statsplots-df-macro-with-args-kwargs/22419)

<div class="topic-metadata">

**Author:** [@gajomi](https://discourse.julialang.org/u/gajomi)\
**Replies:** 2\
**Last updated:** [March 27, 2019, 8:11pm UTC](https://discourse.julialang.org/t/statsplots-df-macro-with-args-kwargs/22419 "2019-03-27T20:11:02Z")

</div>

I can make the following call in StatsPlots using the @df macro: @df labs histogram(:obs\_value, group = :observation, legend = :topright, size = (1500,300)) However, when I try foo = :observation baz = :obs\_value @df …

---

## [Trying to use another solver with Ipopt.jl besides Mumps](https://discourse.julialang.org/t/trying-to-use-another-solver-with-ipopt-jl-besides-mumps/22426)

<div class="topic-metadata">

**Author:** [@pedrohvbsilva](https://discourse.julialang.org/u/pedrohvbsilva)\
**Replies:** 0\
**Last updated:** [March 27, 2019, 6:56pm UTC](https://discourse.julialang.org/t/trying-to-use-another-solver-with-ipopt-jl-besides-mumps/22426 "2019-03-27T18:56:29Z")

</div>

I’ve been trying to use Pardiso as linear solver in one of my programs, i have a academic license of Pardiso, and try to put de libpardiso.dll, in Ipopt.jl package dir. I’m using Julia 1.1.0, JuMP v0.19 and Windows 10. m…

---

## [Flux.train failing with CUDA GPU](https://discourse.julialang.org/t/flux-train-failing-with-cuda-gpu/22003)

<div class="topic-metadata">

**Author:** [@bjenkinsgit](https://discourse.julialang.org/u/bjenkinsgit)\
**Replies:** 5\
**Last updated:** [March 27, 2019, 1:57pm UTC](https://discourse.julialang.org/t/flux-train-failing-with-cuda-gpu/22003 "2019-03-27T13:57:30Z")

</div>

I’m testing some julia Deep Learning code and at the point of invoking Flux.train, I get the following: ReadOnlyMemoryError() specifically, I’m invoking the train function call like so: @time for i in 1:100 Flux.tra…

---

## [Numerical Accuracy of the Solver](https://discourse.julialang.org/t/numerical-accuracy-of-the-solver/22297)

<div class="topic-metadata">

**Author:** [@Rajat\_Sanyal](https://discourse.julialang.org/u/Rajat_Sanyal)\
**Replies:** 6\
**Last updated:** [March 27, 2019, 12:43pm UTC](https://discourse.julialang.org/t/numerical-accuracy-of-the-solver/22297 "2019-03-27T12:43:02Z")

</div>

I am solving a MIP problem using CPLEX solver. I have the following constraint: x \\geq x\_{\\min}y, where x is a non-negative variable and y is a binary variable. Let us consider x\_{\\min} = 20, but I am getting the optima…

---

## [Topological Data Analysis](https://discourse.julialang.org/t/topological-data-analysis/2292)

<div class="topic-metadata">

**Author:** [@shivin9](https://discourse.julialang.org/u/shivin9)\
**Replies:** 14\
**Last updated:** [March 27, 2019, 12:00pm UTC](https://discourse.julialang.org/t/topological-data-analysis/2292 "2019-03-27T12:00:49Z")

</div>

Hi all, I am Shivin a final year Computer Science student at BITS Pilani, India. I am quite interested in Julia as a language and have contributed to IterativeSolvers.jl and LinearMaps.jl before. Recently I have got int…

---

## [Dynamic scheduling in @sync @distributed for constructions](https://discourse.julialang.org/t/dynamic-scheduling-in-sync-distributed-for-constructions/22301)

<div class="topic-metadata">

**Author:** [@MMalakhov](https://discourse.julialang.org/u/MMalakhov)\
**Replies:** 6\
**Last updated:** [March 27, 2019, 11:08am UTC](https://discourse.julialang.org/t/dynamic-scheduling-in-sync-distributed-for-constructions/22301 "2019-03-27T11:08:25Z")

</div>

Hello! Maybe it is a too simple question, but I couldn’t find it in the documentation. Constructions like @sync @distributed for j=1:N (body) end make static schedule of iterations by default. But my iterations …

---

## [PyTorch and Julia](https://discourse.julialang.org/t/pytorch-and-julia/22211)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 12\
**Last updated:** [March 27, 2019, 2:46am UTC](https://discourse.julialang.org/t/pytorch-and-julia/22211 "2019-03-27T02:46:04Z")

</div>

I was thinking about something related, but not about numpy, it’s about pytorch. As many folks know that PyTorch is implementing something seems to be very similar to Julia beneath the Python interface to enable JIT comp…

---

## [KDTree in NearestNeighbors.jl with Rectangles as leaf nodes](https://discourse.julialang.org/t/kdtree-in-nearestneighbors-jl-with-rectangles-as-leaf-nodes/22369)

<div class="topic-metadata">

**Author:** [@sambitdash](https://discourse.julialang.org/u/sambitdash)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 8:04pm UTC](https://discourse.julialang.org/t/kdtree-in-nearestneighbors-jl-with-rectangles-as-leaf-nodes/22369 "2019-03-26T20:04:30Z")

</div>

Hi All, I have a few hundreds of rectangles on which I want to conduct knn search. The KDTree being ideal data structure for me. I am not able find an interface that can take HyperRectangle as input. Is there any interf…

---

## [Forward differentiation and differential equations with solvers like LSODA, Sundials etc](https://discourse.julialang.org/t/forward-differentiation-and-differential-equations-with-solvers-like-lsoda-sundials-etc/22371)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 2\
**Last updated:** [March 26, 2019, 8:03pm UTC](https://discourse.julialang.org/t/forward-differentiation-and-differential-equations-with-solvers-like-lsoda-sundials-etc/22371 "2019-03-26T20:03:28Z")

</div>

I have similar questions to this thread I do explicit type conversion. When I use “standard” solver like Tsit5() everything is OK. But with solvers like lsoda() or CVODE\_BDF() I’m getting an error: Example: using Dif…

---

## [Shape of data for sequence learning in Flux.jl?](https://discourse.julialang.org/t/shape-of-data-for-sequence-learning-in-flux-jl/20811)

<div class="topic-metadata">

**Author:** [@clemej](https://discourse.julialang.org/u/clemej)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 5:43pm UTC](https://discourse.julialang.org/t/shape-of-data-for-sequence-learning-in-flux-jl/20811 "2019-03-26T17:43:12Z")

</div>

I’m teaching myself Julia and porting some Python/Keras code over to FluxML, and I’m having trouble shaping the data in Julia. The python keras code is (basically): model = Sequential() model.add(LSTM(9, input\_shape=(1…

---

## [Trouble building Docker container with CuArrays](https://discourse.julialang.org/t/trouble-building-docker-container-with-cuarrays/22347)

<div class="topic-metadata">

**Author:** [@edwardchalstrey1](https://discourse.julialang.org/u/edwardchalstrey1)\
**Replies:** 2\
**Last updated:** [March 26, 2019, 2:32pm UTC](https://discourse.julialang.org/t/trouble-building-docker-container-with-cuarrays/22347 "2019-03-26T14:32:36Z")

</div>

I’m trying to run my Docker container containing benchmarks of my Julia code that uses Flux/CuArrays but I’m unable to even build it, even on my VM with CUDA toolkit installed: Error: Error building CUDAdrv: Could not …

---

## [\[ANN\] Flux v0.8](https://discourse.julialang.org/t/ann-flux-v0-8/22305)

<div class="topic-metadata">

**Author:** [@dhairyagandhi96](https://discourse.julialang.org/u/dhairyagandhi96)\
**Replies:** 1\
**Last updated:** [March 25, 2019, 3:31pm UTC](https://discourse.julialang.org/t/ann-flux-v0-8/22305 "2019-03-25T15:31:30Z")

</div>

We are pleased to announce that Flux v0.8 has been released and is available for download now. Here are some of the major highlights from this release and the full list is available in the NEWS.md: New ConvTranspose la…

---

## [Shuffeld minibatches of a large datasets](https://discourse.julialang.org/t/shuffeld-minibatches-of-a-large-datasets/21774)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 2:39pm UTC](https://discourse.julialang.org/t/shuffeld-minibatches-of-a-large-datasets/21774 "2019-03-25T14:39:35Z")

</div>

I would like to train a neural network (Knet or Flux, maybe I test both) on a large date set (larger than the available memory) representing a serie of images. In python tensorflow, I would use the Dataset API (tf.data.…

---

## [Plots: change in \`savefig()\`?](https://discourse.julialang.org/t/plots-change-in-savefig/22304)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [March 25, 2019, 2:30pm UTC](https://discourse.julialang.org/t/plots-change-in-savefig/22304 "2019-03-25T14:30:24Z")

</div>

When saving figures from Plots, I use savefig(). In the past, savefig("figfile.svg") saved the figure in a file named figfile, with file extension svg. Today, savefig("figfile.svg") saves the file in a file named figfil…

---

## [Initial guess in MINLP](https://discourse.julialang.org/t/initial-guess-in-minlp/22223)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 4\
**Last updated:** [March 24, 2019, 4:59pm UTC](https://discourse.julialang.org/t/initial-guess-in-minlp/22223 "2019-03-24T16:59:00Z")

</div>

Hello, Something strange happens with my program. using JuMP, Ipopt, CPLEX, Juniper m = Model(solver=juniper) @variable(m, x, start = 0.0) @variable(m, y, start = 0.0) @NLobjective(m, Min, sin((1-5x))^2 + 100(cos(y…

---

## [Basic usage of MultiJuMP](https://discourse.julialang.org/t/basic-usage-of-multijump/21542)

<div class="topic-metadata">

**Author:** [@orhan\_abar](https://discourse.julialang.org/u/orhan_abar)\
**Replies:** 2\
**Last updated:** [March 23, 2019, 10:52pm UTC](https://discourse.julialang.org/t/basic-usage-of-multijump/21542 "2019-03-23T22:52:09Z")

</div>

I am planning to start working on multi objective optimization and found MultiJuMP. But the example on the read me page is throwing an error. It looks like it doesn’t recognize the main function of the optimization. Does…

---

## [JuliaDB as a web app backend](https://discourse.julialang.org/t/juliadb-as-a-web-app-backend/9840)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 8\
**Last updated:** [March 23, 2019, 3:56pm UTC](https://discourse.julialang.org/t/juliadb-as-a-web-app-backend/9840 "2019-03-23T15:56:09Z")

</div>

Recently I’ve spent some time learning about JuliaDB and I’m very excited about the theoretical possibility of having a high-performance web stack written fully in Julia – that is, by replacing the various traditional RD…

---

## [Random numbers in CUDA](https://discourse.julialang.org/t/random-numbers-in-cuda/22239)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 3\
**Last updated:** [March 23, 2019, 11:08am UTC](https://discourse.julialang.org/t/random-numbers-in-cuda/22239 "2019-03-23T11:08:00Z")

</div>

Hi again, just in an attempt to build a very simple Monte Carlo calculation that uses the GPU, I need to generate random numbers. What is the current best way to get a bunch of random numbers with the GPU? I tried thing…

---

## [How to reduce the number of DataFrames rows printed in IJulia?](https://discourse.julialang.org/t/how-to-reduce-the-number-of-dataframes-rows-printed-in-ijulia/21953)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 3\
**Last updated:** [March 23, 2019, 10:32am UTC](https://discourse.julialang.org/t/how-to-reduce-the-number-of-dataframes-rows-printed-in-ijulia/21953 "2019-03-23T10:32:31Z")

</div>

I want to reduce the number of rows printed by default for a DataFrame in Jupyter. How do I do that?

---

## [Exponents with CuArrays](https://discourse.julialang.org/t/exponents-with-cuarrays/22218)

<div class="topic-metadata">

**Author:** [@bryce](https://discourse.julialang.org/u/bryce)\
**Replies:** 2\
**Last updated:** [March 23, 2019, 8:00am UTC](https://discourse.julialang.org/t/exponents-with-cuarrays/22218 "2019-03-23T08:00:55Z")

</div>

I’m trying out what I thought were some basic array operations with CuArrays, and have discovered that I can’t do exponents (a.^b) with CuArrays. Here’s a minimal example: julia\> m = CuArrays.cu(\[1\]) 1-element CuArrays.…

---

## [Looking for documentation related to sparse matrix factorization](https://discourse.julialang.org/t/looking-for-documentation-related-to-sparse-matrix-factorization/21976)

<div class="topic-metadata">

**Author:** [@siddMahen](https://discourse.julialang.org/u/siddMahen)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 9:15pm UTC](https://discourse.julialang.org/t/looking-for-documentation-related-to-sparse-matrix-factorization/21976 "2019-03-22T21:15:16Z")

</div>

This is surely a dumb question, but I can’t seem to find documentation describing LU factorization for sparse matrices. Could anyone direct me to the docs? Thanks

---

## [Cartographic projections using RecipesBase](https://discourse.julialang.org/t/cartographic-projections-using-recipesbase/21421)

<div class="topic-metadata">

**Author:** [@Maurizio\_Tomasi](https://discourse.julialang.org/u/Maurizio_Tomasi)\
**Replies:** 8\
**Last updated:** [March 22, 2019, 6:45pm UTC](https://discourse.julialang.org/t/cartographic-projections-using-recipesbase/21421 "2019-03-22T18:45:26Z")

</div>

Hi to everybody, In the past years, I have developed a library that implements Healpix projection functions: GitHub - ziotom78/Healpix.jl: Healpix library written in Julia. Unlike Michael Eastwood’s Libhealpix.jl, this …

---

## [Deleting containerized constraints](https://discourse.julialang.org/t/deleting-containerized-constraints/21971)

<div class="topic-metadata">

**Author:** [@Di11on](https://discourse.julialang.org/u/Di11on)\
**Replies:** 13\
**Last updated:** [March 22, 2019, 4:50pm UTC](https://discourse.julialang.org/t/deleting-containerized-constraints/21971 "2019-03-22T16:50:12Z")

</div>

Hi folks, I am translating an electricity production cost model from GAMS to JuMP and am struggling to get reasonable model generation times. Generally these models consist of running 365 single-day optimisations to run…

---

## [Training dataset with happy and sad faces?](https://discourse.julialang.org/t/training-dataset-with-happy-and-sad-faces/22207)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [March 22, 2019, 3:59pm UTC](https://discourse.julialang.org/t/training-dataset-with-happy-and-sad-faces/22207 "2019-03-22T15:59:05Z")

</div>

Are there any datasets for download which have faces tagged with emotion - eg happy/sad? I have an idea for a demonstrator system using an Nvidia Jetson board. The camera takes a picture of your face. an ML framework th…

---

## [Error installing CuArrays](https://discourse.julialang.org/t/error-installing-cuarrays/17641)

<div class="topic-metadata">

**Author:** [@Seif\_Shebl](https://discourse.julialang.org/u/Seif_Shebl)\
**Replies:** 6\
**Last updated:** [March 22, 2019, 2:31pm UTC](https://discourse.julialang.org/t/error-installing-cuarrays/17641 "2019-03-22T14:31:51Z")

</div>

I’m facing the following errors when I try to install CuArrays. I use Julia 1.0.1 on a Windows 10 machine. The graphics card installed is the GeForce GTX 980. Any help is appreciated. julia\> using CuArrays \[ Info: Preco…

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

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