If we look back to our school days in maths classes with Sir getting all excited about teaching the class how to do y = 2x - 2, solve for x.
All your average kid does is quite rightly ask themselves "What's the **ing point, I'll never use this junk in real life".
Then decades later, people like me occasionally find myself (trying to) understand interesting sounding papers on machine learning, but the maths just flies right over my head.
I'm all for a practical approach to teaching. Its more interesting to learn and as a result it leaves you with a higher chance of the theory sticking in the student's head.
Its better than the alternative approach of just whacking students over the head with dry theory books in the hope that some of it sticks.