Integration of AI and machine learning to apply a broader spectrum of appropriate shocks to individual portfolios