Algorithm selection for AI integration