Releases: unfoldtoolbox/Unfold.jl
Releases · unfoldtoolbox/Unfold.jl
v0.7.3
Unfold v0.7.3
- fixed major bug in UnfoldLinearModel introduced in 0.7.0. If you used for MassUnivariate models with
Any
this bug did not exist. But if you subset your data e.g. via[:fixation=>(@formula(0~1),times)]
or similar then you have to recalculate your results! In this case the subsetting of the data/epochs went wrong due to a nasty, but very tiny bug. ASubDataFrame
was silently cast to aDataFrame
, removingthe information which events belonged to which index. - Added small feature to be able to call
effects(Dict(),model)
which adds a dummy effect to the dict, to be able to get the pure intercept.
Merged pull requests:
Closed issues:
- Allow empty dict in effects (#167)
v0.7.2
Unfold v0.7.2
- bugfix for missing data & krylov solver
- bugfix with non-integer event onsets #200
- new internal functionality
_residuals
now allows to calculate residuals directly cut to an event, not requiring to generate the wholey = X*b
Merged pull requests:
Closed issues:
- Bug: basisfunction with non-integer onsets, Float instead of Int (#200)
v0.7.1
Unfold v0.7.1
- FIR-designmatrix is now up to 20x faster to generate
- some small bugfixes that creeped up during the 0.7 release
Merged pull requests:
v0.7.0
Unfold v0.7.0
This is a bigger release 🎉 with some clearly breaking changes. For most users, those breaking changes should be near "invisible", but we can't promise it. Update as always without warranty.
Breaking:
- New major types:
- all
UnfoldModel
-types are now parametric types with e.g. Float64 or Missing,Float64, which will make specializations in fitting much easier in the future (e.g. no missing values => faster fit!) - Internal: New Trait
ContinuousTimeTrait
making it easier to specify custom types UnfoldModel
now takes a vector ofAbstractDesignMatrices
, where eachAbstractDesignMatrix
holds only one formula, one table and one modelmatrix. If you used accessorfunctions likeevents
andformulas
not much should change. Those accessor functions were harmonized to produce vectors of content.
- all
- FIR by default does not linearly interpolate anymore. This will help throughout the toolbox with minimal consequences on model-accuracy. That is, if an event-latency is in between two datasamples, it used to be linearly "split up". This now needs to manually activated using interpolate=true in firbasis. In the case of interpolate=false only integer event-latencies are allowed. In practice, this should have little impact, but it will change your numbers slightly.
Dict(:A=>(formula,times))
from dict to vector of pairs[:A=>(formula,times]
coeftable
columnbasisname
renamed toeventname
, basisfunctions now need to have the samename
as the event in the Design-specification
Public renaming (breaking)
old | new |
---|---|
predict |
predicttable (predict now returns a vector of arrays |
formula |
formulas (now returns a vector of StatsFormulas for all models) |
Internal renaming
old | new |
---|---|
combineDesignmatrices |
combine_designmatrices |
equalizeLengths |
equalize_lengths |
zeropad |
equalize_size |
shiftOnset |
shift_onset |
get_modelmatrix |
modelmatrices |
randomeffectgroupings |
random_effect_groupings |
changeMatSize! |
change_modelmatrix_size! |
equalizeReMatlengths! |
equalize_ReMat_lengths! |
changeReMatSize! |
change_ReMat_size! |
lmm_combineMats! |
lmm_combine_modelmatrix! |
extract_symbol |
termname |
dropMissingEpcohs |
drop_missing_epochs |
DesignMatrix.Xs |
DesignMatrix.modelmatrix |
New functions & features:
BasisFunction
now has a methodheight
, in addition to it'sStatsModels.width
- pretty Term.jl output for models and designmatrices
- massunivariate models by default calculate SE now
- many more docstrings
- documentation fixes @vladdez
residual(uf,data)
function- fit/solver
show_progress
controls output
Closes: #192 #161 #52 #189 #155
Merged pull requests:
- readability - index.md (#187) (@vladdez)
- readability - tutorials/howto (#188) (@vladdez)
- readability - howto/lmm_pvalues (#191) (@vladdez)
- unfold breaking 0.7 (#192) (@behinger)
Closed issues:
v0.6.10
Unfold v0.6.10
speed up effects
load older JLD2 files
Merged pull requests:
- backward compatible loading of JLD2 files (#176) (@behinger)
- betterBackwardJLD2 (#177) (@behinger)
- Update effects.jl (#179) (@behinger)
- docs: add vladdez as a contributor for bug (#180) (@allcontributors[bot])
- Update basisfunctions.md - readability (#184) (@vladdez)
Closed issues:
v0.6.9
Unfold v0.6.9
- stderror was wrongly forced to type of data, but should be type of coefficients. This lead to very rare problem (introduced in 0.6.6) thanks @vladdez for reporting
- LMMs had a major bug #175. If you had a model of type
0~ [...] + (1|item) + (1+A|subject)
where the first term had fewer random slopes than the second, then thecoeftable(model)
had wrongly orderedcoefnames
for the random effects. This is fixed now - fixed LMM bugs in the tutorial (following from UnfoldSim major v0.4).
Merged pull requests:
v0.6.8
v0.6.7
Unfold v0.6.7
- fixed speed issue with new effects fix in 0.6.6
- added Tullio.jl to speed up calculations
Merged pull requests:
v0.6.6
Unfold v0.6.6
- greatly improved speed of effects calculation
- fixed tests & documentation with UnfoldSim major 0.4
Merged pull requests:
v0.6.5
Unfold v0.6.5
- JuliaFormatter on everything
- added
Effects
forUnfoldLinearMixedModels
- updated docs & docstrings
Merged pull requests:
- Create darus-dataverse.yml (#158) (@behinger)
- UnfoldMakie0.4 (#159) (@behinger)
- effects for LMMs (#160) (@behinger)
- Update CITATION.cff (#162) (@jschepers)
- fix for SE calculation breaking CI (#163) (@behinger)
- fix #124, assert min number of spines; compat 0.17 BSplineKit (#164) (@behinger)
- added docstrings for types fix #133 (#165) (@behinger)
- JuliaFormatter (#166) (@behinger)
Closed issues: