Home    Personal    Work    Computers    Miscellaneous

Home Page    Resume    Contact

Last.fm tool: Compare user tag clouds

Because of changes over at Last.fm, these scripts are currently out of order. 2015-10-29

With the form below, you can compare two Last.fm users, based on their personal musical tag clouds. This approach is different from the approach used by Last.fm, where users in the population are compared based on the common artists in their playlist. We feel that tag clouds give a better interpretation of musical preferences than other methods (compare Last.fm's own Taste-o-meter), as more descriptive meaning is embedded in tags (like, genres), rather than (often unknown) artists. The script also shows important differences among the tag clouds.

Your username
Friend's username
Based on top 50 artists

Please be patient, the script may require up to two full minutes to process your request. The script needs to download and analyze your profiles and their top 50 artists. Last.fm policy states that we can only make 1 database query per second, and the script's worst case scenario requires 102 requests. Caching is used to lower the load on user (cache = 10 minutes) and artist (cache = 1 week) database requests, so the scripts usually only take ten-something seconds.


The similarity between users Panzerke and Hypnostradamus is high, at


You can notify your friend of your similarity, by copy/pasting the following BBcode to your friend's shoutbox!

Our musical preferences are [url=http://anthony.liekens.net/pub/scripts/last.fm/compare.php?user1=Hypnostradamus&user2=Panzerke&type=overall] 100%[/url] similar!


For each of these users, we construct their tag vectors. A tag vector is a highly dimensional vector where each dimension denotes a tag used for the user's top artists, and the value of the element at that dimension denotes the importance of the tag in the user's listening profile. A tag cloud is the textual depiction of such a tag vector. You can read more about tag clouds here.

To find similarities among users, i.e., the common genres in these users' tag clouds, we construct a new tag vector where each tag's weight is given by the minimum of the tag's weights in the tag vectors of the users. The length of this vector is used to denote the similarity between two users.

Musical tag clouds

The following tag cloud represents the musical preferences of Panzerke (more details).

 Not enough data 

The next tag cloud depicts the profile of Hypnostradamus (more details).

 Not enough data 

Similarity cloud

This tag cloud represents the overlap in musical preferences (similarities have been scaled up for easy reading).

 Not enough data 

Learn more about your profile

I have written a few other scripts based on data in Last.fm user profiles to ...

You're also welcome to visit my profile page on Last.fm and say hi! You can find more online stats in the last.fm Stats group.

All contents copyrighted 2000-2007 Anthony Liekens unless otherwise noted.