Chapter 22
Ten Common AI Mistakes to Avoid
IN THIS CHAPTER
Discovering data pitfalls
Thinking critically about evaluation metrics and overfitting
Investigating time-series data and model complexity
Making ethical considerations
In this chapter, you explore ten common sources of AI mistakes. You start by examining some data pitfalls and find where common “data gremlins” like to lurk. You think critically about evaluation metrics for a model and how training and test data can help you catch overfitting. You investigate special circumstances for time-series data (and discover that Daylight Saving Time is the bane of a machine learning engineer’s existence). You explore considerations for model complexity, hyperparameters and resource requirements, and continuous monitoring, and discover how a domain expert helps you catch problems early. Finally, you note some ethical issues to keep an eye on as you create and use AI tools.
Skipping Data Exploration and Quality Checks
It’s really tempting to receive a dataset and start throwing it at a model to get some idea of how it might perform. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access