r/MachineLearning • • Mar 31 '23

News [News] Twitter algorithm now open source

News just released via this Tweet.

Source code here: https://github.com/twitter/the-algorithm

I just listened to Elon Musk and Twitter Engineering talk about it on this Twitter space.

719 Upvotes

151 comments sorted by

View all comments

100

u/Necessary-Meringue-1 Mar 31 '23 edited Apr 01 '23

It's a pretty cool resource to get to look at an enterprise recommendation algorithm like that.

An aside, if you want a chuckle, search the term "Elon" in the repo:https://github.com/twitter/the-algorithm/search?q=elonhttps://github.com/twitter/the-algorithm/search?q=elon&type=issues

[edit 1]
since it's gone now, here's the back up provided by u/MjrK:https://i.imgur.com/jxqaByA.png
[edit 2] lol
https://github.com/twitter/the-algorithm/commit/ec83d01dcaebf369444d75ed04b3625a0a645eb9#diff-a58270fa1b8b745cd0bd311bed9cd24c983de80f96e7bd445e16e88b61e492b8L225

0

u/[deleted] Mar 31 '23

[deleted]

30

u/Necessary-Meringue-1 Mar 31 '23

I think we can safely go with Occam's Razor here. I would assume the "influential celebrity" is the "power_user" type, see: https://i.imgur.com/s6ntUil.png

Either way, I'm not surprised they are giving tweets from Musk their own type. Why wouldn't they. It probably became necessary to deal with his antics.

1

u/cjberra Apr 01 '23

Why would Twitter need to identify American political parties here? Genuine question.

1

u/[deleted] Apr 01 '23

[removed] — view removed comment

1

u/cjberra Apr 01 '23

Probably, just seems quite random it's only US political parties.