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.
While working on the "accelerating research" section of the paper, I decided to do an experiment to see how efficient our APIs are.
I wanted to see how long it would take to generalize one of the existing outcome spaces to another spatial outcome space. The conclusion: it took roughly 2 hours, from conceiving the idea to finishing this PR.
Contents of this PR
Introduces a new spatial outcome space:
SpatialBubbleSortSwaps
which encodes based on the "bubble sorting complexity" of the elements of hypervoxel windows. This works very similarly toSpatialOrdinalPatterns
andSpatialDispersion
, except the encoding is in terms of how many swaps are necessary to sort each window.codify
,counts_and_outcomes
,total_outcomes
andoutcome_space
.