Someone should create a wiki to collect these types of math books/resource recommendations.
Basically a definitive list of math for AI/CS with subpages for the various branches (ML, NLP, haskell-esque typed FP, etc) and focused on self-learning or even hobbyist entertainment instead of focused on being good for formal university classes - which is hard to discern from just browsing Amazon reviews which are mostly full of anecdotes from people's old college days.
I remember when I started down the relearning math rabbit hole last year and found so many threads on HN via the search feature recommending different math books in each.
It also doesn't help that there are 100 math books written each year thanks to the backwards university-fueled incentivize systems to write new ones each year.
I ended up spending a ton of time hunting down the best ones for each subject. Which always seems like a great opportunity for optimization if someone takes a crack at it.
Although once you get past the basics of math I've found a good general rule is to get one the Dover [1] math book series for the particular subject. These were written largely in the <1990s but are almost always still relevant and always my favourites. And notably frequently far more succinct than the university professor ones.
https://github.com/sindresorhus/awesome
You can find one for machine learning: