Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Versions follow [Semantic Versioning](https://semver.org) (`<major>.<minor>.<pat

- Stylistic changes to CLI help strings.

### Performance

- `process decode` fits the population decoders in numpy across windows, folds and shuffles at once instead of one scikit-learn fit at a time ([#204](https://github.com/DuguidLab/mesoscopy/issues/204)).

## [0.17.0] - 2026-10-12

### Added
Expand Down
8 changes: 5 additions & 3 deletions docs/how-to/decoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ takes in activity after it.
The chance level is taken once per decoder, region and group on the `--baseline` window (default every sample
before the event), since shuffled labels give the same chance level in every window. The shuffle columns therefore
repeat along a time course and `p_value` is read against them in every window. The rolling table is the slowest
part of the command, since the population decoder is fitted in every window.
part of the command, since every decoder is fitted in every window.

## Reading the table

Expand Down Expand Up @@ -128,5 +128,7 @@ tables.table.query("decoder == 'lda' and group == 'all'").nlargest(5, "balanced_

`decoding.decoding_table` returns a `DecodingTables` with the scores in `table` and the population weights in
`weights`. `decoding.rolling_table` returns the rolling table. `decoding.region_decisions` fits the one-feature
decoders of every region, fold and shuffle at once from a `(n_trials, n_features)` array and the fold of each trial,
and `decoding.fit_scores` fits one scikit-learn decoder per fold.
decoders of every region, fold and shuffle at once from a `(n_trials, n_features)` array and the fold of each trial.
`decoding.population_decisions` does the same for the population decoders from a `(n_trials, n_sets, n_features)`
array, with one decoder per set of features such as the regions of one window. `decoding.fit_scores` fits one
scikit-learn decoder and acts as a reference to compare against.
Loading
Loading