DOI: 10.5281/zenodo.6090214
title: lastfm Music Recommendation Dataset

description: This is a common Zenodo repository for both lastfm-360K and lastfm-1K datasets. See below the details of both datasets, including license, acknowledgements, contact, and instructions to cite. <strong>LASTFM-360K (version 1.2, March 2010).</strong> <strong>What is this?</strong> This dataset contains &lt;user, artist, plays&gt; tuples (for ~360,000 users) collected from Last.fm API, using the user.getTopArtists() method. <strong>Files:</strong> usersha1-artmbid-artname-plays.tsv (MD5: be672526eb7c69495c27ad27803148f1) usersha1-profile.tsv (MD5: 51159d4edf6a92cb96f87768aa2be678) mbox_sha1sum.py (MD5: feb3485eace85f3ba62e324839e6ab39) <strong>Data Statistics:</strong> File <em>usersha1-artmbid-artname-plays.tsv</em>: Total Lines: 17,559,530 Unique Users: 359,347 Artists with MBID: 186,642 Artists without MBID: 107,373 <strong>Data Format:</strong> The data is formatted one entry per line as follows (tab separated "\t"): File <em>usersha1-artmbid-artname-plays.tsv</em>: <pre>user-mboxsha1 \t musicbrainz-artist-id \t artist-name \t plays</pre> File <em>usersha1-profile.tsv</em>: <pre>user-mboxsha1 \t gender (m|f|empty) \t age (int|empty) \t country (str|empty) \t signup (date|empty)</pre> <strong>Example:</strong> File <em>usersha1-artmbid-artname-plays.tsv</em>: <pre>000063d3fe1cf2ba248b9e3c3f0334845a27a6be \t a3cb23fc-acd3-4ce0-8f36-1e5aa6a18432 \t u2 \t 31 ...</pre> File <em>usersha1-profile.tsv</em>: <pre>000063d3fe1cf2ba248b9e3c3f0334845a27a6be \t m \t 19 \t Mexico \t Apr 28, 2008 ...</pre> <strong>LASTFM-1K (version 1.0, March 2010).</strong> <strong>What is this?</strong> This dataset contains &lt;user, timestamp, artist, song&gt; tuples collected from Last.fm API, using the user.getRecentTracks() method. This dataset represents the whole listening habits (till May, 5th 2009) for nearly 1,000 users. <strong>Files:</strong> userid-timestamp-artid-artname-traid-traname.tsv (MD5: 64747b21563e3d2aa95751e0ddc46b68) userid-profile.tsv (MD5: c53608b6b445db201098c1489ea497df) <strong>Data Statistics:</strong> File <em>userid-timestamp-artid-artname-traid-traname.tsv:</em> Total Lines: 19,150,868 Unique Users: 992 Artists with MBID: 107,528 Artists without MBDID: 69,420 <strong>Data Format:</strong> The data is formatted one entry per line as follows (tab separated, "\t"): File <em>userid-timestamp-artid-artname-traid-traname.tsv</em>: <pre>userid \t timestamp \t musicbrainz-artist-id \t artist-name \t musicbrainz-track-id \t track-name</pre> File <em>userid-profile.tsv</em>: <pre>userid \t gender ('m'|'f'|empty) \t age (int|empty) \t country (str|empty) \t signup (date|empty)</pre> <strong>Example:</strong> File <em>userid-timestamp-artid-artname-traid-traname.tsv</em>: <pre>user_000639 \t 2009-04-08T01:57:47Z \t MBID \t The Dogs D'Amour \t MBID \t Fall in Love Again? user_000639 \t 2009-04-08T01:53:56Z \t MBID \t The Dogs D'Amour \t MBID \t Wait Until I'm Dead ...</pre> File <em>userid-profile.tsv</em>: <pre>user_000639 \t m \t Mexico \t Apr 27, 2005 ...</pre> <strong>LICENSE OF BOTH DATASETS</strong>. The data contained in both datasets is distributed with permission of Last.fm. The data is made available for non-commercial use. Those interested in using the data or web services in a commercial context should contact: <em>partners [at] last [dot] fm</em> For more information see Last.fm terms of service <strong>ACKNOWLEDGEMENTS. </strong>Thanks to Last.fm for providing the access to this data via their web services. Special thanks to Norman Casagrande. <strong>REFERENCES. </strong>When using this dataset you must reference the Last.fm webpage. Optionally (not mandatory at all!), you can cite <em>Chapter 3</em> of this book: <pre>@book{Celma:Springer2010, author = {Celma, O.}, title = {{Music Recommendation and Discovery in the Long Tail}}, publisher = {Springer}, year = {2010} } </pre> <strong>CONTACT: </strong>This data was collected by Òscar Celma @ MTG/UPF