Three pitfalls to avoid in machine learning