Microsoft interview question

How would you predict the cost required to implement a new feature using machine learning?