Machine learning for pose selection