# Specific Domains

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

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

**Page:** 564

---

## [Building LSTM](https://discourse.julialang.org/t/building-lstm/3153)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 12:16pm UTC](https://discourse.julialang.org/t/building-lstm/3153 "2017-04-11T12:16:24Z")

</div>

How do I build the LSTM cell? Is it nn.rnn.LSTMCell(input, state, input\_dim=-1) ? Can I add that under RNN in https://github.com/malmaud/TensorFlow.jl/blob/master/docs/src/ops.md ? @malmaud

---

## [Dropout regularization](https://discourse.julialang.org/t/dropout-regularization/3154)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 11:39am UTC](https://discourse.julialang.org/t/dropout-regularization/3154 "2017-04-11T11:39:00Z")

</div>

Hi Jon @malmaud, is nn.dropout(cell, Tensor(output\_keep\_prob)) only for multi-cell nn? If my LSTM has only one cell state, then is there a need for it?

---

## [JLD takes too long reading names from a file](https://discourse.julialang.org/t/jld-takes-too-long-reading-names-from-a-file/2154)

<div class="topic-metadata">

**Author:** [@LewisHein](https://discourse.julialang.org/u/LewisHein)\
**Replies:** 2\
**Last updated:** [April 11, 2017, 9:28am UTC](https://discourse.julialang.org/t/jld-takes-too-long-reading-names-from-a-file/2154 "2017-04-11T09:28:19Z")

</div>

JLD seems to take an awfully long time just reading the names present in a JLD file – not reading values, just names. julia\> outfile = jldopen("/tmp/blah.jl", "w") Julia data file version 0.1.1: /tmp/blah.jl julia\> for…

---

## [Projection Pursuit Regression](https://discourse.julialang.org/t/projection-pursuit-regression/3147)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 1\
**Last updated:** [April 11, 2017, 7:49am UTC](https://discourse.julialang.org/t/projection-pursuit-regression/3147 "2017-04-11T07:49:34Z")

</div>

Hi, I am considering using Projection Pursuit Regression in a project to analyze data. After some search in the internet, it seems only R provides ppr method in stats package. I am wandering is there some Julia package …

---

## [JuMP-Ipopt NLP : Gradient not passed to solver](https://discourse.julialang.org/t/jump-ipopt-nlp-gradient-not-passed-to-solver/2908)

<div class="topic-metadata">

**Author:** [@Manish](https://discourse.julialang.org/u/Manish)\
**Replies:** 6\
**Last updated:** [April 11, 2017, 3:35am UTC](https://discourse.julialang.org/t/jump-ipopt-nlp-gradient-not-passed-to-solver/2908 "2017-04-11T03:35:29Z")

</div>

I have implemented a non-linear (8 variable) unconstrained optimisation problem using JuMP and Ipopt solver. User defined functions were used used for calculating the function value and gradient. The implementation was s…

---

## [Controlled decimation of heatmaps](https://discourse.julialang.org/t/controlled-decimation-of-heatmaps/3060)

<div class="topic-metadata">

**Author:** [@lwabeke](https://discourse.julialang.org/u/lwabeke)\
**Replies:** 10\
**Last updated:** [April 10, 2017, 7:30am UTC](https://discourse.julialang.org/t/controlled-decimation-of-heatmaps/3060 "2017-04-10T07:30:25Z")

</div>

I have a feature idea/request and would like comments before attempting anything myself: When using heatmap to display images that are larger than the pixel area, the data gets decimated by the backend in order to fit i…

---

## [Multiple Windows/Figure with PlotlyJS](https://discourse.julialang.org/t/multiple-windows-figure-with-plotlyjs/3128)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 0\
**Last updated:** [April 9, 2017, 3:10pm UTC](https://discourse.julialang.org/t/multiple-windows-figure-with-plotlyjs/3128 "2017-04-09T15:10:33Z")

</div>

Hi, I’m using PlotlyJS for visualization is not able to figure out how to get multiple figure windows (Something like PyPlot.figure() ). What is the best way to get this? Thanks, vish

---

## [Accessing full dataframe after a join within a Query.jl query](https://discourse.julialang.org/t/accessing-full-dataframe-after-a-join-within-a-query-jl-query/3076)

<div class="topic-metadata">

**Author:** [@tlnagy](https://discourse.julialang.org/u/tlnagy)\
**Replies:** 4\
**Last updated:** [April 7, 2017, 9:37pm UTC](https://discourse.julialang.org/t/accessing-full-dataframe-after-a-join-within-a-query-jl-query/3076 "2017-04-07T21:37:20Z")

</div>

This is transferring my question from Possible to join and then do a groupby? · Issue #104 · queryverse/Query.jl · GitHub as suggested by @davidanthoff. I have two dataframes that look like this: df1 = DataFrame(id=\[1,2…

---

## [Tensorflow.jl - Where is the wrapper of \`tensorflow::ops::Abs\`?](https://discourse.julialang.org/t/tensorflow-jl-where-is-the-wrapper-of-tensorflow-ops-abs/3095)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 1\
**Last updated:** [April 6, 2017, 11:40pm UTC](https://discourse.julialang.org/t/tensorflow-jl-where-is-the-wrapper-of-tensorflow-ops-abs/3095 "2017-04-06T23:40:36Z")

</div>

Hi. From TensorFlow C++ API Reference | TensorFlow v2.9.1, module math\_ops, operator tensorflow::ops::Abs, where is the wrapper of Abs( const ::tensorflow::Scope & scope, ::tensorflow::Input x ) \`\`\` in https://gi…

---

## [How to get the status of optimization of Julia Ipopt as an output?](https://discourse.julialang.org/t/how-to-get-the-status-of-optimization-of-julia-ipopt-as-an-output/2881)

<div class="topic-metadata">

**Author:** [@Angshuman\_Goswami](https://discourse.julialang.org/u/Angshuman_Goswami)\
**Replies:** 5\
**Last updated:** [April 6, 2017, 8:01pm UTC](https://discourse.julialang.org/t/how-to-get-the-status-of-optimization-of-julia-ipopt-as-an-output/2881 "2017-04-06T20:01:03Z")

</div>

I am running MPC with Julia Ipopt+JuMP in ROS. I want to get the output of the MPC along with the status of optimization. Sometimes the MPC is infeasible, my value gets stuck in the previous output and hence this will he…

---

## [GSL's QAWF integration for oscillatory functions](https://discourse.julialang.org/t/gsls-qawf-integration-for-oscillatory-functions/3040)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 2\
**Last updated:** [April 5, 2017, 6:23am UTC](https://discourse.julialang.org/t/gsls-qawf-integration-for-oscillatory-functions/3040 "2017-04-05T06:23:03Z")

</div>

I feel kind of silly to ask this question, but how am I supposed to pass the integrand to the QAWF routine, whose signature is integration\_qawf(a::Real, epsabs::Real, limit::Integer)? Other integration functions have th…

---

## [Graphs.jl and v0.5](https://discourse.julialang.org/t/graphs-jl-and-v0-5/2978)

<div class="topic-metadata">

**Author:** [@healyp](https://discourse.julialang.org/u/healyp)\
**Replies:** 3\
**Last updated:** [April 4, 2017, 3:17pm UTC](https://discourse.julialang.org/t/graphs-jl-and-v0-5/2978 "2017-04-04T15:17:47Z")

</div>

Perhaps not the exact forum for this but hopefully somebody has a quick answer… I upgraded to v0.5 just recently and since then Graphs.jl has been issuing a slew of warnings of the following type: WARNING: Method defin…

---

## [(approximate) PDFs/CDFs suitable for automatic differentiation?](https://discourse.julialang.org/t/approximate-pdfs-cdfs-suitable-for-automatic-differentiation/3027)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 6\
**Last updated:** [April 3, 2017, 9:56pm UTC](https://discourse.julialang.org/t/approximate-pdfs-cdfs-suitable-for-automatic-differentiation/3027 "2017-04-03T21:56:42Z")

</div>

I’m working on a project where, given some observations of transformed random variables, we would like to estimate the parameters of the distribution those observations came from. As a simple example, suppose Y = min(X\_…

---

## [Adding regularization in TensorFlow.jl](https://discourse.julialang.org/t/adding-regularization-in-tensorflow-jl/3006)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 0\
**Last updated:** [April 2, 2017, 6:16am UTC](https://discourse.julialang.org/t/adding-regularization-in-tensorflow-jl/3006 "2017-04-02T06:16:48Z")

</div>

Hello All, I am starting to play with TensorFlow.jl. I am thinking about how to add l2 regularization into all weights of all layers. Adding that during the definition stage seems to me to be a nuisance. I would like so…

---

## [JuMP & warmstart](https://discourse.julialang.org/t/jump-warmstart/2998)

<div class="topic-metadata">

**Author:** [@abulak](https://discourse.julialang.org/u/abulak)\
**Replies:** 3\
**Last updated:** [April 2, 2017, 2:07am UTC](https://discourse.julialang.org/t/jump-warmstart/2998 "2017-04-02T02:07:09Z")

</div>

I’m trying to start SCS with a given solution from previous runs, see http://jump.readthedocs.io/en/latest/refmodel.html?highlight=internalModel#accessing-the-low-level-model I mimic https://github.com/JuliaOpt/SCS.jl/b…

---

## [How to write data to file with JSON.jl?](https://discourse.julialang.org/t/how-to-write-data-to-file-with-json-jl/2993)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [April 1, 2017, 5:29pm UTC](https://discourse.julialang.org/t/how-to-write-data-to-file-with-json-jl/2993 "2017-04-01T17:29:18Z")

</div>

Consider the following example: using JSON people = \[Dict("name"=\>"CoolGuy", "company"=\>"tech") for i=1:1000\] companies = \[Dict("name"=\>"CoolTech", "address"=\>"Bay Area") for i=1:100\] data = Dict("people"=\>people, "co…

---

## [Eigenvector precision issues](https://discourse.julialang.org/t/eigenvector-precision-issues/2980)

<div class="topic-metadata">

**Author:** [@evoclue](https://discourse.julialang.org/u/evoclue)\
**Replies:** 6\
**Last updated:** [April 1, 2017, 3:11am UTC](https://discourse.julialang.org/t/eigenvector-precision-issues/2980 "2017-04-01T03:11:19Z")

</div>

I am using eigenfact to extract the eigenvectors corresponding to the 1000 largest eigenvalues from a symmetric matrix. V = eigfact(Symmetric(M))\[:vectors\]\[,1:1000\] V = \[:,end:-1:1\] #sorts V such that V\[:,1\] is the eige…

---

## [Introducing Seep.jl, a tensorflow like library for julia](https://discourse.julialang.org/t/introducing-seep-jl-a-tensorflow-like-library-for-julia/1254)

<div class="topic-metadata">

**Author:** [@adambrewster](https://discourse.julialang.org/u/adambrewster)\
**Replies:** 15\
**Last updated:** [March 31, 2017, 10:46pm UTC](https://discourse.julialang.org/t/introducing-seep-jl-a-tensorflow-like-library-for-julia/1254 "2017-03-31T22:46:26Z")

</div>

Introducing Seep.jl, a tensorflow like library for julia, available at https://github.com/mit-ll/Seep.jl. I wrote this package over the last year to learn about modern neural network architectures. It still immature an…

---

## [Kafka.jl usage](https://discourse.julialang.org/t/kafka-jl-usage/2656)

<div class="topic-metadata">

**Author:** [@Oliwia\_Wojtkowska](https://discourse.julialang.org/u/Oliwia_Wojtkowska)\
**Replies:** 15\
**Last updated:** [March 31, 2017, 1:09pm UTC](https://discourse.julialang.org/t/kafka-jl-usage/2656 "2017-03-31T13:09:02Z")

</div>

Hi there ! Does anyone use a Kafka.jl package? I have a problem with connection with one of my kafka topic, below is my code: using Kafka kc = KafkaClient("my\_host", 6667) consumer = fetch(kc, "my\_topic", 0, 0) while …

---

## [Connect to private network: HTTP.jl vs Requests.jl](https://discourse.julialang.org/t/connect-to-private-network-http-jl-vs-requests-jl/2953)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 2\
**Last updated:** [March 30, 2017, 5:07pm UTC](https://discourse.julialang.org/t/connect-to-private-network-http-jl-vs-requests-jl/2953 "2017-03-30T17:07:24Z")

</div>

I’m playing around with a little script that pings a device on my home network at IP address 192.168.0.100. Using Requests.jl, accessing the device via Requests.get("http://192.168.0.100") works fine. But with HTTP.jl, H…

---

## [Parallel model generation in JuMP](https://discourse.julialang.org/t/parallel-model-generation-in-jump/2965)

<div class="topic-metadata">

**Author:** [@kkmann](https://discourse.julialang.org/u/kkmann)\
**Replies:** 1\
**Last updated:** [March 30, 2017, 3:17pm UTC](https://discourse.julialang.org/t/parallel-model-generation-in-jump/2965 "2017-03-30T15:17:24Z")

</div>

Hey, I am kinda re-iterating on https://github.com/JuliaOpt/JuMP.jl/issues/958. The application I had in mind with when opening the issue was a large-scale binary assignment problem where most of the coefficients are in…

---

## [Building and unit testing Protocol Buffer in Tensorflow.jl](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 3\
**Last updated:** [March 30, 2017, 1:01pm UTC](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958 "2017-03-30T13:01:45Z")

</div>

Hi @malmaud. What’s your reference for building and testing protobuf?

---

## [Ex-post variable values not equal to solver-computed ones](https://discourse.julialang.org/t/ex-post-variable-values-not-equal-to-solver-computed-ones/2927)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [March 28, 2017, 2:13pm UTC](https://discourse.julialang.org/t/ex-post-variable-values-not-equal-to-solver-computed-ones/2927 "2017-03-28T14:13:51Z")

</div>

I have a simple JuMP optimisation problem where the objective is to maximise forest harvesting under a budget constraint of subsides/tax to push up/down harvesting, a supply curve that depends on price+subsides and fores…

---

## [Benders Decomposition: Callback function to be called when Master problem reaches optimal at that iteration (in JuMP's example, it is called@ any feasible sub-optimal integer point)](https://discourse.julialang.org/t/benders-decomposition-callback-function-to-be-called-when-master-problem-reaches-optimal-at-that-iteration-in-jumps-example-it-is-called-any-feasible-sub-optimal-integer-point/2856)

<div class="topic-metadata">

**Author:** [@loylobo](https://discourse.julialang.org/u/loylobo)\
**Replies:** 10\
**Last updated:** [March 30, 2017, 6:40am UTC](https://discourse.julialang.org/t/benders-decomposition-callback-function-to-be-called-when-master-problem-reaches-optimal-at-that-iteration-in-jumps-example-it-is-called-any-feasible-sub-optimal-integer-point/2856 "2017-03-30T06:40:32Z")

</div>

Hi, I’m working on Bender’s decomposition of a MILP on the Julia interface with JuMP package on a Gurobi solver. In the example here, the callback function of lazy constraints is called when the master problem reaches a…

---

## [TensorFlow.jl basic usage ERROR: UndefVarError: global\_variables\_initializer not defined](https://discourse.julialang.org/t/tensorflow-jl-basic-usage-error-undefvarerror-global-variables-initializer-not-defined/2951)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 3:43pm UTC](https://discourse.julialang.org/t/tensorflow-jl-basic-usage-error-undefvarerror-global-variables-initializer-not-defined/2951 "2017-03-29T15:43:23Z")

</div>

julia\> using TensorFlow INFO: Precompiling module TensorFlow. julia\> sess=TensorFlow.Session() 2017-03-29 12:11:27.483376: W tensorflow/core/platform/cpu\_feature\_guard.cc:45\] The TensorFlow library wasn't compiled to us…

---

## [MathProgBase internal model: get constraint sens](https://discourse.julialang.org/t/mathprogbase-internal-model-get-constraint-sens/2946)

<div class="topic-metadata">

**Author:** [@Pierre-Louis\_Poirion](https://discourse.julialang.org/u/Pierre-Louis_Poirion)\
**Replies:** 1\
**Last updated:** [March 29, 2017, 12:39pm UTC](https://discourse.julialang.org/t/mathprogbase-internal-model-get-constraint-sens/2946 "2017-03-29T12:39:56Z")

</div>

Hello When accessing the internal model of an LP with MathProgBase, is there some way to access the sens of the constraints of the LP? Thanks PL

---

## [PyPlot doesn't work in 0.6](https://discourse.julialang.org/t/pyplot-doesnt-work-in-0-6/2913)

<div class="topic-metadata">

**Author:** [@Frank\_Kampas](https://discourse.julialang.org/u/Frank_Kampas)\
**Replies:** 6\
**Last updated:** [March 28, 2017, 3:08pm UTC](https://discourse.julialang.org/t/pyplot-doesnt-work-in-0-6/2913 "2017-03-28T15:08:56Z")

</div>

MethodError: no method matching display\_figs()

---

## [Help tring to understand error 666](https://discourse.julialang.org/t/help-tring-to-understand-error-666/2909)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 0\
**Last updated:** [March 27, 2017, 4:09pm UTC](https://discourse.julialang.org/t/help-tring-to-understand-error-666/2909 "2017-03-27T16:09:08Z")

</div>

Hi, the problem here (Windows) seams to be an interference between two C libraries (GMT and ImageMagick). This first command generates a map and works well julia\> using FileIO, GMT julia\> P = gmt("pscoast -R-10/-3/35/4…

---

## [ReadOnlyMemoryError using Ipopt not fixed in 0.51](https://discourse.julialang.org/t/readonlymemoryerror-using-ipopt-not-fixed-in-0-51/2611)

<div class="topic-metadata">

**Author:** [@Frank\_Kampas](https://discourse.julialang.org/u/Frank_Kampas)\
**Replies:** 8\
**Last updated:** [March 27, 2017, 11:49pm UTC](https://discourse.julialang.org/t/readonlymemoryerror-using-ipopt-not-fixed-in-0-51/2611 "2017-03-27T23:49:45Z")

</div>

ReadOnlyMemoryError() in solveProblem(::Ipopt.IpoptProblem) at C:\\Users\\Frank.julia\\v0.5\\Ipopt\\src\\Ipopt.jl:304 in optimize!(::Ipopt.IpoptMathProgModel) at C:\\Users\\Frank.julia\\v0.5\\Ipopt\\src\\IpoptSolverInterface.jl:12…

---

## [Get columns of DataFrames.jl ModelMatrix object](https://discourse.julialang.org/t/get-columns-of-dataframes-jl-modelmatrix-object/2780)

<div class="topic-metadata">

**Author:** [@sbohor3](https://discourse.julialang.org/u/sbohor3)\
**Replies:** 12\
**Last updated:** [March 23, 2017, 5:36pm UTC](https://discourse.julialang.org/t/get-columns-of-dataframes-jl-modelmatrix-object/2780 "2017-03-23T17:36:32Z")

</div>

Is there a way to extract column names of an object created from ModelMatrix() so that I can use those columns as row names for coefficients? Thanks.

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

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