Machine learning framework for end to end implementation of incident duration prediction