We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 609dfc3 commit 0c724e9Copy full SHA for 0c724e9
1 file changed
lecilab_behavior_analysis/df_transforms.py
@@ -839,6 +839,10 @@ def parameters_for_fit(df):
839
# Add the correct column as numeric, 1 for correct, 0 for incorrect
840
df_copy['correct_numeric'] = df_copy['correct'].astype(int)
841
842
+ df_copy['correct_side_numeric'] = df_copy['correct_side'].apply(
843
+ utils.transform_side_choice_to_numeric
844
+ )
845
+
846
# Add the past trials impact by time kernel
847
848
0 commit comments