Question: When one opens badges tab, one can see:

1. Earned
2. Unearned
3. All

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.

Answer: 
I don't think anyone else except of you is interested in your upcoming badged or priveleges, at least not me.

But anyway, anyone can view your upcoming priveleges by going to <https://meta.stackexchange.com/help/privileges/user/225797>.

For you this link is shorter - <https://meta.stackexchange.com/help/privileges>. You can find it in your user profile:

> 
> ![](https://i.stack.imgur.com/PMMRF.png)
> 
> 
> 

Also it is possible to view progress toward some badges, as described [here](https://meta.stackexchange.com/questions/3230/badge-progress-reports).
Just go to <https://stackoverflow.com/help/privileges> 1 2.

You'll see a list of available privileges in descending reputation requirement order, with those you've attained checked. The next privilege you're working toward should be pretty obvious.

As for badges, see: [Badge progress reports](https://meta.stackexchange.com/q/3230/262755)

---

1 Replace `stackoverflow.com` with the domain for whichever other Stack Exchange site you want to see.  

2 This is the destination of the "Privileges" tab on your profile page.