AllenNeuralDynamics / AllenNeuralDynamics/Aind.Behavior.DynamicForaging

Bias computation does not match v1 bias computation

Aperta
#134 0 commenti 0 reazioni 1 assegnatario Rivendicata da @micahwoodard Vedi su GitHub
Lingua principale
C#
Stelle
0
Fork
0
Merge medio
1g 22h
PR unite (30g)
21

Descrizione

The bias computation is deterministic, so it should match exactly, but it does not. Its very close, and is likely simply a difference in parameters, but its worth understanding why its not exact in case there is a deeper misunderstanding

In the following plot, I'm plotting the bias computed by the refactor acquisition code, as well as bias computed post-hoc by our analysis tools. The analysis tool computation matches exactly with how the v1 implementation acquisition code computed bias.

- Note the v1 version computes the bias every 10 trials and then backfills. So what we are looking for is the right-side of each v1 value to match the refactor bias, but it does not match.
- key parameters:
- n_trials_back = 5
- max_window = 200
- cv = 1
- compute_every = 10 # this is 1 for the refactor, and that should be fine

Image

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.