I've switched domains four or five times now. I started with gamedev, went to finance, then pentesting, then machine learning. The key is to have a strong portfolio. Every successful switch was based on that. Even in areas where you can't really show a portfolio, like pentesting, I was good at it and was able to demonstrate it. It's really that simple. Be good, and show that you're good. Don't wait for someone to sho…
Nice. I've worked for awhile in backend dev and infrastructure/cloudops, and thought about trying to transition to pentesting to try something new. What did you like about it? What did you not like? What made you decide to leave the domain for ML?
But! I also met some of the most interesting and capable people I've worked with. So if you're interested, I encourage you to give it a shot.
As for "why ML," I liked ML and it was full of mystery, which was good enough for me.