A new study finds that machine learning models can identify behavioural cues in zebrafish to correctly predict when the fish is anxious.