Fig. S2.
Error analysis confirms that fish show little social response during decelerations. (A) Comparison of the normalized error in prediction during acceleration epochs (Left) and deceleration epochs (Right) using an active model—an RF model learned separately on each kinematic state (Eq. 3) and a passive model (Eq. 1). There is no advantage in learning a separate RF model to predict active movements in the deceleration epochs. (B) Example distributions of the errors in prediction during acceleration epochs (Left) and deceleration epochs (Right) for the two models as in A; again, error distributions in the deceleration epochs are similar for active and passive computation in these parts.