Best practices for machine learning applications