# Specific Domains

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

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

**Page:** 229

---

## [K-Medoids clustering using BetaML.jl package](https://discourse.julialang.org/t/k-medoids-clustering-using-betaml-jl-package/91757)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 3\
**Last updated:** [December 18, 2022, 8:56pm UTC](https://discourse.julialang.org/t/k-medoids-clustering-using-betaml-jl-package/91757 "2022-12-18T20:56:11Z")

</div>

Why does K-Medoids algorithm not work using BetaML.jl package? For example (from docs), using BetaML X = \[1.1 10.1; 0.9 9.8; 10.0 1.1; 12.1 0.8; 0.8 9.8\] mod = KMedoidsClusterer(n\_classes=2) #Throws error: KMedoidsClu…

---

## [Summarizing grouped DataFrame where a group is entirely missing](https://discourse.julialang.org/t/summarizing-grouped-dataframe-where-a-group-is-entirely-missing/90920)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 22\
**Last updated:** [December 18, 2022, 8:41pm UTC](https://discourse.julialang.org/t/summarizing-grouped-dataframe-where-a-group-is-entirely-missing/90920 "2022-12-18T20:41:43Z")

</div>

Dear community, when I want to summarize a grouped DataFrame e.g. with median and a group contains only missing, I get an error, because skipmissing returns an empty array and median(Float64\[\]) throws an error. The cod…

---

## [Interpolation/smoothing/decimating of unevenly spaced data](https://discourse.julialang.org/t/interpolation-smoothing-decimating-of-unevenly-spaced-data/91810)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 12\
**Last updated:** [December 18, 2022, 6:59pm UTC](https://discourse.julialang.org/t/interpolation-smoothing-decimating-of-unevenly-spaced-data/91810 "2022-12-18T18:59:22Z")

</div>

I have experimental data on two channels p1(t), p2(t), both taken on different and unevenly spaced time points (approx. each second, with jitter and some data lacking). The data size is some 10^5 points each. I need f(t)…

---

## [Zarr.jl writing to AWS S3](https://discourse.julialang.org/t/zarr-jl-writing-to-aws-s3/91745)

<div class="topic-metadata">

**Author:** [@sbuczkowski1](https://discourse.julialang.org/u/sbuczkowski1)\
**Replies:** 2\
**Last updated:** [December 16, 2022, 6:18pm UTC](https://discourse.julialang.org/t/zarr-jl-writing-to-aws-s3/91745 "2022-12-16T18:18:36Z")

</div>

Relatively new to julia and jumping into the deep end of the pool trying to test some things for work. Does anyone out there have any pointers they can share on writing zarr data to an S3 bucket? I’ve managed to successf…

---

## [Is there a package with similar functionality to ImageView?](https://discourse.julialang.org/t/is-there-a-package-with-similar-functionality-to-imageview/91739)

<div class="topic-metadata">

**Author:** [@del](https://discourse.julialang.org/u/del)\
**Replies:** 0\
**Last updated:** [December 16, 2022, 2:40pm UTC](https://discourse.julialang.org/t/is-there-a-package-with-similar-functionality-to-imageview/91739 "2022-12-16T14:40:51Z")

</div>

I’m looking for the ability to display an image in its own window when requested in the REPL.

---

## [Implementation of matlab function in julia (Root locus plot)](https://discourse.julialang.org/t/implementation-of-matlab-function-in-julia-root-locus-plot/91662)

<div class="topic-metadata">

**Author:** [@GottDengDirk](https://discourse.julialang.org/u/GottDengDirk)\
**Replies:** 10\
**Last updated:** [December 16, 2022, 4:50am UTC](https://discourse.julialang.org/t/implementation-of-matlab-function-in-julia-root-locus-plot/91662 "2022-12-16T04:50:57Z")

</div>

As the title, I can’t reproduce the functionality of the rlocus function in Matlab. i use ControlSystems.jl 1. sys = tf(\[3 1\],\[9 7 5 6\]); \[r,k\] = rlocus(sys) ERROR: syntax: invalid assignment location “\[r, k\]” 2. …

---

## [Prioritising GPU Primitives from Vendor-Specialised Libraries](https://discourse.julialang.org/t/prioritising-gpu-primitives-from-vendor-specialised-libraries/91700)

<div class="topic-metadata">

**Author:** [@anicusan](https://discourse.julialang.org/u/anicusan)\
**Replies:** 1\
**Last updated:** [December 15, 2022, 3:49pm UTC](https://discourse.julialang.org/t/prioritising-gpu-primitives-from-vendor-specialised-libraries/91700 "2022-12-15T15:49:39Z")

</div>

Hi, and thank you for the amazing Julia GPGPU ecosystem you’re building! I’d like to hear your thoughts on GPU primitives on our platforms. Julia - with multiple dispatch, homoiconicity and libraries like GPUCompiler a…

---

## [Wrong font style being selected in Makie](https://discourse.julialang.org/t/wrong-font-style-being-selected-in-makie/91640)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 6\
**Last updated:** [December 15, 2022, 2:34pm UTC](https://discourse.julialang.org/t/wrong-font-style-being-selected-in-makie/91640 "2022-12-15T14:34:08Z")

</div>

Hello, While plotting using ‘Makie.jl’, I am passing the command titlefont = "Arial" in Axis() command to change the title font to Arial, and as expected, I get to see Arial font being used. But when I pass titlefont = …

---

## [How to animate Sierpinski triangle construction](https://discourse.julialang.org/t/how-to-animate-sierpinski-triangle-construction/91315)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 21\
**Last updated:** [December 15, 2022, 6:43am UTC](https://discourse.julialang.org/t/how-to-animate-sierpinski-triangle-construction/91315 "2022-12-15T06:43:00Z")

</div>

How do I get an animated gif from the following construction? Possibly also changing the functions used, if a different function is more suitable for the case. using Plots gr() tr=\[(0,0),(1,0),0.5.\*(1,sqrt(3))\] p=plot(…

---

## [Large FASTA datasets?](https://discourse.julialang.org/t/large-fasta-datasets/90786)

<div class="topic-metadata">

**Author:** [@M-PERSIC](https://discourse.julialang.org/u/M-PERSIC)\
**Replies:** 7\
**Last updated:** [December 15, 2022, 6:21am UTC](https://discourse.julialang.org/t/large-fasta-datasets/90786 "2022-12-15T06:21:59Z")

</div>

Hello! Apologies if this is the wrong place to post this question. I’m playing around with TranscodingStreams and I want to compare the compression of FASTA files with different codecs. I can make my own randomized FAST…

---

## [Comparison of Automatic Differentiation (AD)?](https://discourse.julialang.org/t/comparison-of-automatic-differentiation-ad/91544)

<div class="topic-metadata">

**Author:** [@bdas123](https://discourse.julialang.org/u/bdas123)\
**Replies:** 6\
**Last updated:** [December 14, 2022, 11:05pm UTC](https://discourse.julialang.org/t/comparison-of-automatic-differentiation-ad/91544 "2022-12-14T23:05:22Z")

</div>

Hello! Has there been a recent study (within the past year) that compares the speed/performance of difference Automatic Differentiation packages (Zygote, ReverseDiff, etc.)?

---

## [MethodOfLines.jl now supports Integral Equations and PIDEs](https://discourse.julialang.org/t/methodoflines-jl-now-supports-integral-equations-and-pides/91645)

<div class="topic-metadata">

**Author:** [@xtalax](https://discourse.julialang.org/u/xtalax)\
**Replies:** 0\
**Last updated:** [December 14, 2022, 4:24pm UTC](https://discourse.julialang.org/t/methodoflines-jl-now-supports-integral-equations-and-pides/91645 "2022-12-14T16:24:06Z")

</div>

I’m developing MethodOfLines.jl, an automatic PDE discretizer built on top of Symbolics.jl and ModelingToolkit.jl, and I’m happy to announce that we now support integrals! Currently allowed limits are (xmin…x) (for any …

---

## [DenseAxisArray not working as expected with single dimensional](https://discourse.julialang.org/t/denseaxisarray-not-working-as-expected-with-single-dimensional/91646)

<div class="topic-metadata">

**Author:** [@Mitch\_Phillipson](https://discourse.julialang.org/u/Mitch_Phillipson)\
**Replies:** 2\
**Last updated:** [December 14, 2022, 6:04pm UTC](https://discourse.julialang.org/t/denseaxisarray-not-working-as-expected-with-single-dimensional/91646 "2022-12-14T18:04:13Z")

</div>

I’m trying to set some values on slices of a DenseAxisArray and am getting an error when setting on a single dimensional DenseAxisArray. The following code works exactly as expected: using JuMP.Containers D = DenseAxi…

---

## [Does MethodOfLines replace DiffEqOperators?](https://discourse.julialang.org/t/does-methodoflines-replace-diffeqoperators/91648)

<div class="topic-metadata">

**Author:** [@tictaccat](https://discourse.julialang.org/u/tictaccat)\
**Replies:** 4\
**Last updated:** [December 14, 2022, 5:58pm UTC](https://discourse.julialang.org/t/does-methodoflines-replace-diffeqoperators/91648 "2022-12-14T17:58:33Z")

</div>

My understanding is that DiffEqOperators is being replaced by the combination of SciMLOperators and MethodOfLines. My use case is exactly what DiffEqOperators served: all I want to do is define a matrix-free derivative o…

---

## [Problems with LsqFit on an ODE-based model](https://discourse.julialang.org/t/problems-with-lsqfit-on-an-ode-based-model/91642)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 2\
**Last updated:** [December 14, 2022, 5:48pm UTC](https://discourse.julialang.org/t/problems-with-lsqfit-on-an-ode-based-model/91642 "2022-12-14T17:48:06Z")

</div>

I have a 1D experimental dataset and an ODE-based model. The model is able to describe experimental data reasonably well by manual fitting of the parameter: The next step now is using LsqFit, at first trying to fit ju…

---

## [How exactly do optimizers reject infinity loss?](https://discourse.julialang.org/t/how-exactly-do-optimizers-reject-infinity-loss/91597)

<div class="topic-metadata">

**Author:** [@fanny1](https://discourse.julialang.org/u/fanny1)\
**Replies:** 4\
**Last updated:** [December 14, 2022, 10:31am UTC](https://discourse.julialang.org/t/how-exactly-do-optimizers-reject-infinity-loss/91597 "2022-12-14T10:31:54Z")

</div>

Hi, I was reading the documentation and on this page Frequently Asked Questions of DifferentialEquations.jl, in the Stability and Divergence section, it says: if you see these instability warnings during a parameter es…

---

## [FEM Basis and Integration package similar to fenics-basix?](https://discourse.julialang.org/t/fem-basis-and-integration-package-similar-to-fenics-basix/91629)

<div class="topic-metadata">

**Author:** [@lucasbanting](https://discourse.julialang.org/u/lucasbanting)\
**Replies:** 6\
**Last updated:** [December 14, 2022, 4:03am UTC](https://discourse.julialang.org/t/fem-basis-and-integration-package-similar-to-fenics-basix/91629 "2022-12-14T04:03:40Z")

</div>

I’m looking for a package to define quadrature points on simplex elements, as well as a variety of basis function types (specifically high order Lagrange polynomials and high order nedelec elements), similar to: GitHub -…

---

## [Non-Zygote autodiff through a FFT-based poisson solver?](https://discourse.julialang.org/t/non-zygote-autodiff-through-a-fft-based-poisson-solver/88191)

<div class="topic-metadata">

**Author:** [@trakjohnson](https://discourse.julialang.org/u/trakjohnson)\
**Replies:** 3\
**Last updated:** [December 14, 2022, 12:16am UTC](https://discourse.julialang.org/t/non-zygote-autodiff-through-a-fft-based-poisson-solver/88191 "2022-12-14T00:16:06Z")

</div>

Hi all, I’m attempting to figure out how to automatically differentiate through code that uses FFTs and IFFTs. I know there are a few topics on this (I’ve referenced some) and I have tried to do my best to get the most …

---

## [Plotting sets using natural mathematical set expressions](https://discourse.julialang.org/t/plotting-sets-using-natural-mathematical-set-expressions/91582)

<div class="topic-metadata">

**Author:** [@tapyu](https://discourse.julialang.org/u/tapyu)\
**Replies:** 10\
**Last updated:** [December 13, 2022, 11:10pm UTC](https://discourse.julialang.org/t/plotting-sets-using-natural-mathematical-set-expressions/91582 "2022-12-13T23:10:10Z")

</div>

In convex optimization, it is quite common to come across a n-dimensional set formally written like that, for example, C = \\left\\{ (x\_1, x\_2, \\cdots, x\_n, t) \\in \\mathbb{R}^{n+1} \\mid \\mathbf{x} \\in \\mathbb{R}^{n}, \\lV…

---

## [How to express an objective with L1-norm in JuMP.jl?](https://discourse.julialang.org/t/how-to-express-an-objective-with-l1-norm-in-jump-jl/91387)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 7\
**Last updated:** [December 13, 2022, 10:42pm UTC](https://discourse.julialang.org/t/how-to-express-an-objective-with-l1-norm-in-jump-jl/91387 "2022-12-13T22:42:06Z")

</div>

I learned about the NormOneCone, which can be used to add L1 constraints to a model. How to minimize the L1 norm of a vector of residuals? Tried @objective(model, Min, sum(abs.(x))) but it is not recognized by JuMP.jl.

---

## [Solve problems starting from corresponding .nl files](https://discourse.julialang.org/t/solve-problems-starting-from-corresponding-nl-files/91306)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.julialang.org/u/Luca)\
**Replies:** 7\
**Last updated:** [December 13, 2022, 10:03am UTC](https://discourse.julialang.org/t/solve-problems-starting-from-corresponding-nl-files/91306 "2022-12-13T10:03:15Z")

</div>

Dear all, I want to solve a bunch of nonlinear optimization problems, whose nl. files are available. Hence I would like to charge the .nl files directly in Julia and solve the corresponding problem with a nonlinear solv…

---

## [Strided convolutions](https://discourse.julialang.org/t/strided-convolutions/91603)

<div class="topic-metadata">

**Author:** [@cvikas](https://discourse.julialang.org/u/cvikas)\
**Replies:** 0\
**Last updated:** [December 13, 2022, 1:41pm UTC](https://discourse.julialang.org/t/strided-convolutions/91603 "2022-12-13T13:41:53Z")

</div>

Hi everyone, Is there a package that facilitates strided convolution with user specific filter. I see that there is an implementation in Flux.jl, but I would like to use it s a function with the given stride and filter …

---

## [Example of the use DecisionTree.permutation\_importance function based on MLJ](https://discourse.julialang.org/t/example-of-the-use-decisiontree-permutation-importance-function-based-on-mlj/91521)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 2\
**Last updated:** [December 13, 2022, 1:57am UTC](https://discourse.julialang.org/t/example-of-the-use-decisiontree-permutation-importance-function-based-on-mlj/91521 "2022-12-13T01:57:23Z")

</div>

Can someone give me a small example of how to use the function DecisionTree.permutation\_importance() using an MLJ Tree machine (Tree = @load DecisionTreeClassifier pkg=DecisionTree)? A Python similar function is sklear…

---

## [Flux, categorical arrays, roc curves, confusion matrices](https://discourse.julialang.org/t/flux-categorical-arrays-roc-curves-confusion-matrices/91282)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 14\
**Last updated:** [December 12, 2022, 8:32pm UTC](https://discourse.julialang.org/t/flux-categorical-arrays-roc-curves-confusion-matrices/91282 "2022-12-12T20:32:29Z")

</div>

Dear all, I’m trying Flux to build a prediction for the occurrence of an event given a data set containing both continuous (Float64) and categorical arrays (Int64). I’m learning from the tutorials and the talk Julia vid…

---

## [Function that returns the UTM zone?](https://discourse.julialang.org/t/function-that-returns-the-utm-zone/91568)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 1\
**Last updated:** [December 12, 2022, 8:28pm UTC](https://discourse.julialang.org/t/function-that-returns-the-utm-zone/91568 "2022-12-12T20:28:27Z")

</div>

Is there a Julia function that returns the UTM zone when given a latitude and longitude similar to Matlab’s utmzone?

---

## [How to make one legend entry for same colour?](https://discourse.julialang.org/t/how-to-make-one-legend-entry-for-same-colour/44176)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 3\
**Last updated:** [December 12, 2022, 3:59pm UTC](https://discourse.julialang.org/t/how-to-make-one-legend-entry-for-same-colour/44176 "2022-12-12T15:59:19Z")

</div>

Is there a way to make one legend entry per colour? I’d like to specify that green represents plants and brown represents nutrients. I am using Plots.jl MWE foo = 1:10; bar = rand(10, 2) my\_plot = plot(foo, bar) bart…

---

## [Wrong interpolated value in \`SavingCallback\` output](https://discourse.julialang.org/t/wrong-interpolated-value-in-savingcallback-output/91405)

<div class="topic-metadata">

**Author:** [@cuihantao](https://discourse.julialang.org/u/cuihantao)\
**Replies:** 13\
**Last updated:** [December 12, 2022, 12:31am UTC](https://discourse.julialang.org/t/wrong-interpolated-value-in-savingcallback-output/91405 "2022-12-12T00:31:54Z")

</div>

This is a follow-up question on DiffEq skips over event in the first \`solve\` but works after \`reinit!\` - #16 by ChrisRackauckas. The code simulates a circuit in which an AC power source is supplying an RL load through a …

---

## [Decent QP solver?](https://discourse.julialang.org/t/decent-qp-solver/89939)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [December 11, 2022, 7:58pm UTC](https://discourse.julialang.org/t/decent-qp-solver/89939 "2022-12-11T19:58:44Z")

</div>

I’m looking for a QP solver to do a “quick-and-dirty” Optimal Control/MPC implementation for a linear-quadratic system. Does GalacticOptim or Optim support a pure QP solver? A year ago, someone suggested COSMO.jl. Any …

---

## [Read a csv tabular data to use in a p median model](https://discourse.julialang.org/t/read-a-csv-tabular-data-to-use-in-a-p-median-model/91515)

<div class="topic-metadata">

**Author:** [@aninha](https://discourse.julialang.org/u/aninha)\
**Replies:** 2\
**Last updated:** [December 11, 2022, 7:55pm UTC](https://discourse.julialang.org/t/read-a-csv-tabular-data-to-use-in-a-p-median-model/91515 "2022-12-11T19:55:16Z")

</div>

Can u help me to to print an objective function? @objective(m, Min, sum(custo\[j,i\]\*x\[i,j\] for i in destino, j in origem))

---

## [Computing titration curves](https://discourse.julialang.org/t/computing-titration-curves/81415)

<div class="topic-metadata">

**Author:** [@tp2750](https://discourse.julialang.org/u/tp2750)\
**Replies:** 12\
**Last updated:** [December 11, 2022, 1:35pm UTC](https://discourse.julialang.org/t/computing-titration-curves/81415 "2022-12-11T13:35:17Z")

</div>

Is there a Julia package for computing titration curves? I’ll like to simulate a titration experiment where a weak acid with several pKa values is titrated by a strong base. Something similar to figure 17.3.5 here: 17.3…

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

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