A PM built an AI model to predict shipment RTO risk and shares the lessons learned.RTO (Return to Origin) is a major issue in the Indian eCommerce ecosystem, and predicting RTO risk is crucial for the industry.The AI model built using XGBoost achieves high precision, recall, and F1-score, and effectively distinguishes risky shipments.The deployment of the FastAPI-based model required extensive debugging, but the final solution proved to be successful.