Repository navigation
dMod2 0.18.0 - #39
Merged
Merged
dMod2 0.18.0#39
Conversation
… betaPrior(), halfCauchyPrior(), halfNormalPrior() and invGammaPrior(), the EC approximation with the expected Hessian; steadyStates(zeroLoops = ) with AlyssaPetit 1.5; profile() refits every integration step by default; repar() internal, define() and insert() check the argument order; PSOCK ports from process id and clock; distributedComputing() saves the workspace uncompressed where zstd fails and shows the output of the first failed task; the methods articles define their terms in the text with an index page, the objective written as ell; symident >= 0.18.2; dMod2 0.18.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
simonbeyer1
force-pushed
the
release-0.18.0
branch
from
November 27, 2026 23:05
9407c6f to
a4d9290
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dMod2 0.18.0, requires symident >= 0.18.2 (on PyPI).
Spike and slab: phases and hyperpriors
em()andmsem()fit spike-and-slab random effects of a givenmeanorspikein phases,control$sparseFit$phases="meanfield","ec","exact", each from the estimates and inner modes of the phase before;"exact"beyondtermBudgetis skipped after"ec".control$sparseFit$burninfirst fits the fixed effects with a start subset in the slab. The fit reportsphasesandburnin.spikeSlab(prob = betaPrior(a, b))integratesprobout with the beta-binomial weight over the groups of a block, in the exact sum, mean field, EC, SAEM and the quadrature.tau = halfCauchyPrior(),halfNormalPrior()orinvGammaPrior()estimatestauas the posterior mode, withintegrate = TRUEintegrated overlog tauin the phase"exact".fit$slabandfit$hyperpriorreport them.control$sparseFit$budgettotermBudget;maxEcm,epsEcm,maxEcmPerStageofcontrol$quadraturetomaxECM,epsECM,maxECMPerStage.betaPrior(1, 1).Steady states (AlyssaPetit 1.5)
steadyStates(zeroLoops = TRUE)sets to zero the largest set of states that are only produced through one another, a feedback loop that is off. A state of a conserved quantity left without a positive unknown is solved in a further round; an unknown without an equation is not tried again within a run of the greedy search.Profiles
profile()with the defaultmethod = "integrate"corrects every step by a short fit of the other parameters withtrust()(algoControl$reoptimize = TRUE), so the path no longer drifts from the constrained optimum with a Gauss-Newton Hessian;reoptimize = FALSErestores the integration alone.Transformations
repar()is no longer exported; transformations are built withdefine(),insert()andbranch(), and the docs use them throughout.define()andinsert()check the argument order themselves: with the substitution in place of the transformation they stopped with "'length = 2' in coercion to 'logical(1)'" before.Parallel runs
mstrust(),profile(),msem()and of the compilation on Windows open on a port drawn from the process id and the clock and skip a port in use: jobs with the same seed on one node no longer fail with "port ... cannot be opened", and.Random.seedstays as it is.Documentation
\ellinstead of\mathcal{J}; the methods articles and Get started define their terms in the text where they first matter, without term tables; a new page Index (Methods menu) lists every defined term with a link to that place.dev/build-index.Rgenerates it from the anchors[term]{#def-...}and runs withdev/build-site.R. The guides link terms to these definitions.symident 0.18.2
symmetryDetection()andsymmetryReduction()require symident >= 0.18.2: underequilibratethe Lie order certificate ranks continued conditions at resting points drawn forward, and reconstruction and checks take curve samples where a direct solve of the resting balances needs msolve past short work limits.reconstControl(gapOrderCap = )documents the order doubling of curve samples.The stored Oppelt results
reduction.rdsandsymmetries.rdsare updated.Tests: the whole suite against the installed package with symident 0.18.2, 5452 expectations passed, none skipped or failed. Two tests follow the new profile default: the drift of a Gauss-Newton path is checked with
reoptimize = FALSE, and a profile fixture takesfixed, asprofile()passes it to the refits.See NEWS.md.