Sequential implementation of Machine learning framework