Data-driven Extraction of Drive Functions for Legged Locomotion: A Study on Cheetah-cub Robot