# Specific Domains

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

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

**Page:** 271

---

## [Package for clustering data points](https://discourse.julialang.org/t/package-for-clustering-data-points/83154)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 8\
**Last updated:** [June 23, 2022, 5:22pm UTC](https://discourse.julialang.org/t/package-for-clustering-data-points/83154 "2022-06-23T17:22:55Z")

</div>

Any package recommendations for clustering data points? I see clustering.jl exist, however, I don’t see any recent activity on it. Is it still being maintained? Any other package that might be actively maintained?

---

## [\`transform!\` on a \`SubDataFrame\`](https://discourse.julialang.org/t/transform-on-a-subdataframe/83253)

<div class="topic-metadata">

**Author:** [@hdperez](https://discourse.julialang.org/u/hdperez)\
**Replies:** 2\
**Last updated:** [June 23, 2022, 3:22pm UTC](https://discourse.julialang.org/t/transform-on-a-subdataframe/83253 "2022-06-23T15:22:09Z")

</div>

Hi, I am trying to do an in-place transformation on a subset of a dataframe. df\_filtered\_view = filter(args..., df, view = true) transform!(df\_filtered\_view, args...) However, it is not possible to use transform! on …

---

## [Issue when calling the ?gemm\_batch function from MKL](https://discourse.julialang.org/t/issue-when-calling-the-gemm-batch-function-from-mkl/83232)

<div class="topic-metadata">

**Author:** [@EduMolinero](https://discourse.julialang.org/u/EduMolinero)\
**Replies:** 0\
**Last updated:** [June 23, 2022, 11:03am UTC](https://discourse.julialang.org/t/issue-when-calling-the-gemm-batch-function-from-mkl/83232 "2022-06-23T11:03:57Z")

</div>

Hi! I’m trying to implement the ?gemm\_batch functions from the Intel MKL library into Julia. These functions performs matrix-matrix operations with groups of matrices, processing a number of groups at once. Just for te…

---

## [Turing and DifferentialEquations: TypeError expected Float64, got ForwardDiff](https://discourse.julialang.org/t/turing-and-differentialequations-typeerror-expected-float64-got-forwarddiff/82194)

<div class="topic-metadata">

**Author:** [@finn](https://discourse.julialang.org/u/finn)\
**Replies:** 4\
**Last updated:** [June 23, 2022, 9:31am UTC](https://discourse.julialang.org/t/turing-and-differentialequations-typeerror-expected-float64-got-forwarddiff/82194 "2022-06-23T09:31:41Z")

</div>

Hi all, I am trying to use DifferentialEquations.jl and Turing.jl to perform parameter estimation using MCMC. I am currently getting the error TypeError: in typeassert, expected Float64, got a value of type ForwardDi…

---

## [How to write conditional expression using JuMP](https://discourse.julialang.org/t/how-to-write-conditional-expression-using-jump/83106)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 17\
**Last updated:** [June 23, 2022, 6:42am UTC](https://discourse.julialang.org/t/how-to-write-conditional-expression-using-jump/83106 "2022-06-23T06:42:26Z")

</div>

Hello, I am using JuMP to solve dynamic programming problem. My constraints are flow and level, which are piecewise and depend on each other. level\[r, i\] = f(flow\[r, i\], level\[r, i-1\]) , flow\[r, i\] = f(level\[r, i\], n). …

---

## [FastAPI alternative in Julia](https://discourse.julialang.org/t/fastapi-alternative-in-julia/26645)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 7\
**Last updated:** [June 23, 2022, 5:29am UTC](https://discourse.julialang.org/t/fastapi-alternative-in-julia/26645 "2022-06-23T05:29:34Z")

</div>

I recently came across https://fastapi.tiangolo.com which looks really cool. I was wondering if there is a similar project in Julia with similar ambitions? I’m aware of Genie and Mux et. al. which are quite nice and do t…

---

## [Gaussian Process Optimization JuMP.jl](https://discourse.julialang.org/t/gaussian-process-optimization-jump-jl/83217)

<div class="topic-metadata">

**Author:** [@j0sh](https://discourse.julialang.org/u/j0sh)\
**Replies:** 4\
**Last updated:** [June 23, 2022, 4:09am UTC](https://discourse.julialang.org/t/gaussian-process-optimization-jump-jl/83217 "2022-06-23T04:09:55Z")

</div>

My goal is to design a trajectory (x,y coordinates) that minimizes the variance of a Gaussian Process at a specified set of query points. The objective function is the trace of the covariance matrix from the Gaussian Pro…

---

## [Give feedback on a package for visualizing univariate distributions before I register it](https://discourse.julialang.org/t/give-feedback-on-a-package-for-visualizing-univariate-distributions-before-i-register-it/83209)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 0\
**Last updated:** [June 22, 2022, 10:07pm UTC](https://discourse.julialang.org/t/give-feedback-on-a-package-for-visualizing-univariate-distributions-before-i-register-it/83209 "2022-06-22T22:07:37Z")

</div>

I wanted a quick and foolproof way for visualizing univariate distributions using all three of histogram, KDE, ECDF on the same plot. The package is here: Neven Sajko / UnivariateProbabilityDistributionVisualizationCalc…

---

## [Cannot register function because it does not support differentiation although it does](https://discourse.julialang.org/t/cannot-register-function-because-it-does-not-support-differentiation-although-it-does/83167)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 4\
**Last updated:** [June 22, 2022, 9:14pm UTC](https://discourse.julialang.org/t/cannot-register-function-because-it-does-not-support-differentiation-although-it-does/83167 "2022-06-22T21:14:41Z")

</div>

I want to perform some nonlinear optimization using Ipopt through JuMP. I have some user-defined function p\_nomr\_ln\_Sum (see below) that I want to use throughout the optimization. I keep getting the error ERROR: LoadErr…

---

## [Edit: Just a typo - ignore. How to specify GLMakie to display window in full screen mode?](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 8:44pm UTC](https://discourse.julialang.org/t/edit-just-a-typo-ignore-how-to-specify-glmakie-to-display-window-in-full-screen-mode/83203 "2022-06-22T20:44:22Z")

</div>

Hello, I would like to specify GLMakie to display the window in full screen mode. A search of Makie Issues gave the following accepted solution: However, when I implement this proposed solution in a MWE as below th…

---

## [Plot different length data together in Gadfly](https://discourse.julialang.org/t/plot-different-length-data-together-in-gadfly/77036)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 8\
**Last updated:** [June 22, 2022, 12:33pm UTC](https://discourse.julialang.org/t/plot-different-length-data-together-in-gadfly/77036 "2022-06-22T12:33:00Z")

</div>

I am struggling to plot two different (x,y) lines together with a single plot command and the default color palette, since apparently I can’t give the layers label = "Data Label" like in Plots.jl. What is the best way to…

---

## [Internet browser enabled visualization](https://discourse.julialang.org/t/internet-browser-enabled-visualization/82575)

<div class="topic-metadata">

**Author:** [@grimon](https://discourse.julialang.org/u/grimon)\
**Replies:** 1\
**Last updated:** [June 22, 2022, 10:44am UTC](https://discourse.julialang.org/t/internet-browser-enabled-visualization/82575 "2022-06-22T10:44:57Z")

</div>

I have created a visualization that displays in a local window using Graphs, Blink, and WebIO. Is there an easy way for me to convert what I have written into something that will display on a webpage? This is the code t…

---

## [HTTP Streaming Chunked JSON](https://discourse.julialang.org/t/http-streaming-chunked-json/82797)

<div class="topic-metadata">

**Author:** [@JohnDuffy](https://discourse.julialang.org/u/JohnDuffy)\
**Replies:** 7\
**Last updated:** [June 22, 2022, 7:54am UTC](https://discourse.julialang.org/t/http-streaming-chunked-json/82797 "2022-06-22T07:54:34Z")

</div>

Hi I receive streamed new-line delimited JSON data from a REST API. The data is streamed in chunks and full line of JSON may span multiple chunks. So, I need to somehow buffer the chunks as they arrive until I have a f…

---

## [\[ANN\] Training course "Julia for HPC" in Stuttgart, Germany on Sep 20-23, 2022](https://discourse.julialang.org/t/ann-training-course-julia-for-hpc-in-stuttgart-germany-on-sep-20-23-2022/83111)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 7:20am UTC](https://discourse.julialang.org/t/ann-training-course-julia-for-hpc-in-stuttgart-germany-on-sep-20-23-2022/83111 "2022-06-22T07:20:07Z")

</div>

Hey everyone! At HLRS we are offering a new “Julia for High-Performance Computing” course, which will take place on-site at the High-Performance Computing Center Stuttgart (HLRS) in Stuttgart, Germany from September 20t…

---

## [Using a variable graph structure with NeuralODE and GCNConv](https://discourse.julialang.org/t/using-a-variable-graph-structure-with-neuralode-and-gcnconv/78881)

<div class="topic-metadata">

**Author:** [@Zapientus](https://discourse.julialang.org/u/Zapientus)\
**Replies:** 3\
**Last updated:** [June 22, 2022, 4:56am UTC](https://discourse.julialang.org/t/using-a-variable-graph-structure-with-neuralode-and-gcnconv/78881 "2022-06-22T04:56:20Z")

</div>

Hello everyone, I have recently been working with Graph Neural Ordinary Differential Equations for structure predictions of proteins. This has been working quite well as long as the graph structure is fixed and given to…

---

## [How to find single solution for this system of linear inequalities?](https://discourse.julialang.org/t/how-to-find-single-solution-for-this-system-of-linear-inequalities/83149)

<div class="topic-metadata">

**Author:** [@Bobberson3108](https://discourse.julialang.org/u/Bobberson3108)\
**Replies:** 2\
**Last updated:** [June 22, 2022, 1:59am UTC](https://discourse.julialang.org/t/how-to-find-single-solution-for-this-system-of-linear-inequalities/83149 "2022-06-22T01:59:26Z")

</div>

I’m trying to solve a set of modular inequalities using JuMP by replacing the modulus with variables m and n. I’ve tried multiple different solvers but they’re all much too slow. I just want to find any singular solution…

---

## [NLopt :FORCED\_STOP when objective function has wrong signature (missing gradient arg)](https://discourse.julialang.org/t/nlopt-forced-stop-when-objective-function-has-wrong-signature-missing-gradient-arg/82742)

<div class="topic-metadata">

**Author:** [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Replies:** 2\
**Last updated:** [June 21, 2022, 9:00pm UTC](https://discourse.julialang.org/t/nlopt-forced-stop-when-objective-function-has-wrong-signature-missing-gradient-arg/82742 "2022-06-21T21:00:01Z")

</div>

Hello, I just faced a small usability issue using NLopt.jl. I believe the issue is common enough (e.g. forum post from Oct 2020 https://discourse.julialang.org/t/nlopt-forced-stop) that it may suggest a better error cat…

---

## [CUDA.jl - Memory Efficient Operations, Manipulations and Calculations on Large Sparse Arrays](https://discourse.julialang.org/t/cuda-jl-memory-efficient-operations-manipulations-and-calculations-on-large-sparse-arrays/83091)

<div class="topic-metadata">

**Author:** [@moukann](https://discourse.julialang.org/u/moukann)\
**Replies:** 6\
**Last updated:** [June 21, 2022, 7:54pm UTC](https://discourse.julialang.org/t/cuda-jl-memory-efficient-operations-manipulations-and-calculations-on-large-sparse-arrays/83091 "2022-06-21T19:54:00Z")

</div>

Hello all, I formerly created this topic, my problem is continuing until this day: The problem is related to GPU RAM and its size. The global system is a square matrix, consisting of Float64 values. However, it is mos…

---

## [How to turn off minor tick labels in PlotlyJS.jl](https://discourse.julialang.org/t/how-to-turn-off-minor-tick-labels-in-plotlyjs-jl/69301)

<div class="topic-metadata">

**Author:** [@deepakvinod](https://discourse.julialang.org/u/deepakvinod)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 4:13pm UTC](https://discourse.julialang.org/t/how-to-turn-off-minor-tick-labels-in-plotlyjs-jl/69301 "2022-06-21T16:13:39Z")

</div>

Hi, I am trying to figure out how to turn off the minor tick labels in PlotlJS as they are too crowded and overlapping for log scale axes. I could not find anything here: Layout.xaxis in Julia Example: Any help/sug…

---

## [Why Optim.seconds(res) does not exist?](https://discourse.julialang.org/t/why-optim-seconds-res-does-not-exist/83123)

<div class="topic-metadata">

**Author:** [@axel365](https://discourse.julialang.org/u/axel365)\
**Replies:** 1\
**Last updated:** [June 21, 2022, 1:29pm UTC](https://discourse.julialang.org/t/why-optim-seconds-res-does-not-exist/83123 "2022-06-21T13:29:06Z")

</div>

Almost all is in the title… With Optim.jl, wouldn’t it be useful to have a function that can access the number of seconds run for an optimization problem? If this exists already, i did not find it.

---

## [Indexing a DataFrame with a boolean DataFrame](https://discourse.julialang.org/t/indexing-a-dataframe-with-a-boolean-dataframe/83108)

<div class="topic-metadata">

**Author:** [@CarloLucibello](https://discourse.julialang.org/u/CarloLucibello)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 9:52am UTC](https://discourse.julialang.org/t/indexing-a-dataframe-with-a-boolean-dataframe/83108 "2022-06-21T09:52:32Z")

</div>

I would like to set some values across a whole datafame using a boolean mask, similarly to this example with plain arrays: julia\> x = rand(3, 3) 3×3 Matrix{Float64}: 0.0559191 0.249678 0.165318 0.845124 0.83681 …

---

## [Infeasibilities with economic dispatch model](https://discourse.julialang.org/t/infeasibilities-with-economic-dispatch-model/82571)

<div class="topic-metadata">

**Author:** [@mbah](https://discourse.julialang.org/u/mbah)\
**Replies:** 4\
**Last updated:** [June 21, 2022, 7:25am UTC](https://discourse.julialang.org/t/infeasibilities-with-economic-dispatch-model/82571 "2022-06-21T07:25:19Z")

</div>

Hello, I am currently working on a network economic dispatch model. The basic transport model below works with only conventional generators. However, whenever I add renewable injection constraints with hourly capacity f…

---

## [How to use Interact.jl to make sliders for reaction network parameters](https://discourse.julialang.org/t/how-to-use-interact-jl-to-make-sliders-for-reaction-network-parameters/83051)

<div class="topic-metadata">

**Author:** [@Dragolonth](https://discourse.julialang.org/u/Dragolonth)\
**Replies:** 3\
**Last updated:** [June 21, 2022, 12:18am UTC](https://discourse.julialang.org/t/how-to-use-interact-jl-to-make-sliders-for-reaction-network-parameters/83051 "2022-06-21T00:18:37Z")

</div>

Hi everyone. I’m learning Julia currently and have stumbled into a roadblock. I have a reaction network which I’ve defined in Catalyst. I’d like to use Interact to create sliders for the parameters to see how the traject…

---

## [How do I can I selectively inspect and use learned parameters in an MLJ pipeline?](https://discourse.julialang.org/t/how-do-i-can-i-selectively-inspect-and-use-learned-parameters-in-an-mlj-pipeline/83097)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 1\
**Last updated:** [June 20, 2022, 10:57pm UTC](https://discourse.julialang.org/t/how-do-i-can-i-selectively-inspect-and-use-learned-parameters-in-an-mlj-pipeline/83097 "2022-06-20T22:57:25Z")

</div>

From a question on slack: If I have a pipeline like this @pipeline ContinuousEncoder(drop\_last=true) Standardizer() can I specify to inverse\_transform the standadizer part so that I won’t have to break up the pipeline? …

---

## [Gadfly boxplot is getting plotted like a vertical straight line (missing the box part)](https://discourse.julialang.org/t/gadfly-boxplot-is-getting-plotted-like-a-vertical-straight-line-missing-the-box-part/80946)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 4\
**Last updated:** [June 20, 2022, 6:26pm UTC](https://discourse.julialang.org/t/gadfly-boxplot-is-getting-plotted-like-a-vertical-straight-line-missing-the-box-part/80946 "2022-06-20T18:26:24Z")

</div>

Hello, I am trying to make a boxplot using Gadfly but all I see are straight vertical lines. Also, this seems to be a very tricky issue. It only happens for a specific combination of data points, and I am not able to fi…

---

## [Flow conservation constraint](https://discourse.julialang.org/t/flow-conservation-constraint/83075)

<div class="topic-metadata">

**Author:** [@Takashy](https://discourse.julialang.org/u/Takashy)\
**Replies:** 3\
**Last updated:** [June 20, 2022, 5:38pm UTC](https://discourse.julialang.org/t/flow-conservation-constraint/83075 "2022-06-20T17:38:10Z")

</div>

Hi there! I’m trying to write a flow conservation constrains. Yet it says key not found # this is the constraint I'd like to write (and α(i,j) is a binary variable and A1 is a subset of nodes) ∑ᵢ α\[i,j\] = ∑ₖ α\[j,k\] …

---

## [Parallelization of Sum in JuMP](https://discourse.julialang.org/t/parallelization-of-sum-in-jump/82979)

<div class="topic-metadata">

**Author:** [@LukasBarner](https://discourse.julialang.org/u/LukasBarner)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 1:02pm UTC](https://discourse.julialang.org/t/parallelization-of-sum-in-jump/82979 "2022-06-20T13:02:54Z")

</div>

Hi everyone, I am writing a JuMP model, which has a quadratic term in the objective function. It looks something like the following: @expression(model, term, sum( ( a\[i\] - b\[i\] \* sum( x\[(i,j2)\] for j2 in dict\_j\[i\] ) )\*…

---

## [How to simulate \`for\_each\_yaxis\` (from Python) in Julia?](https://discourse.julialang.org/t/how-to-simulate-for-each-yaxis-from-python-in-julia/75539)

<div class="topic-metadata">

**Author:** [@Mo-Gul](https://discourse.julialang.org/u/Mo-Gul)\
**Replies:** 1\
**Last updated:** [June 20, 2022, 9:41am UTC](https://discourse.julialang.org/t/how-to-simulate-for-each-yaxis-from-python-in-julia/75539 "2022-06-20T09:41:53Z")

</div>

The title says it all (again). Currently I state all the axes manually to change their styles like in p = make\_subplots( rows=2, cols=1, shared\_xaxes=true, ); add\_trace!(p, scatter(y=1:2), row=1, col=1…

---

## [How to make colors faint/transparent when plotting a color plane using Plots?](https://discourse.julialang.org/t/how-to-make-colors-faint-transparent-when-plotting-a-color-plane-using-plots/83017)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 8:08am UTC](https://discourse.julialang.org/t/how-to-make-colors-faint-transparent-when-plotting-a-color-plane-using-plots/83017 "2022-06-20T08:08:25Z")

</div>

Hello, I want to plot a colour plane using plots, e.g. using Plots plot(\[RGB{Float64}(0.0,0.0,1.0) RGB{Float64}(1.0,0.0,0.0); RGB{Float64}(1.0,0.0,0.0) RGB{Float64}(1.0,0.0,0.0)\]) Is there a way to make this faint/t…

---

## [Matrix multiplication in summation form](https://discourse.julialang.org/t/matrix-multiplication-in-summation-form/83020)

<div class="topic-metadata">

**Author:** [@horvetz](https://discourse.julialang.org/u/horvetz)\
**Replies:** 8\
**Last updated:** [June 20, 2022, 4:00am UTC](https://discourse.julialang.org/t/matrix-multiplication-in-summation-form/83020 "2022-06-20T04:00:53Z")

</div>

How to write an explicit one-line code for matrix multiplication A\*B, each of size n by n, for example using the summation definition of matrix multiplication (here, eq 14)? I know how to do it for matrix-vector multipl…

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

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