Skip to content

Fixes bias calculations#123

Merged
micahwoodard merged 5 commits into
mainfrom
fix-bias
Jun 30, 2026
Merged

Fixes bias calculations#123
micahwoodard merged 5 commits into
mainfrom
fix-bias

Conversation

@micahwoodard

Copy link
Copy Markdown
Collaborator

fixes bugs in bias calculation to match values returned in fit_logistic_regression. Ran comparison on test data
behavior_845023_2026-06-18_18-58-39_trials_table.csv with code
run_bias.py and values matched one to one.

closes #113

Comment thread bonsai/Settings/src/main.editor Outdated
@bruno-f-cruz bruno-f-cruz self-requested a review June 30, 2026 15:40
@micahwoodard micahwoodard merged commit fc50b73 into main Jun 30, 2026
4 checks passed
@micahwoodard micahwoodard deleted the fix-bias branch June 30, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect bias calculation

2 participants