state estimation and feature extraction of animal behavior