Machine learning application flow