When one opens badges tab, one can see:
Most often All badges is too exhaustive and usually users dont read through everything.
Most often what users are interested in is what badge am I slotted to get.
Is it possible to display something called 'upcoming badges or privileges' like for example, a user with 10 rep would have upcoming badge/privelege at 15 (upvote) and user at 45 rep would have upcoming badge at 50 (discussing). Also the user with 900 edits would have an upcoming badge at 1001st edit (just an example). Most badges are just simple numeric calculations like rep > 30, number of edits > 100, etc. So it is definitely possible to display this without using any machine-learning algorithms.
How useful would it really be? That's up for discussion.