Convergence of AI and model-driven software engineering for ecosystem resilience prediction