Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version: Unfold v0.7.0 #105368

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

JuliaRegistrator
Copy link
Contributor

@JuliaRegistrator JuliaRegistrator commented Apr 22, 2024

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 of `AbstractDesignMatrices`, where each `AbstractDesignMatrix` holds only one formula, one table and one modelmatrix. If you used accessorfunctions like `events` and `formulas` not much should change. Those accessor functions were harmonized to produce vectors of content.
- 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`  column `basisname` renamed to `eventname`, basisfunctions now need to have the same `name` 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`
`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 method `height`, in addition to it's `StatsModels.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

Copy link
Contributor

github-actions bot commented Apr 22, 2024

Your new version pull request met all of the guidelines for auto-merging and is scheduled to be merged in the next round.


If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment. You can edit blocking comments, adding [noblock] to them in order to unblock auto-merging.

UUID: 181c99d8-e21b-4ff3-b70b-c233eddec679
Repo: https://github.com/unfoldtoolbox/Unfold.jl.git
Tree: c14bef6dca004d3efaeb798bd6d4c65eeedc1fdb

Registrator tree SHA: 17aec322677d9b81cdd6b9b9236b09a3f1374c6a
@JuliaRegistrator JuliaRegistrator force-pushed the registrator-unfold-181c99d8-v0.7.0-84be4976ec branch from 1fb7868 to 43f61d7 Compare April 22, 2024 13:33
@JuliaTagBot JuliaTagBot merged commit 8542ebb into master Apr 22, 2024
11 checks passed
@JuliaTagBot JuliaTagBot deleted the registrator-unfold-181c99d8-v0.7.0-84be4976ec branch April 22, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants