# Specific Domains

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

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

**Page:** 389

---

## [Checkpointing with Julia](https://discourse.julialang.org/t/checkpointing-with-julia/24026)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 8\
**Last updated:** [February 15, 2021, 7:50am UTC](https://discourse.julialang.org/t/checkpointing-with-julia/24026 "2021-02-15T07:50:59Z")

</div>

The post today by @Xing\_Shi\_Cai leads me to ask - has anyone worked with checkpointing in Julia? A bit of Googling would suggest DMTCP would work http://dmtcp.sourceforge.net/ I guess the real answer is - why don’t I…

---

## [Can LaTeXStrings display arrays and DataFrames with LaTeX characters?](https://discourse.julialang.org/t/can-latexstrings-display-arrays-and-dataframes-with-latex-characters/55281)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 3:11am UTC](https://discourse.julialang.org/t/can-latexstrings-display-arrays-and-dataframes-with-latex-characters/55281 "2021-02-15T03:11:01Z")

</div>

I’ve recently discovered the package LaTeXStrings, and am very impressed with it. I was wondering if this package makes it possible to display LaTeX strings within arrays and DataFrames. For example, suppose I have a Dat…

---

## [Optimization with Optim gives different results each time](https://discourse.julialang.org/t/optimization-with-optim-gives-different-results-each-time/54143)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 16\
**Last updated:** [February 14, 2021, 7:35pm UTC](https://discourse.julialang.org/t/optimization-with-optim-gives-different-results-each-time/54143 "2021-02-14T19:35:06Z")

</div>

I’m using IPNewton() from the Optim package for an inequality-constrained optimization problem. Strangely, I keep getting different results each time I run the same block of code (without changing anything). For example,…

---

## [\[ANN\] CommutativeRings](https://discourse.julialang.org/t/ann-commutativerings/55268)

<div class="topic-metadata">

**Author:** [@klacru](https://discourse.julialang.org/u/klacru)\
**Replies:** 0\
**Last updated:** [February 14, 2021, 6:09pm UTC](https://discourse.julialang.org/t/ann-commutativerings/55268 "2021-02-14T18:09:38Z")

</div>

This package CommutativeRings supports processing in discrete commutative algebra. It has Galois fields, univariate and multivariate polynomials, matrices and vector spaces over finite fields.

---

## [How to test multiple parameters with SDE?](https://discourse.julialang.org/t/how-to-test-multiple-parameters-with-sde/55089)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [February 14, 2021, 5:03pm UTC](https://discourse.julialang.org/t/how-to-test-multiple-parameters-with-sde/55089 "2021-02-14T17:03:45Z")

</div>

Hello, I would like to find the minimal amount of phages required to distinguish a bacterial population. I have run this model: using DifferentialEquations function growth!(du, u, p, t) μ, κ, φ, ω, η, β = p #=…

---

## [JuMP: optimizing in loop with an updated parameter does not work as I expect from experience with AMPL/GAMS behavior](https://discourse.julialang.org/t/jump-optimizing-in-loop-with-an-updated-parameter-does-not-work-as-i-expect-from-experience-with-ampl-gams-behavior/55245)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 2\
**Last updated:** [February 14, 2021, 11:52am UTC](https://discourse.julialang.org/t/jump-optimizing-in-loop-with-an-updated-parameter-does-not-work-as-i-expect-from-experience-with-ampl-gams-behavior/55245 "2021-02-14T11:52:43Z")

</div>

Hi, When I update a parameter of a predefined model, JuMP does not seem to update the parameter, at least when I call to optimize!. My solution for now is to put the whole model definition in a function as in the first…

---

## [Flux train multiple models at the same time](https://discourse.julialang.org/t/flux-train-multiple-models-at-the-same-time/55154)

<div class="topic-metadata">

**Author:** [@anon74562486](https://discourse.julialang.org/u/anon74562486)\
**Replies:** 1\
**Last updated:** [February 14, 2021, 9:47am UTC](https://discourse.julialang.org/t/flux-train-multiple-models-at-the-same-time/55154 "2021-02-14T09:47:48Z")

</div>

What is the best way to train multiple NN models on the same data at the same time? Thank you

---

## [Automatic adjustment of ticks when zooming with Plots.jl](https://discourse.julialang.org/t/automatic-adjustment-of-ticks-when-zooming-with-plots-jl/5055)

<div class="topic-metadata">

**Author:** [@mzaffalon](https://discourse.julialang.org/u/mzaffalon)\
**Replies:** 3\
**Last updated:** [February 13, 2021, 4:07pm UTC](https://discourse.julialang.org/t/automatic-adjustment-of-ticks-when-zooming-with-plots-jl/5055 "2021-02-13T16:07:19Z")

</div>

In Plots.jl using pyplot as the backend, when I zoom in the plot using the pan/zoom button, the axes ticks are not automatically adjusted as PyPlot, nor the x,y coordinates at the bottom left of the plot window are displ…

---

## [Truncating Floats into a specific Int size](https://discourse.julialang.org/t/truncating-floats-into-a-specific-int-size/55207)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 2\
**Last updated:** [February 13, 2021, 2:24pm UTC](https://discourse.julialang.org/t/truncating-floats-into-a-specific-int-size/55207 "2021-02-13T14:24:43Z")

</div>

Hi all. julia\> floor(Int, convert(Float64, typemax(Int))) ERROR: InexactError: trunc(Int64, 9.223372036854776e18) I understand why this happens. What I’m looking for here is a nice way of truncating the pathological ca…

---

## [Turing: help with slow model](https://discourse.julialang.org/t/turing-help-with-slow-model/54563)

<div class="topic-metadata">

**Author:** [@drbenvincent](https://discourse.julialang.org/u/drbenvincent)\
**Replies:** 46\
**Last updated:** [February 13, 2021, 11:19am UTC](https://discourse.julialang.org/t/turing-help-with-slow-model/54563 "2021-02-13T11:19:03Z")

</div>

So I’m making progress with implementing a bunch of models in Turing. But one I’ve had problems with is this. using Turing, StatsPlots sᵇ = \[15,11,15,14,15,18,16,16,18,16,15,13,18,12,11,13,17,18,16,11,17,18,12,18,18,14…

---

## [\[Turing.jl\] Censored Values](https://discourse.julialang.org/t/turing-jl-censored-values/48990)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 21\
**Last updated:** [February 13, 2021, 11:14am UTC](https://discourse.julialang.org/t/turing-jl-censored-values/48990 "2021-02-13T11:14:28Z")

</div>

Hi there Turing.jl peoples. Still new as ever to Bayes stuff, but having a blast learning(when I can). I ran into a situation where I want to explore censored modelling. I’ve scoured the documentation in Turing.jl and d…

---

## [Record from camera, save to file, and acess last recorded frame](https://discourse.julialang.org/t/record-from-camera-save-to-file-and-acess-last-recorded-frame/55200)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 0\
**Last updated:** [February 13, 2021, 10:33am UTC](https://discourse.julialang.org/t/record-from-camera-save-to-file-and-acess-last-recorded-frame/55200 "2021-02-13T10:33:00Z")

</div>

Caveat: After writing this post I realized that it has very little to do with Julia, but people here are super smart, maybe someone will know the answer… I want to record video from a camera, save it to file, and at the…

---

## [Different behaviour between Flux.jl and Pytorch](https://discourse.julialang.org/t/different-behaviour-between-flux-jl-and-pytorch/54941)

<div class="topic-metadata">

**Author:** [@DeepQ](https://discourse.julialang.org/u/DeepQ)\
**Replies:** 17\
**Last updated:** [February 13, 2021, 8:24am UTC](https://discourse.julialang.org/t/different-behaviour-between-flux-jl-and-pytorch/54941 "2021-02-13T08:24:21Z")

</div>

I am trying to generate the results of this paper https://arxiv.org/abs/1808.03856. I have created two similar models using Flux.jl and Pytorch. There is no equivalence to pytorch.gather function in Flux.jl, so I create…

---

## [Merging daily and monthly timeseries data](https://discourse.julialang.org/t/merging-daily-and-monthly-timeseries-data/55172)

<div class="topic-metadata">

**Author:** [@davidoff](https://discourse.julialang.org/u/davidoff)\
**Replies:** 3\
**Last updated:** [February 12, 2021, 9:17pm UTC](https://discourse.julialang.org/t/merging-daily-and-monthly-timeseries-data/55172 "2021-02-12T21:17:26Z")

</div>

Suppose I want to merge two Timeseries. One is daily and might have the first daily observation in the month on the 2nd or 3rd day, and might have a last observation on the 29th. I would hope to collapse the data to mont…

---

## [How do Julia packages, e.g. Flux and Knet correspond to Python ecosystem](https://discourse.julialang.org/t/how-do-julia-packages-e-g-flux-and-knet-correspond-to-python-ecosystem/55147)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 8:09pm UTC](https://discourse.julialang.org/t/how-do-julia-packages-e-g-flux-and-knet-correspond-to-python-ecosystem/55147 "2021-02-12T20:09:40Z")

</div>

I’m not so much asking if they are better, just some mapping, and trying to get an overview of the mainstream and where there might be big holes in the Julia ecosystem. E.g. Pytorch Lightning corresponds to Keras, and t…

---

## [Best Practice for Logging MCMC Results?](https://discourse.julialang.org/t/best-practice-for-logging-mcmc-results/54832)

<div class="topic-metadata">

**Author:** [@JonB27](https://discourse.julialang.org/u/JonB27)\
**Replies:** 4\
**Last updated:** [February 12, 2021, 3:37pm UTC](https://discourse.julialang.org/t/best-practice-for-logging-mcmc-results/54832 "2021-02-12T15:37:45Z")

</div>

I will be deploying a custom MCMC algorithm to an external computer as part of my thesis. I’m making heavy use of the Gen PPL, and was wondering how best to return the results of the MCMC. My idea so far was to write eac…

---

## [Sampling from power posterior](https://discourse.julialang.org/t/sampling-from-power-posterior/54924)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 27\
**Last updated:** [February 12, 2021, 3:10pm UTC](https://discourse.julialang.org/t/sampling-from-power-posterior/54924 "2021-02-12T15:10:09Z")

</div>

Hey, I was wondering if someone could guide me (or direct me to the relevant code) on how to sample from the power posterior given a Turing model. By power posterior, I mean the posterior to modified joint : p(x|y; b) \\…

---

## [How to view every n-th row in a DataFrame](https://discourse.julialang.org/t/how-to-view-every-n-th-row-in-a-dataframe/55143)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 3\
**Last updated:** [February 12, 2021, 1:42pm UTC](https://discourse.julialang.org/t/how-to-view-every-n-th-row-in-a-dataframe/55143 "2021-02-12T13:42:09Z")

</div>

How to view every n-th row in a DataFrame? My DataFrame is a plane table of 1334400 x 22 entries. I would like to view every 21-th entire row. Could anyone help?

---

## [GAMS executable not found! - JuMP](https://discourse.julialang.org/t/gams-executable-not-found-jump/54927)

<div class="topic-metadata">

**Author:** [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Replies:** 2\
**Last updated:** [February 12, 2021, 12:32pm UTC](https://discourse.julialang.org/t/gams-executable-not-found-jump/54927 "2021-02-12T12:32:14Z")

</div>

Hi, I would like to use the GAMS Optimizer for my JuMP/Julia model. I have installed the GAMS package correctly using GAMS and it is updated however, when I want to use it as an optimizer as follows model\_name = Model…

---

## [Iterator over Floats](https://discourse.julialang.org/t/iterator-over-floats/55110)

<div class="topic-metadata">

**Author:** [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 8:21am UTC](https://discourse.julialang.org/t/iterator-over-floats/55110 "2021-02-12T08:21:03Z")

</div>

So I’ve been working on special functions, and to help with that I’ve created this class that implements an Iterator of Float values. struct FloatIterator{T}\<:AbstractVector{T} min::T max::T FloatIterator{T}…

---

## [HiGHS.jl v0.1.0 released](https://discourse.julialang.org/t/highs-jl-v0-1-0-released/55114)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 0\
**Last updated:** [February 12, 2021, 3:35am UTC](https://discourse.julialang.org/t/highs-jl-v0-1-0-released/55114 "2021-02-12T03:35:04Z")

</div>

Dear all, We are happy to announce the initial v0.1 release of HiGHS.jl, a wrapper for HiGHS. HiGHS is a new high-performance open-source linear programming solver being developed by Julian Hall and colleagues at the U…

---

## [Examples of composable probabilistic models](https://discourse.julialang.org/t/examples-of-composable-probabilistic-models/55078)

<div class="topic-metadata">

**Author:** [@jkbest2](https://discourse.julialang.org/u/jkbest2)\
**Replies:** 1\
**Last updated:** [February 11, 2021, 10:54pm UTC](https://discourse.julialang.org/t/examples-of-composable-probabilistic-models/55078 "2021-02-11T22:54:17Z")

</div>

In this thread @cscherrer was looking for examples of where composable probabilistic models would be an advantage: The first case I can see is to provide a library of model components that can be composed. This would b…

---

## [Optimizer returns status infeasible for a feasible problem](https://discourse.julialang.org/t/optimizer-returns-status-infeasible-for-a-feasible-problem/55064)

<div class="topic-metadata">

**Author:** [@htpusa](https://discourse.julialang.org/u/htpusa)\
**Replies:** 2\
**Last updated:** [February 11, 2021, 7:27pm UTC](https://discourse.julialang.org/t/optimizer-returns-status-infeasible-for-a-feasible-problem/55064 "2021-02-11T19:27:33Z")

</div>

I’m running into the following issue while solving a set of LP-problems using JuMP: I want to create a model, optimize it, and then in turn minimize and maximize its variables while requiring the original optimum to be …

---

## [Recursive Bayes](https://discourse.julialang.org/t/recursive-bayes/55036)

<div class="topic-metadata">

**Author:** [@klowrey](https://discourse.julialang.org/u/klowrey)\
**Replies:** 7\
**Last updated:** [February 11, 2021, 5:49pm UTC](https://discourse.julialang.org/t/recursive-bayes/55036 "2021-02-11T17:49:50Z")

</div>

I’m beginning a new project and eager to use Turing.jl or some other PPL for all the benefits, but have not found an example in a recursive Bayes problem setting. That is to say the current posterior is used as a prior w…

---

## [GalacticOptim trips over boundary conditions in DiffEqOperators](https://discourse.julialang.org/t/galacticoptim-trips-over-boundary-conditions-in-diffeqoperators/55060)

<div class="topic-metadata">

**Author:** [@told](https://discourse.julialang.org/u/told)\
**Replies:** 2\
**Last updated:** [February 11, 2021, 2:49pm UTC](https://discourse.julialang.org/t/galacticoptim-trips-over-boundary-conditions-in-diffeqoperators/55060 "2021-02-11T14:49:01Z")

</div>

So I just had time to go back to a project I was working in the past (related to this). Basically I want to solve a Diffusion-Convection problem tracking two phases along a reactor with a source term that is learned by a…

---

## [Jacobian of NN: Mutating arrays is not supported](https://discourse.julialang.org/t/jacobian-of-nn-mutating-arrays-is-not-supported/55053)

<div class="topic-metadata">

**Author:** [@Sunny](https://discourse.julialang.org/u/Sunny)\
**Replies:** 2\
**Last updated:** [February 11, 2021, 2:20pm UTC](https://discourse.julialang.org/t/jacobian-of-nn-mutating-arrays-is-not-supported/55053 "2021-02-11T14:20:08Z")

</div>

I’m trying to take derivative of the jacobian of neural network. But there emerges mutating arrays problem nn = Chain(Dense(2,10, tanh), Dense(10,1)) println(Flux.params(nn)) jac₁ = x -\> ForwardDiff.jacobian(nn, x) # w…

---

## [HDF5.jl works great](https://discourse.julialang.org/t/hdf5-jl-works-great/55059)

<div class="topic-metadata">

**Author:** [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Replies:** 0\
**Last updated:** [February 11, 2021, 2:18pm UTC](https://discourse.julialang.org/t/hdf5-jl-works-great/55059 "2021-02-11T14:18:31Z")

</div>

HDF5.jl is good stuff. Just want to thank the maintainers. Made my life better, interops with Mathematica really well (as well as anything interact with Mathematica…). Best way (for me) to pass data around in a complicat…

---

## [IPNewton and ForwardDiff with preallocated Arrays](https://discourse.julialang.org/t/ipnewton-and-forwarddiff-with-preallocated-arrays/55013)

<div class="topic-metadata">

**Author:** [@Sylvain](https://discourse.julialang.org/u/Sylvain)\
**Replies:** 2\
**Last updated:** [February 11, 2021, 11:36am UTC](https://discourse.julialang.org/t/ipnewton-and-forwarddiff-with-preallocated-arrays/55013 "2021-02-11T11:36:39Z")

</div>

Hi ! I am new here so please let me know if I post at the right place. I could not find that issue on other threads. I need to solve a constrained optimization problem, and I’d like to use Optim.optimize with the IPNew…

---

## [Flux: get intermediate results per epoch](https://discourse.julialang.org/t/flux-get-intermediate-results-per-epoch/55011)

<div class="topic-metadata">

**Author:** [@ZettEff](https://discourse.julialang.org/u/ZettEff)\
**Replies:** 4\
**Last updated:** [February 11, 2021, 6:49am UTC](https://discourse.julialang.org/t/flux-get-intermediate-results-per-epoch/55011 "2021-02-11T06:49:13Z")

</div>

Hello, how do you access (or store) intermediate results such as weights per epoch in Flux? I have today started using it and was really surprised by how easy it is to implement thing. One thing I did not find and could…

---

## [What is the relation between MLJ and Flux?](https://discourse.julialang.org/t/what-is-the-relation-between-mlj-and-flux/32680)

<div class="topic-metadata">

**Author:** [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)\
**Replies:** 17\
**Last updated:** [February 10, 2021, 11:57pm UTC](https://discourse.julialang.org/t/what-is-the-relation-between-mlj-and-flux/32680 "2021-02-10T23:57:00Z")

</div>

According to the sites: MLJ is an open-source machine learning toolbox written in pure Julia. It provides a uniform interface for interacting with supervised and unsupervised learning models currently scattered in diff…

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

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