Optimizing Instance Type Selection for AI Development in Cloud Spot Markets