◐Partially reproducedResults, Neural activity in the central brain is highly predictive of locomotor velocity, paragraph 3; Figure 4F, G
Linear models on the principal components predict forward, left and right velocity on held-out data with average R2 of about 0.3 using 100 PCs, performance improving over the first 100 PCs before declining.
model performance improved over the first 100 PCs used, before declining as additional PCs were incorporated (Figure 4F). Notably, all three behavioral variables displayed comparable predictability on held-out test data, with average R2 values of approximately 0.3
Results, Neural activity in the central brain is highly predictive of locomotor velocity, paragraph 3; Figure 4F, G
With 100 superfly PCs the median R2 over flies is 0.155 (VF), 0.196 (VL) and 0.212 (VR); the means are 0.038, 0.155 and 0.178. None is within 0.27 to 0.33; all medians are at least 0.15. Mean R2 rises to 100 PCs and declines after for each component, as stated. Three flies have negative VF R2 (-0.307, -0.306, -0.503). Variants; interleaved folds give medians 0.318, 0.252 and 0.271; alpha chosen within the training folds 0.134, 0.180, 0.212; each fly's own PCs 0.151, 0.210, 0.217. With behaviour rolled in time R2 is at most -0.002. With interleaved folds two of the three medians fall in the band (VF 0.318, VR 0.271; VL 0.252), so the folds, which the paper does not state, account for much of the gap; the outcome would stay partial.
How the test differed from the paper’s method
- Five contiguous folds within each fly, a choice; the code does not show its folds.
- Alpha is chosen by the best held-out score, as the code does, which selects on the test folds.
- The 1000 and 2000 PC models were not run (at most 500 PCs).
- PCs of 5363 blocks from 12 planes.