Forecasting obsolescence risk and product lifecycle with machine learning