Code Monkey home page Code Monkey logo

music-cs182's Introduction

music-cs182 (Python 2.6)

Set Up

  1. Check the req.txt file and make sure that the right dependancies are installed.

To make the jupyter notebook work:

  1. Download the 1.8GB subset from MSD (https://labrosa.ee.columbia.edu/millionsong/pages/getting-dataset#subset)

  2. If necessary, unzip the downloaded file.

  3. Without modifying the directory name ("MillionSongSubset") or contents of the downloaded data, place the directory in the "./data/MSD" directory in the root.

  4. Cannot get pyechonest. just download the subset here https://labrosa.ee.columbia.edu/millionsong/tasteprofile and put into ./data directory. You can follow the following code to reduce the data set and store as csv:

def reduce_taste_subset(path='./data/FullEchoNestTasteProfileSubset.txt', 
                        to_path='./data/SmallerEchoNestTasteProfileSubset.csv', downsample=0.1):
    data = pd.read_csv(path, sep="\t", header=None)
    data.columns = ['user', 'song', 'play_count']
    data.astype({'user': np.str, 'song': np.str, 'play_count': np.int32})
    data.sample(frac=downsample).to_csv(to_path, index=False)

Collaborative Filtering

Take a look at this paper: http://dx.doi.org/10.1109/ICDM.2008.22

To install spark: https://blog.sicara.com/get-started-pyspark-jupyter-guide-tutorial-ae2fe84f594f

If there are java errors, usually just downloading the latest Java SDK helps.

music-cs182's People

Contributors

daniellengyel avatar lishixuan001 avatar dhruvdevu avatar

Watchers

James Cloos avatar Forrest Huang avatar  avatar  avatar

Forkers

dhruvdevu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.