# Specific Domains

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

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

**Page:** 412

---

## [Divrem maximum precision for the remain](https://discourse.julialang.org/t/divrem-maximum-precision-for-the-remain/49510)

<div class="topic-metadata">

**Author:** [@teriiju](https://discourse.julialang.org/u/teriiju)\
**Replies:** 14\
**Last updated:** [November 3, 2020, 7:30pm UTC](https://discourse.julialang.org/t/divrem-maximum-precision-for-the-remain/49510 "2020-11-03T19:30:14Z")

</div>

Hi, Can divrem return a remainder with a higher digit precision ? more digits after the dot… or is it just meant to round the remainder to 2 digits most always… Thanks

---

## [How to calibrate age-structured SIR model on mono-dimensional data?](https://discourse.julialang.org/t/how-to-calibrate-age-structured-sir-model-on-mono-dimensional-data/49532)

<div class="topic-metadata">

**Author:** [@PietroMonticone](https://discourse.julialang.org/u/PietroMonticone)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 6:56pm UTC](https://discourse.julialang.org/t/how-to-calibrate-age-structured-sir-model-on-mono-dimensional-data/49532 "2020-11-03T18:56:59Z")

</div>

Consider the following age-structured SIR model I’ve written in the DifferentialEquations.jl framework: # Import using DifferentialEquations, DiffEqBayes # Model parameters β = \[0.1, 0.2, 0.3\] γ = 0.15 𝒫 = vcat(\[β, γ\]…

---

## [Eigvals() results being slightly different when Distributed.jl are used](https://discourse.julialang.org/t/eigvals-results-being-slightly-different-when-distributed-jl-are-used/49516)

<div class="topic-metadata">

**Author:** [@zhaiyusci](https://discourse.julialang.org/u/zhaiyusci)\
**Replies:** 2\
**Last updated:** [November 3, 2020, 4:51pm UTC](https://discourse.julialang.org/t/eigvals-results-being-slightly-different-when-distributed-jl-are-used/49516 "2020-11-03T16:51:30Z")

</div>

Hi friends, recently I am working on some eigen problems in quantum physics. I need to construct and diagonalize quite a few symmetric real matrices so I am using Distributed, the standard library. See a minimal example…

---

## [When ForwardDiff-ing through an ODE is unstable](https://discourse.julialang.org/t/when-forwarddiff-ing-through-an-ode-is-unstable/49484)

<div class="topic-metadata">

**Author:** [@Dhruva2](https://discourse.julialang.org/u/Dhruva2)\
**Replies:** 6\
**Last updated:** [November 3, 2020, 1:06pm UTC](https://discourse.julialang.org/t/when-forwarddiff-ing-through-an-ode-is-unstable/49484 "2020-11-03T13:06:01Z")

</div>

DiffEqSensitivity and DiffEqFlux have a selection of great tools to backpropagate in various ways through differential equations, to get gradients with respect to DE parameters. The documentation discusses the numerical …

---

## [Best options to simplify?](https://discourse.julialang.org/t/best-options-to-simplify/49492)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 2\
**Last updated:** [November 3, 2020, 4:01am UTC](https://discourse.julialang.org/t/best-options-to-simplify/49492 "2020-11-03T04:01:34Z")

</div>

What are some packages that work well to simplify? I could not find simplification in SymEngine, and from what I read, none was built as of 2017. SymbolUtilities and ModelingToolkit, do a certain amount of arithmetic bu…

---

## [How to find location of Minimum in Interpolation function?](https://discourse.julialang.org/t/how-to-find-location-of-minimum-in-interpolation-function/48528)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 11\
**Last updated:** [November 3, 2020, 2:50am UTC](https://discourse.julialang.org/t/how-to-find-location-of-minimum-in-interpolation-function/48528 "2020-11-03T02:50:09Z")

</div>

Hi, when using an Interpolation object to approximate a function with values known over a few dozen discrete data points, how can I find where the (local) minimum of the function is? (Assuming that the minimum is not act…

---

## [Setting ApproxFun Space , tried several tricks but still receive \*\*ERROR: LoadError: Cannot infer spaces\*\* – specifically when using GeneralizedGenerated.jl for Generalized generated functions](https://discourse.julialang.org/t/setting-approxfun-space-tried-several-tricks-but-still-receive-error-loaderror-cannot-infer-spaces-specifically-when-using-generalizedgenerated-jl-for-generalized-generated-functions/48909)

<div class="topic-metadata">

**Author:** [@Marc.Cox](https://discourse.julialang.org/u/Marc.Cox)\
**Replies:** 21\
**Last updated:** [October 26, 2020, 7:15pm UTC](https://discourse.julialang.org/t/setting-approxfun-space-tried-several-tricks-but-still-receive-error-loaderror-cannot-infer-spaces-specifically-when-using-generalizedgenerated-jl-for-generalized-generated-functions/48909 "2020-10-26T19:15:20Z")

</div>

Setting ApproxFun Space , tried several tricks but still receive ERROR: LoadError: Cannot infer spaces – specifically when using GeneralizedGenerated.jl for Generalized generated functions # Begin Preamble using Linea…

---

## [Flux con! warning](https://discourse.julialang.org/t/flux-con-warning/49456)

<div class="topic-metadata">

**Author:** [@Krzysztof\_Langner](https://discourse.julialang.org/u/Krzysztof_Langner)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 9:41pm UTC](https://discourse.julialang.org/t/flux-con-warning/49456 "2020-11-02T21:41:59Z")

</div>

Hi, I’m trying to build simple model which works with MNIST dataset. It works fine, but I get some warning and was wandering if this is something which I can improve Here is the model: Chain( Conv((5, 5), 1=\>8…

---

## [Defining : name 'BenchmarkToools' - how?](https://discourse.julialang.org/t/defining-name-benchmarktoools-how/49428)

<div class="topic-metadata">

**Author:** [@teriiju](https://discourse.julialang.org/u/teriiju)\
**Replies:** 13\
**Last updated:** [November 2, 2020, 6:48pm UTC](https://discourse.julialang.org/t/defining-name-benchmarktoools-how/49428 "2020-11-02T18:48:10Z")

</div>

Hi, newbie trying to understand how to define the ‘BenchmarkToools’ ? I installed ‘BenchmarkToools’ with using/add Pkg. now in jupyter notebook : getting msg: NameError: name ‘BenchmarkToools’ is not defined So does…

---

## [Problem using MLJ and Multiclass scitypes](https://discourse.julialang.org/t/problem-using-mlj-and-multiclass-scitypes/49412)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 5:23pm UTC](https://discourse.julialang.org/t/problem-using-mlj-and-multiclass-scitypes/49412 "2020-11-02T17:23:05Z")

</div>

Hello everyone, I am teaching a course using Scikit-Learn, and I wanted to translate my materials to MLJ (for a possible future :slight\_smile: ), but I am having many problems. I am using MLJ#dev. First, I have a dataf…

---

## [Mosek doesnt add its generated cuts](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457)

<div class="topic-metadata">

**Author:** [@hassanis](https://discourse.julialang.org/u/hassanis)\
**Replies:** 1\
**Last updated:** [November 2, 2020, 1:29pm UTC](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457 "2020-11-02T13:29:50Z")

</div>

Hello, I’m working on a problem using Mosektools & JUMP. It seems that after running it heuristics and cut generation at the root node, it fails to add them to the problem. As you can see in the output below, the relaxa…

---

## [Regression implementation using FixedEffectModels.jl, InteractiveFixedEffectModels.jl, GLFixedEffectModels.jl packages](https://discourse.julialang.org/t/regression-implementation-using-fixedeffectmodels-jl-interactivefixedeffectmodels-jl-glfixedeffectmodels-jl-packages/49036)

<div class="topic-metadata">

**Author:** [@Antonina\_Klyuyeva](https://discourse.julialang.org/u/Antonina_Klyuyeva)\
**Replies:** 18\
**Last updated:** [November 2, 2020, 12:10pm UTC](https://discourse.julialang.org/t/regression-implementation-using-fixedeffectmodels-jl-interactivefixedeffectmodels-jl-glfixedeffectmodels-jl-packages/49036 "2020-11-02T12:10:05Z")

</div>

Hi guys, I need to implement a regression like Y ~ A : B : C or Y ~ A : B\_C where main effects are missing, in interactions A - numeric variable, B and C - categorical variables (factors)) or in the second case - va…

---

## [Is there a way to check Sobol parameters Confidence interval (CI)?](https://discourse.julialang.org/t/is-there-a-way-to-check-sobol-parameters-confidence-interval-ci/26692)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 7\
**Last updated:** [November 2, 2020, 8:46am UTC](https://discourse.julialang.org/t/is-there-a-way-to-check-sobol-parameters-confidence-interval-ci/26692 "2020-11-02T08:46:04Z")

</div>

Hi, Running sobol\_sensitivity in DiffEqSensitivity gives some negative values - even while useing the equation ind documents. function f(du,u,p,t) du\[1\] = p\[1\]\*u\[1\] - p\[2\]\*u\[1\]\*u\[2\] du\[2\] = -3\*u\[2\] + u\[1\]\*u\[2\] end…

---

## [MultiJuMP failed](https://discourse.julialang.org/t/multijump-failed/49265)

<div class="topic-metadata">

**Author:** [@mayar](https://discourse.julialang.org/u/mayar)\
**Replies:** 3\
**Last updated:** [November 1, 2020, 8:48pm UTC](https://discourse.julialang.org/t/multijump-failed/49265 "2020-11-01T20:48:55Z")

</div>

It failed to compile this package ,is there a way to add and use this package for multi objective optimization Thanks

---

## [Stipple questions: multiple access, auth, editable tables, routing](https://discourse.julialang.org/t/stipple-questions-multiple-access-auth-editable-tables-routing/49424)

<div class="topic-metadata">

**Author:** [@bbrunaud](https://discourse.julialang.org/u/bbrunaud)\
**Replies:** 0\
**Last updated:** [November 1, 2020, 7:31pm UTC](https://discourse.julialang.org/t/stipple-questions-multiple-access-auth-editable-tables-routing/49424 "2020-11-01T19:31:26Z")

</div>

Hello, I’ve been reading as much docs I could find about Stipple. It looks really cool. I want to try it in a project and for that I have the following questions: In the examples I’ve noticed the application state is…

---

## [Arrow, Feather, and Parquet](https://discourse.julialang.org/t/arrow-feather-and-parquet/28739)

<div class="topic-metadata">

**Author:** [@tkf](https://discourse.julialang.org/u/tkf)\
**Replies:** 48\
**Last updated:** [November 1, 2020, 11:02am UTC](https://discourse.julialang.org/t/arrow-feather-and-parquet/28739 "2020-11-01T11:02:16Z")

</div>

Continuing the discussion from JDF - an experimental DataFrame serialization format is ready for beta testing: @ExpandingMan Thank you very much! That’s a great summary and it helps me getting idea of reliability level …

---

## [Second derivative of custom neural network - gradient error](https://discourse.julialang.org/t/second-derivative-of-custom-neural-network-gradient-error/49311)

<div class="topic-metadata">

**Author:** [@Andreas\_Schlaginhauf](https://discourse.julialang.org/u/Andreas_Schlaginhauf)\
**Replies:** 3\
**Last updated:** [October 31, 2020, 6:10pm UTC](https://discourse.julialang.org/t/second-derivative-of-custom-neural-network-gradient-error/49311 "2020-10-31T18:10:14Z")

</div>

I am trying to take the second derivative of a custom neural network like this, icnn = ICNN(1, \[32, 32\], soft\_relu(0.1)) function df(x) gradient(y-\>sum(icnn(y)), x)\[1\] end df(\[1\]) gradient(y-\>sum(df(y)), \[1\]) This …

---

## [How to vectorize a SIR Model to add age-stratification with the DifferentialEquations.jl package?](https://discourse.julialang.org/t/how-to-vectorize-a-sir-model-to-add-age-stratification-with-the-differentialequations-jl-package/49375)

<div class="topic-metadata">

**Author:** [@PietroMonticone](https://discourse.julialang.org/u/PietroMonticone)\
**Replies:** 3\
**Last updated:** [October 31, 2020, 6:07pm UTC](https://discourse.julialang.org/t/how-to-vectorize-a-sir-model-to-add-age-stratification-with-the-differentialequations-jl-package/49375 "2020-10-31T18:07:31Z")

</div>

Consider the following simple SIR model I’ve written in the DifferentialEquations.jl framework: # Import using DifferentialEquations # Parameter 𝒫 = \[0.1,0.2\] # Model Parameters ℬ = \[0.8,0.1, 0.0\] # Initial …

---

## [RandomForest with out of bag prediction](https://discourse.julialang.org/t/randomforest-with-out-of-bag-prediction/49377)

<div class="topic-metadata">

**Author:** [@lubo](https://discourse.julialang.org/u/lubo)\
**Replies:** 0\
**Last updated:** [October 31, 2020, 5:50pm UTC](https://discourse.julialang.org/t/randomforest-with-out-of-bag-prediction/49377 "2020-10-31T17:50:09Z")

</div>

Hi, please, is there any implementation of RandomForest with Out of bag predictions? Seems to the reference RF package DecisionTree.jl has still this only as TODO (long time). Another package with OOB RandomForests.jl …

---

## [A modest \`missing\`s 2.0 proposal](https://discourse.julialang.org/t/a-modest-missing-s-2-0-proposal/49266)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 20\
**Last updated:** [October 31, 2020, 5:08pm UTC](https://discourse.julialang.org/t/a-modest-missing-s-2-0-proposal/49266 "2020-10-31T17:08:55Z")

</div>

This came up on Slack the other day and I want to formalize a little proposal here. This is not possible, in terms of SemVer or by the compiler, currently. Problem 1: names = \["Roger", missing\] names\[2\] + 5 The second…

---

## [Combining 2 ternary conditions, how to?](https://discourse.julialang.org/t/combining-2-ternary-conditions-how-to/49358)

<div class="topic-metadata">

**Author:** [@teriiju](https://discourse.julialang.org/u/teriiju)\
**Replies:** 10\
**Last updated:** [October 31, 2020, 8:39am UTC](https://discourse.julialang.org/t/combining-2-ternary-conditions-how-to/49358 "2020-10-31T08:39:37Z")

</div>

Hi, newbie, wonderings :slightly\_smiling\_face: 1: if it is safe to combine 2 (or more) ternary conditions. as in this way : (e\>f) ? “e” : (f\<g) ? “f” : “g” - with : e=2, f=4, g=8 ? or if that is not recomended. …

---

## [CPLEX.jl Quadratic Expression symmetric matrix bug?](https://discourse.julialang.org/t/cplex-jl-quadratic-expression-symmetric-matrix-bug/49315)

<div class="topic-metadata">

**Author:** [@Paul\_McVay](https://discourse.julialang.org/u/Paul_McVay)\
**Replies:** 9\
**Last updated:** [October 31, 2020, 6:17am UTC](https://discourse.julialang.org/t/cplex-jl-quadratic-expression-symmetric-matrix-bug/49315 "2020-10-31T06:17:01Z")

</div>

I have a optimization procedure that used to work but now I’m getting an error. Is it related to the new CPLEX.jl package? A simple working example that produces the error is: m = Model(CPLEX.Optimizer) @variable m x\[1:…

---

## [Nonlinear optimization help. Optim, JuMP, something else?](https://discourse.julialang.org/t/nonlinear-optimization-help-optim-jump-something-else/47163)

<div class="topic-metadata">

**Author:** [@dweb](https://discourse.julialang.org/u/dweb)\
**Replies:** 5\
**Last updated:** [October 31, 2020, 5:19am UTC](https://discourse.julialang.org/t/nonlinear-optimization-help-optim-jump-something-else/47163 "2020-10-31T05:19:16Z")

</div>

I have a nonlinear optimization problem that I’ve tried solving with scipy. For small scale it (the ‘TNC’ option in scipy minimize, specifically) works well, but it’s too slow when I get to thousands of variables. I’m le…

---

## [ANN: MPI.jl v0.10.0: new build process and CUDA-aware support](https://discourse.julialang.org/t/ann-mpi-jl-v0-10-0-new-build-process-and-cuda-aware-support/27601)

<div class="topic-metadata">

**Author:** [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Replies:** 26\
**Last updated:** [October 31, 2020, 5:16am UTC](https://discourse.julialang.org/t/ann-mpi-jl-v0-10-0-new-build-process-and-cuda-aware-support/27601 "2020-10-31T05:16:06Z")

</div>

I have just tagged a new version of MPI.jl. Though the user-facing interface is largely the same, there has been extensive work underneath to internally use the C API (instead of the Fortran one). As a result, the build …

---

## [Moving grid lines to foreground with contour](https://discourse.julialang.org/t/moving-grid-lines-to-foreground-with-contour/49275)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 3\
**Last updated:** [October 30, 2020, 11:30pm UTC](https://discourse.julialang.org/t/moving-grid-lines-to-foreground-with-contour/49275 "2020-10-30T23:30:18Z")

</div>

When using contourf, I’d like to move the grid lines to the foreground, but I can’t quite see how to do that. Thanks.

---

## [@cuStaticSharedMem multidimensional indexing seems not to work](https://discourse.julialang.org/t/custaticsharedmem-multidimensional-indexing-seems-not-to-work/49262)

<div class="topic-metadata">

**Author:** [@R366Y](https://discourse.julialang.org/u/R366Y)\
**Replies:** 2\
**Last updated:** [October 30, 2020, 12:47pm UTC](https://discourse.julialang.org/t/custaticsharedmem-multidimensional-indexing-seems-not-to-work/49262 "2020-10-30T12:47:02Z")

</div>

Hi, I’m trying to run a simple kernel with shared static memory having dimension 2. The trouble starts when I try to assing a value to the shared static memory, the kernel fail to compile. module GPU\_SHARED\_BITMAP fun…

---

## [SciMl/Differential equations for modeling clinic medicine](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982)

<div class="topic-metadata">

**Author:** [@timothyhartzog](https://discourse.julialang.org/u/timothyhartzog)\
**Replies:** 8\
**Last updated:** [October 30, 2020, 5:30am UTC](https://discourse.julialang.org/t/sciml-differential-equations-for-modeling-clinic-medicine/48982 "2020-10-30T05:30:42Z")

</div>

After watching numerous lectures by Dr. Christopher Rackauckas, i am trying to develop the theory/understanding of using SciMl/differential equations vs biostats in modeling clinical medicinal problems? Biostats/eviden…

---

## [JuMP abs in expression macro](https://discourse.julialang.org/t/jump-abs-in-expression-macro/49196)

<div class="topic-metadata">

**Author:** [@Paul\_McVay](https://discourse.julialang.org/u/Paul_McVay)\
**Replies:** 3\
**Last updated:** [October 29, 2020, 6:08pm UTC](https://discourse.julialang.org/t/jump-abs-in-expression-macro/49196 "2020-10-29T18:08:48Z")

</div>

I am hoping to extend the expression/objective JuMP macro to automatically introduce the necessary slack variable when using absolute values. I don’t have a lot of experience with JuMP internals and was hoping for some p…

---

## [Regularization with Flux](https://discourse.julialang.org/t/regularization-with-flux/49232)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 3\
**Last updated:** [October 29, 2020, 5:09pm UTC](https://discourse.julialang.org/t/regularization-with-flux/49232 "2020-10-29T17:09:21Z")

</div>

I’m currently training an ANN with 54 inputs and 12 outputs and I have already achieved good results by using the following model: model = Chain(Dense(54,54,sigmoid), Dense(54,54,sigmoid), Dense(54,12,leakyrelu)). Howe…

---

## [How do I get the coordinates for the dofs in JuAFEM?](https://discourse.julialang.org/t/how-do-i-get-the-coordinates-for-the-dofs-in-juafem/49229)

<div class="topic-metadata">

**Author:** [@bcsj](https://discourse.julialang.org/u/bcsj)\
**Replies:** 1\
**Last updated:** [October 29, 2020, 1:26pm UTC](https://discourse.julialang.org/t/how-do-i-get-the-coordinates-for-the-dofs-in-juafem/49229 "2020-10-29T13:26:27Z")

</div>

I have been trying to get a hang on the JuAFEM package and running the Heat Equation example from the documentation I have noticed that the ordering of the resulting vector appears to not correspond to the ordering of no…

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

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