Machine-learning methods are starting to shape active-matter research. Which new trends will this start? Which new groundbreaking insight and applications can we expect? More fundamentally, what can this contribute to our understanding of active matter? Can this help us to identify unifying principles and systematise active matter? This presentation addresses some of these questions with some concrete examples, exploring how machine learning is steering active matter towards new directions, offering unprecedented opportunities and posing practical and fundamental challenges. I will illustrate some most successful recent applications of machine learning to active matter with a slight bias towards work done in my research group: enhancing data acquisition and analysis; providing new data-driven models; improving navigation and search strategies; offering insight into the emergent dynamics of active matter in crowded and complex environments. I will discuss the opportunities and challenges that are emerging: implementing feedback control; uncovering underlying principles to systematise active matter; understanding the behaviour, organisation and evolution of biological active matter; realising active matter with embodied intelligence. Finally, I will highlight how active matter and machine learning can work together for mutual benefit.