An end-to-end machine learning pipeline to train ml model and deploy it to realtime inference endpoint